summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-07-28 01:42:23 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-07-28 01:42:39 +0200
commit2667935f8b09456879f7b48a457a7d11893d192f (patch)
tree1d13f97190fe1236e934890f7cd22611ac54b4fc
parent6854b4415e44fdaa45c6267de2afaab04fb8cf02 (diff)
downloadabslibre-2667935f8b09456879f7b48a457a7d11893d192f.tar.gz
abslibre-2667935f8b09456879f7b48a457a7d11893d192f.tar.bz2
abslibre-2667935f8b09456879f7b48a457a7d11893d192f.zip
libre: epiphany: unbreak armv7h and i686 builds
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--libre/epiphany/PKGBUILD12
1 files 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
}