[arch-commits] Commit in evince/trunk (PKGBUILD evince.install)

Jan Steffens heftig at archlinux.org
Mon May 9 00:51:54 UTC 2016


    Date: Monday, May 9, 2016 @ 02:51:53
  Author: heftig
Revision: 267247

3.20.0-2

Modified:
  evince/trunk/PKGBUILD
Deleted:
  evince/trunk/evince.install

----------------+
 PKGBUILD       |   37 +++++++++++++++++++++++++------------
 evince.install |   13 -------------
 2 files changed, 25 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-09 00:47:48 UTC (rev 267246)
+++ PKGBUILD	2016-05-09 00:51:53 UTC (rev 267247)
@@ -3,17 +3,19 @@
 
 pkgname=evince
 pkgver=3.20.0
-pkgrel=1
+pkgrel=2
 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 libsecret desktop-file-utils dconf gsettings-desktop-schemas gnome-desktop libarchive)
-makedepends=(itstool libnautilus-extension texlive-bin intltool gobject-introspection docbook-xsl python)
+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)
 optdepends=('texlive-bin: DVI support'
 	    'gvfs: bookmark support and session saving')
 groups=(gnome)
-install=evince.install
 options=('!emptydirs')
 source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
 sha256sums=('cf8358a453686c2a7f85d245f83fe918c0ce02eb6532339f3e02e31249a5a280')
@@ -20,15 +22,26 @@
 
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr   --sysconfdir=/etc \
-      --localstatedir=/var    --libexecdir=/usr/lib/evince \
-      --disable-static        --enable-nautilus \
-      --enable-pdf            --enable-tiff \
-      --enable-djvu           --enable-dvi \
-      --enable-t1lib          --enable-comics \
-      --disable-schemas-compile \
-      --enable-introspection --disable-browser-plugin
+
+  ./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 \
+    --disable-browser-plugin
+
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 

Deleted: evince.install
===================================================================
--- evince.install	2016-05-09 00:47:48 UTC (rev 267246)
+++ evince.install	2016-05-09 00:51:53 UTC (rev 267247)
@@ -1,13 +0,0 @@
-post_install() {
-  glib-compile-schemas /usr/share/glib-2.0/schemas
-  update-desktop-database -q
-  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}



More information about the arch-commits mailing list