Date: Wednesday, March 28, 2018 @ 01:11:28 Author: foutrelis Revision: 320470
archrelease: copy trunk to staging-x86_64 Added: epiphany/repos/staging-x86_64/ epiphany/repos/staging-x86_64/PKGBUILD (from rev 320469, epiphany/trunk/PKGBUILD) epiphany/repos/staging-x86_64/pluginsdir.diff (from rev 320469, epiphany/trunk/pluginsdir.diff) -----------------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ pluginsdir.diff | 28 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: epiphany/repos/staging-x86_64/PKGBUILD (from rev 320469, epiphany/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-03-28 01:11:28 UTC (rev 320470) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=epiphany +pkgver=3.28.0.1+4+g051d4f616 +pkgrel=2 +pkgdesc="A GNOME web browser based on the WebKit rendering engine" +url="https://wiki.gnome.org/Apps/Web" +arch=(x86_64) +license=(GPL) +depends=(webkit2gtk gcr libdazzle icu libhttpseverywhere) +makedepends=(itstool docbook-xml startup-notification lsb-release + gobject-introspection yelp-tools appstream-glib git meson) +groups=(gnome) +_commit=051d4f6167651a2de54b5822c5f968f4c236079d # gnome-3-28 +source=("git+https://git.gnome.org/browse/epiphany#commit=$_commit" + pluginsdir.diff) +sha256sums=('SKIP' + 'b6c8ee6ace934c053f2fd89758e0b587cb8953c6b0246c1359aecaae4de70289') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + patch -Np1 -i ../pluginsdir.diff +} + +build() { + arch-meson $pkgname build \ + -D https_everywhere=true \ + -D distributor_name="Arch Linux®" + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} Copied: epiphany/repos/staging-x86_64/pluginsdir.diff (from rev 320469, epiphany/trunk/pluginsdir.diff) =================================================================== --- staging-x86_64/pluginsdir.diff (rev 0) +++ staging-x86_64/pluginsdir.diff 2018-03-28 01:11:28 UTC (rev 320470) @@ -0,0 +1,28 @@ + embed/ephy-embed-shell.c | 1 + + meson.build | 1 + + 2 files changed, 2 insertions(+) + +diff --git c/embed/ephy-embed-shell.c i/embed/ephy-embed-shell.c +index b4837f834..1b5012bae 100644 +--- c/embed/ephy-embed-shell.c ++++ i/embed/ephy-embed-shell.c +@@ -910,6 +910,7 @@ ephy_embed_shell_create_web_context (EphyEmbedShell *shell) + g_free (cache_dir); + + priv->web_context = webkit_web_context_new_with_website_data_manager (manager); ++ webkit_web_context_set_additional_plugins_directory (priv->web_context, EPHY_PLUGINS_DIR); + g_object_unref (manager); + } + +diff --git c/meson.build i/meson.build +index a4a8a36b7..0c98f6c36 100644 +--- c/meson.build ++++ i/meson.build +@@ -25,6 +25,7 @@ conf = configuration_data() + conf.set_quoted('BUILD_ROOT', meson.build_root()) + conf.set_quoted('DISTRIBUTOR_NAME', get_option('distributor_name')) + conf.set_quoted('EPHY_WEB_EXTENSIONS_DIR', webextensionsdir) ++conf.set_quoted('EPHY_PLUGINS_DIR', join_paths(pkglibdir, 'plugins')) + conf.set_quoted('GETTEXT_PACKAGE', meson.project_name()) + conf.set_quoted('ISO_CODES_PREFIX', iso_codes_prefix) + conf.set_quoted('LOCALEDIR', localedir)