From 2667935f8b09456879f7b48a457a7d11893d192f Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 28 Jul 2022 01:42:23 +0200 Subject: libre: epiphany: unbreak armv7h and i686 builds Signed-off-by: Denis 'GNUtoo' Carikli --- libre/epiphany/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libre/epiphany/PKGBUILD b/libre/epiphany/PKGBUILD index 965110803..77dfcb522 100644 --- a/libre/epiphany/PKGBUILD +++ b/libre/epiphany/PKGBUILD @@ -15,7 +15,7 @@ pkgname=epiphany pkgver=42.3 -pkgrel=1 +pkgrel=2 pkgrel+=.parabola1 pkgdesc="A GNOME web browser based on the WebKit rendering engine" pkgdesc+=", with DuckDuckGo-HTML search" @@ -23,7 +23,9 @@ url="https://wiki.gnome.org/Apps/Web" arch=(x86_64) arch+=(i686 armv7h) license=(GPL) -depends=(webkit2gtk-4.1 gcr icu libdazzle libhandy libarchive libportal-gtk3) +depends=(webkit2gtk-4.1 gcr icu libdazzle libhandy libarchive) +# we don't have libportal-gtk3 yet on armv7h and i686 +depends_x86_64+=(libportal-gtk3) depends=( $( sed 's| icu | |' <<<${depends[@]} ) ) depends+=(libhogweed.so) makedepends=(docbook-xml startup-notification lsb-release gobject-introspection @@ -53,7 +55,11 @@ prepare() { } build() { - arch-meson $pkgname build -D soup2=disabled + if [ "${CARCH}" = "x86_64" ] ; then + arch-meson $pkgname build -D soup2=disabled + else + arch-meson $pkgname build -D soup2=disabled -D libportal=disabled + fi meson compile -C build } -- cgit v1.2.3