[arch-commits] Commit in evince/repos (4 files)

Jan de Groot jgc at archlinux.org
Sat Apr 8 22:06:52 UTC 2017


    Date: Saturday, April 8, 2017 @ 22:06:52
  Author: jgc
Revision: 292526

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  evince/repos/gnome-unstable-i686/
  evince/repos/gnome-unstable-i686/PKGBUILD
    (from rev 292525, evince/trunk/PKGBUILD)
  evince/repos/gnome-unstable-x86_64/
  evince/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 292525, evince/trunk/PKGBUILD)

--------------------------------+
 gnome-unstable-i686/PKGBUILD   |   63 +++++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD |   63 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

Copied: evince/repos/gnome-unstable-i686/PKGBUILD (from rev 292525, evince/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-04-08 22:06:52 UTC (rev 292526)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=evince
+pkgver=3.24.0+8+ga8363215
+pkgrel=1
+pkgdesc="Document viewer (PDF, Postscript, djvu, tiff, dvi, XPS, SyncTex support with gedit, comics books (cbr,cbz,cb7 and cbt))"
+url="https://wiki.gnome.org/Apps/Evince"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtk3 libgxps libspectre gsfonts poppler-glib djvulibre t1lib dconf
+         libsecret gsettings-desktop-schemas gnome-desktop libarchive
+         gst-plugins-base-libs)
+makedepends=(itstool libnautilus-extension texlive-bin gobject-introspection
+             intltool docbook-xsl python gtk-doc git gnome-common)
+optdepends=('texlive-bin: DVI support'
+	    'gvfs: bookmark support and session saving')
+groups=(gnome)
+options=('!emptydirs')
+_commit=a8363215f1bef942519a194d4589eea16cc51399  # gnome-3-24
+source=("git+https://git.gnome.org/browse/evince#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
+
+build() {
+  cd $pkgname
+
+  BROWSER_PLUGIN_DIR=/usr/lib/epiphany/plugins \
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --disable-static \
+    --enable-compile-warnings=minimum \
+    --enable-introspection \
+    --enable-nautilus \
+    --enable-pdf \
+    --enable-tiff \
+    --enable-djvu \
+    --enable-dvi \
+    --enable-t1lib \
+    --enable-comics \
+    --enable-gtk-doc \
+    --enable-multimedia \
+    --disable-schemas-compile
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: evince/repos/gnome-unstable-x86_64/PKGBUILD (from rev 292525, evince/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-04-08 22:06:52 UTC (rev 292526)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=evince
+pkgver=3.24.0+8+ga8363215
+pkgrel=1
+pkgdesc="Document viewer (PDF, Postscript, djvu, tiff, dvi, XPS, SyncTex support with gedit, comics books (cbr,cbz,cb7 and cbt))"
+url="https://wiki.gnome.org/Apps/Evince"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtk3 libgxps libspectre gsfonts poppler-glib djvulibre t1lib dconf
+         libsecret gsettings-desktop-schemas gnome-desktop libarchive
+         gst-plugins-base-libs)
+makedepends=(itstool libnautilus-extension texlive-bin gobject-introspection
+             intltool docbook-xsl python gtk-doc git gnome-common)
+optdepends=('texlive-bin: DVI support'
+	    'gvfs: bookmark support and session saving')
+groups=(gnome)
+options=('!emptydirs')
+_commit=a8363215f1bef942519a194d4589eea16cc51399  # gnome-3-24
+source=("git+https://git.gnome.org/browse/evince#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
+
+build() {
+  cd $pkgname
+
+  BROWSER_PLUGIN_DIR=/usr/lib/epiphany/plugins \
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --disable-static \
+    --enable-compile-warnings=minimum \
+    --enable-introspection \
+    --enable-nautilus \
+    --enable-pdf \
+    --enable-tiff \
+    --enable-djvu \
+    --enable-dvi \
+    --enable-t1lib \
+    --enable-comics \
+    --enable-gtk-doc \
+    --enable-multimedia \
+    --disable-schemas-compile
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list