2020-09-04 20:06:40 +00:00
|
|
|
# Forked from Alpine to apply Purism's mobile patches
|
|
|
|
pkgname=epiphany
|
2020-10-27 14:52:43 +00:00
|
|
|
pkgver=9999_git20201019
|
2020-09-04 20:06:40 +00:00
|
|
|
pkgrel=0
|
2020-10-27 14:52:43 +00:00
|
|
|
_commit="a14d0fd642b71fdafc639df1330c2ee8d3271089"
|
2020-09-04 20:06:40 +00:00
|
|
|
pkgdesc="A simple, clean, beautiful view of the web"
|
|
|
|
url="https://wiki.gnome.org/Apps/Web"
|
|
|
|
arch="all !s390x !mips !mips64" # libhandy is not available on s390x
|
|
|
|
license="GPL-3.0-or-later"
|
2020-10-27 14:52:43 +00:00
|
|
|
depends="gsettings-desktop-schemas dbus:org.freedesktop.Secrets libportal"
|
2020-09-04 20:06:40 +00:00
|
|
|
makedepends="meson iso-codes-dev gtk+3.0-dev gsettings-desktop-schemas-dev
|
2020-10-27 14:52:43 +00:00
|
|
|
icu-dev json-glib-dev libdazzle-dev libhandy1-dev libnotify-dev libportal-dev libsecret-dev
|
2020-09-04 20:06:40 +00:00
|
|
|
libsoup-dev libxml2-dev nettle-dev sqlite-dev webkit2gtk-dev gcr-dev itstool"
|
|
|
|
checkdepends="appstream-glib desktop-file-utils xvfb-run ibus"
|
|
|
|
subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg"
|
|
|
|
source="https://source.puri.sm/Librem5/epiphany/-/archive/$_commit/epiphany-$_commit.tar.gz"
|
|
|
|
options="!check" # Broken
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--buildtype=plain \
|
|
|
|
. output
|
|
|
|
ninja -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
# https://gitlab.gnome.org/GNOME/epiphany/issues/829
|
|
|
|
env PATH="$PATH:$builddir/output/src" xvfb-run ninja -C output test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" ninja -C output install
|
|
|
|
}
|
|
|
|
|
2020-10-27 14:52:43 +00:00
|
|
|
sha512sums="42081464bd0ab4d3b954de9b0a98e1b69c0adff948a0b1410232cbbd565463b11a38c4ae1f3fd5511f2e9297c151d5aa07fe1c8236848a684686a0714c9a5b3d epiphany-a14d0fd642b71fdafc639df1330c2ee8d3271089.tar.gz"
|