diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 7e9617e..56ee8f4 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -7,14 +7,12 @@ pkgdesc="GTK+ client for Matrix written in Rust" arch=(x86_64) url="https://wiki.gnome.org/Apps/Fractal" license=(GPL3) -depends=(gtk3 gst-plugins-base-libs gst-plugin-gtk gst-plugins-bad gst-editing-services gtksourceview4 gspell libhandy0) +depends=(gtk3 gst-plugins-base-libs gst-plugin-gtk gst-plugins-bad gst-editing-services gtksourceview4 gspell libhandy0 openssl-1.1) optdepends=('org.freedesktop.secrets: password storage') -makedepends=(meson rust) +makedepends=(meson rustup) _md5=d4168ac40fd681240964705e000dd353 source=("https://gitlab.gnome.org/GNOME/fractal/uploads/${_md5}/${pkgname}-${pkgver}.tar.xz" - fractal-4.4.0-i18n-meson-fix.patch::https://gitlab.gnome.org/GNOME/fractal/-/commit/6fa1a23596d65d94aa889efe725174e6cd2903f0.patch - fractal-4.4.0-socket2-crates-update.patch - fractal-4.4.0-openssl-crates-update.patch) + fractal-4.4.0-i18n-meson-fix.patch::https://gitlab.gnome.org/GNOME/fractal/-/commit/6fa1a23596d65d94aa889efe725174e6cd2903f0.patch) sha256sums=('65af7912f3d04bd6b2386b023415fef26afc48d256af205256f86396a1415825' 'd417d6fef72d83ac790b22f6264ce36135aa45aea338db1ae6b6a771bf03c550' '3a5ae5c93a86385b6a90fe31f0de0e0630715afd99726006df660022c9c84914' @@ -23,14 +21,14 @@ sha256sums=('65af7912f3d04bd6b2386b023415fef26afc48d256af205256f86396a1415825' prepare() { cd ${pkgname}-${pkgver} patch -p1 -i ../fractal-4.4.0-i18n-meson-fix.patch - patch -p1 -i ../fractal-4.4.0-socket2-crates-update.patch - patch -p1 -i ../fractal-4.4.0-openssl-crates-update.patch - rm .cargo/config # remove config enabling vendoring so updated crates will be downloaded + rustup toolchain install 1.50.0 } build() { cd ${pkgname}-${pkgver} CFLAGS+=' -ffat-lto-objects' + export OPENSSL_LIB_DIR=/usr/lib/openssl-1.1/ + export OPENSSL_INCLUDE_DIR=/usr/include/openssl-1.1/ arch-meson . _build meson compile -C _build }