Date: Friday, April 28, 2017 @ 22:55:53
  Author: heftig
Revision: 295029

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  epiphany/repos/testing-i686/
  epiphany/repos/testing-i686/PKGBUILD
    (from rev 295028, epiphany/trunk/PKGBUILD)
  epiphany/repos/testing-i686/pluginsdir.diff
    (from rev 295028, epiphany/trunk/pluginsdir.diff)
  epiphany/repos/testing-x86_64/
  epiphany/repos/testing-x86_64/PKGBUILD
    (from rev 295028, epiphany/trunk/PKGBUILD)
  epiphany/repos/testing-x86_64/pluginsdir.diff
    (from rev 295028, epiphany/trunk/pluginsdir.diff)

--------------------------------+
 testing-i686/PKGBUILD          |   56 +++++++++++++++++++++++++++++++++++++++
 testing-i686/pluginsdir.diff   |   20 +++++++++++++
 testing-x86_64/PKGBUILD        |   56 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/pluginsdir.diff |   20 +++++++++++++
 4 files changed, 152 insertions(+)

Copied: epiphany/repos/testing-i686/PKGBUILD (from rev 295028, 
epiphany/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2017-04-28 22:55:53 UTC (rev 295029)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=epiphany
+pkgver=3.24.1+2+g0a837ea5c
+pkgrel=1
+pkgdesc="A GNOME web browser based on the WebKit rendering engine"
+url="https://wiki.gnome.org/Apps/Web";
+arch=(i686 x86_64)
+license=(GPL)
+depends=(webkit2gtk gcr gnome-desktop icu)
+makedepends=(intltool itstool docbook-xml startup-notification lsb-release
+             gobject-introspection yelp-tools autoconf-archive appstream-glib 
git)
+groups=(gnome)
+_commit=0a837ea5c1a20b67653a1c52d7fa86f648cc0050  # gnome-3-24
+source=("git+https://git.gnome.org/browse/epiphany#commit=$_commit";
+        "git+https://git.gnome.org/browse/libgd";
+        "git+https://git.gnome.org/browse/gvdb";
+        pluginsdir.diff)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            '3bbd4b36e697a3a9165e0b71d5af566fe96a8f1237d854b9dee9a7e0b9fef8e3')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../pluginsdir.diff
+
+  git submodule init
+  git config --local submodule.libgd.url "$srcdir/libgd"
+  git config --local submodule.gvdb.url "$srcdir/gvdb"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --libexecdir=/usr/lib/$pkgname 
--enable-compile-warnings=yes
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: epiphany/repos/testing-i686/pluginsdir.diff (from rev 295028, 
epiphany/trunk/pluginsdir.diff)
===================================================================
--- testing-i686/pluginsdir.diff                                (rev 0)
+++ testing-i686/pluginsdir.diff        2017-04-28 22:55:53 UTC (rev 295029)
@@ -0,0 +1,20 @@
+--- a/embed/ephy-embed-shell.c
++++ b/embed/ephy-embed-shell.c
+@@ -671,6 +671,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);
+ }
+ 
+--- a/embed/Makefile.am.orig   2017-04-08 12:22:50.192861523 +0000
++++ b/embed/Makefile.am        2017-04-08 12:23:13.926290709 +0000
+@@ -61,6 +61,7 @@
+       -I$(top_srcdir)/lib/widgets             \
+       -I$(top_srcdir)/libgd                   \
+       -DPKGDATADIR=\"$(pkgdatadir)\"          \
++      -DEPHY_PLUGINS_DIR=\""$(libdir)/epiphany/plugins"\" \
+       -DEPHY_WEB_EXTENSIONS_DIR=\"$(pkglibdir)/web-extensions\"       \
+       $(GDK_CFLAGS)                           \
+       $(GIO_CFLAGS)                           \

Copied: epiphany/repos/testing-x86_64/PKGBUILD (from rev 295028, 
epiphany/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2017-04-28 22:55:53 UTC (rev 295029)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=epiphany
+pkgver=3.24.1+2+g0a837ea5c
+pkgrel=1
+pkgdesc="A GNOME web browser based on the WebKit rendering engine"
+url="https://wiki.gnome.org/Apps/Web";
+arch=(i686 x86_64)
+license=(GPL)
+depends=(webkit2gtk gcr gnome-desktop icu)
+makedepends=(intltool itstool docbook-xml startup-notification lsb-release
+             gobject-introspection yelp-tools autoconf-archive appstream-glib 
git)
+groups=(gnome)
+_commit=0a837ea5c1a20b67653a1c52d7fa86f648cc0050  # gnome-3-24
+source=("git+https://git.gnome.org/browse/epiphany#commit=$_commit";
+        "git+https://git.gnome.org/browse/libgd";
+        "git+https://git.gnome.org/browse/gvdb";
+        pluginsdir.diff)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            '3bbd4b36e697a3a9165e0b71d5af566fe96a8f1237d854b9dee9a7e0b9fef8e3')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../pluginsdir.diff
+
+  git submodule init
+  git config --local submodule.libgd.url "$srcdir/libgd"
+  git config --local submodule.gvdb.url "$srcdir/gvdb"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --libexecdir=/usr/lib/$pkgname 
--enable-compile-warnings=yes
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: epiphany/repos/testing-x86_64/pluginsdir.diff (from rev 295028, 
epiphany/trunk/pluginsdir.diff)
===================================================================
--- testing-x86_64/pluginsdir.diff                              (rev 0)
+++ testing-x86_64/pluginsdir.diff      2017-04-28 22:55:53 UTC (rev 295029)
@@ -0,0 +1,20 @@
+--- a/embed/ephy-embed-shell.c
++++ b/embed/ephy-embed-shell.c
+@@ -671,6 +671,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);
+ }
+ 
+--- a/embed/Makefile.am.orig   2017-04-08 12:22:50.192861523 +0000
++++ b/embed/Makefile.am        2017-04-08 12:23:13.926290709 +0000
+@@ -61,6 +61,7 @@
+       -I$(top_srcdir)/lib/widgets             \
+       -I$(top_srcdir)/libgd                   \
+       -DPKGDATADIR=\"$(pkgdatadir)\"          \
++      -DEPHY_PLUGINS_DIR=\""$(libdir)/epiphany/plugins"\" \
+       -DEPHY_WEB_EXTENSIONS_DIR=\"$(pkglibdir)/web-extensions\"       \
+       $(GDK_CFLAGS)                           \
+       $(GIO_CFLAGS)                           \

Reply via email to