[arch-commits] Commit in epiphany/repos (3 files)

Felix Yan felixonmars at archlinux.org
Mon Aug 6 19:55:48 UTC 2018


    Date: Monday, August 6, 2018 @ 19:55:48
  Author: felixonmars
Revision: 331037

archrelease: copy trunk to staging-x86_64

Added:
  epiphany/repos/staging-x86_64/
  epiphany/repos/staging-x86_64/PKGBUILD
    (from rev 331036, epiphany/trunk/PKGBUILD)
  epiphany/repos/staging-x86_64/pluginsdir.diff
    (from rev 331036, epiphany/trunk/pluginsdir.diff)

-----------------+
 PKGBUILD        |   39 +++++++++++++++++++++++++++++++++++++++
 pluginsdir.diff |   28 ++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

Copied: epiphany/repos/staging-x86_64/PKGBUILD (from rev 331036, epiphany/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-06 19:55:48 UTC (rev 331037)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=epiphany
+pkgver=3.28.3.1
+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 icu)
+makedepends=(itstool docbook-xml startup-notification lsb-release
+             gobject-introspection yelp-tools appstream-glib git meson)
+groups=(gnome)
+_commit=a5a9a7e2904e2206b3cc863ab13748255247e3eb  # tags/3.28.3.1^0
+source=("git+https://gitlab.gnome.org/GNOME/epiphany.git#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 distributor_name="Arch Linux®"
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}

Copied: epiphany/repos/staging-x86_64/pluginsdir.diff (from rev 331036, epiphany/trunk/pluginsdir.diff)
===================================================================
--- staging-x86_64/pluginsdir.diff	                        (rev 0)
+++ staging-x86_64/pluginsdir.diff	2018-08-06 19:55:48 UTC (rev 331037)
@@ -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)



More information about the arch-commits mailing list