49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
# Forked from Alpine to apply Purism's mobile patches
|
|
pkgname=epiphany
|
|
pkgver=9999_git20210316
|
|
pkgrel=0
|
|
_commit="0a1eb831f18688b33139d8cb166045648cdff02a"
|
|
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"
|
|
depends="gsettings-desktop-schemas dbus:org.freedesktop.Secrets libportal"
|
|
makedepends="meson iso-codes-dev gtk+3.0-dev gsettings-desktop-schemas-dev
|
|
icu-dev json-glib-dev libdazzle-dev libhandy1-dev libnotify-dev libportal-dev libsecret-dev
|
|
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/debs/epiphany/-/archive/$_commit/epiphany-$_commit.tar.gz"
|
|
options="!check" # Broken
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
grep "\.patch$" debian/patches/series \
|
|
| xargs -I {} -t -r -n1 patch -p1 -i debian/patches/{}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
sha512sums="
|
|
0eec142aa6996a0729890b1ca5ec00faa5f5d3ed6a91b867cb52eeb6ca013851f5207f26b8bba062b840dd23ff88119e388cc5b8de3a74cb84b2cef43ebee518 epiphany-0a1eb831f18688b33139d8cb166045648cdff02a.tar.gz
|
|
"
|