2021-10-04 15:58:07 +00:00
|
|
|
# Forked from Alpine to apply adaptability mobile patches
|
2020-09-04 20:06:40 +00:00
|
|
|
pkgname=epiphany
|
2021-10-04 15:58:07 +00:00
|
|
|
pkgver=9999_git20210916
|
2021-12-27 10:10:20 +00:00
|
|
|
_pkgver=41.3
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A simple, clean, beautiful view of the web [$_pkgver]"
|
2020-09-04 20:06:40 +00:00
|
|
|
url="https://wiki.gnome.org/Apps/Web"
|
2021-10-04 15:58:07 +00:00
|
|
|
# s390x, mips64 and riscv64 blocked by rust -> libhandy1
|
|
|
|
arch="all !s390x !mips64 !riscv64"
|
2020-09-04 20:06:40 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2021-10-04 15:58:07 +00:00
|
|
|
depends="gsettings-desktop-schemas dbus:org.freedesktop.Secrets"
|
2020-09-04 20:06:40 +00:00
|
|
|
makedepends="meson iso-codes-dev gtk+3.0-dev gsettings-desktop-schemas-dev
|
2021-10-04 15:58:07 +00:00
|
|
|
icu-dev json-glib-dev libdazzle-dev libhandy1-dev libnotify-dev libsecret-dev
|
|
|
|
libsoup-dev libxml2-dev nettle-dev sqlite-dev webkit2gtk-dev gcr-dev itstool
|
|
|
|
libportal-dev libarchive-dev"
|
2020-09-04 20:06:40 +00:00
|
|
|
checkdepends="appstream-glib desktop-file-utils xvfb-run ibus"
|
2021-10-04 15:58:07 +00:00
|
|
|
options="!check" # Fail due to our webkitgtk patches!
|
2020-09-04 20:06:40 +00:00
|
|
|
subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg"
|
|
|
|
|
2021-10-04 15:58:07 +00:00
|
|
|
_purism_commit="326e2f6b05bf057dc25f3e80c74d617188836c17"
|
|
|
|
_purism_patches="https://source.puri.sm/Librem5/debs/epiphany/-/raw/$_purism_commit/debian/patches"
|
2021-07-19 08:44:10 +00:00
|
|
|
|
2021-10-04 15:58:07 +00:00
|
|
|
source="https://download.gnome.org/sources/epiphany/${_pkgver%.*}/epiphany-$_pkgver.tar.xz
|
|
|
|
$_purism_patches/pureos/Disable-fullscreen.patch
|
2021-12-27 10:10:20 +00:00
|
|
|
0001-Port-to-libportal-0.5.patch
|
2021-10-04 15:58:07 +00:00
|
|
|
"
|
|
|
|
builddir="$srcdir/$pkgname-$_pkgver"
|
2021-07-19 08:44:10 +00:00
|
|
|
|
2020-09-04 20:06:40 +00:00
|
|
|
build() {
|
2021-10-04 15:58:07 +00:00
|
|
|
abuild-meson . output
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
2020-09-04 20:06:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
# https://gitlab.gnome.org/GNOME/epiphany/issues/829
|
2021-10-04 15:58:07 +00:00
|
|
|
env PATH="$PATH:$builddir/output/src" xvfb-run meson test --no-rebuild -v -C output
|
2020-09-04 20:06:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-10-04 15:58:07 +00:00
|
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
2020-09-04 20:06:40 +00:00
|
|
|
}
|
|
|
|
|
2021-07-19 08:44:10 +00:00
|
|
|
sha512sums="
|
2021-12-27 10:10:20 +00:00
|
|
|
1effef22291687c8ff2252eced24274db3b1f4afacfc3053a33cae85112759918f80d824bb02b7e17d95364eec0062cb3459a6079783d9c900874cc150ea98ba epiphany-41.3.tar.xz
|
2021-10-04 15:58:07 +00:00
|
|
|
63290c9b52751e4adc324e5f39790ae809fe77067371c15e757e53244706e84063781e4ac9d38c892e0bf616c9dea0414157ba5db4c93a4523d291527603f56f Disable-fullscreen.patch
|
2021-12-27 10:10:20 +00:00
|
|
|
46b0c50c37ed5a10bb2bfdaffa8c2244eb34233e3446f08e8257340f60cee4797dd3dee37fb56005ddba1305b1708b14895983386a7d9ca0b868396aeda992ef 0001-Port-to-libportal-0.5.patch
|
2021-07-19 08:44:10 +00:00
|
|
|
"
|