diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-06-21 02:17:30 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-21 21:04:40 -0300 |
commit | bdb5d6fbe580e262adfe1b33c6aceae591935dee (patch) | |
tree | 05200ed9ca29dac7283c406d2f17f3f30aa39020 /testing/epiphany | |
parent | 5649f489c9f9ef51e7490269b1ac42e62c5ba922 (diff) | |
download | aports-bdb5d6fbe580e262adfe1b33c6aceae591935dee.tar.bz2 aports-bdb5d6fbe580e262adfe1b33c6aceae591935dee.tar.xz |
testing/epiphany: move from unmaintained
* Modernize
* Fix tests
* Use meson
* Adopt maintanership
* Fix license
Diffstat (limited to 'testing/epiphany')
-rw-r--r-- | testing/epiphany/APKBUILD | 39 | ||||
-rw-r--r-- | testing/epiphany/disable-faulty-test.patch | 27 |
2 files changed, 66 insertions, 0 deletions
diff --git a/testing/epiphany/APKBUILD b/testing/epiphany/APKBUILD new file mode 100644 index 0000000000..42dcb2f0fa --- /dev/null +++ b/testing/epiphany/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=epiphany +pkgver=3.32.3 +pkgrel=0 +pkgdesc="A simple, clean, beautiful view of the web" +url="https://wiki.gnome.org/Apps/Web" +arch="all" +license="GPL-3.0-or-later" +depends="gsettings-desktop-schemas" +makedepends="meson iso-codes-dev gtk+3.0-dev gsettings-desktop-schemas-dev + icu-dev json-glib-dev libdazzle-dev libhandy-dev libnotify-dev libsecret-dev + libsoup-dev libxml2-dev nettle-dev sqlite-dev webkit2gtk-dev gcr-dev itstool" +checkdepends="appstream-glib desktop-file-utils xvfb-run" +subpackages="$pkgname-lang $pkgname-doc" +source="https://download.gnome.org/sources/epiphany/${pkgver%.*}/epiphany-${pkgver}.tar.xz + disable-faulty-test.patch" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + xvfb-run ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="1b5c6d101d86fae4d91f68560e0ab91b1ebdf3bfa93c82ca61392a62ff31e94aef821d65af92c2382c380c77f892eeb07bb125dce34c1aab67b96d24f6d44c8f epiphany-3.32.3.tar.xz +ab8ceffd38a00217704bb9e0e0e514cb2aecc4ace2e8caf0f8cb8bf6468e347ed5cb4e87f0120a86e25f9a0b8fa58de499e9a2e1c2d8f5386c9189ba9752e211 disable-faulty-test.patch" diff --git a/testing/epiphany/disable-faulty-test.patch b/testing/epiphany/disable-faulty-test.patch new file mode 100644 index 0000000000..285c102121 --- /dev/null +++ b/testing/epiphany/disable-faulty-test.patch @@ -0,0 +1,27 @@ +See: https://gitlab.gnome.org/GNOME/epiphany/issues/829 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -150,14 +150,15 @@ + env: envs, + ) + +- web_app_utils_test = executable('test-ephy-web-app-utils', +- 'ephy-web-app-utils-test.c', +- dependencies: ephymain_dep +- ) +- test('Web app utils test', +- web_app_utils_test, +- env: envs +- ) ++ # FIXME: https://gitlab.gnome.org/GNOME/epiphany/issues/829 ++ # web_app_utils_test = executable('test-ephy-web-app-utils', ++ # 'ephy-web-app-utils-test.c', ++ # dependencies: ephymain_dep ++ # ) ++ # test('Web app utils test', ++ # web_app_utils_test, ++ # env: envs ++ # ) + + # FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=780280 + # web_view_test = executable('test-ephy-web-view', |