[arch-commits] Commit in atril-gtk3/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Aug 7 08:02:56 UTC 2016


    Date: Sunday, August 7, 2016 @ 08:02:56
  Author: bgyorgy
Revision: 185741

upgpkg: atril-gtk3 1.14.1-1

Update to new version

Modified:
  atril-gtk3/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-07 08:02:33 UTC (rev 185740)
+++ PKGBUILD	2016-08-07 08:02:56 UTC (rev 185741)
@@ -1,29 +1,30 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.12
+_ver=1.14
 _pkgbase=atril
 pkgname=(${_pkgbase}-gtk3)
-pkgver=${_ver}.2
-pkgrel=2
-pkgdesc="MATE document viewer (GTK3 version [EXPERIMENTAL])"
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="MATE document viewer (GTK3 version)"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk3' 'libsecret' 'libsm' 'libspectre'
-         'mate-desktop-gtk3>=1.12' 'mathjax' 'poppler-glib' 'webkit2gtk' 'zlib')
-makedepends=('caja-gtk3>=1.12' 'djvulibre' 'gobject-introspection' 'libgxps'
-             'mate-common' 'texlive-bin' 'yelp-tools')
+depends=('mate-desktop-gtk3' 'djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk')
+makedepends=('caja-gtk3' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
 optdepends=('caja-gtk3: Document Properties extension'
-            'djvulibre: DjVu support'
-            'libgxps: XPS support'
-            'texlive-bin: DVI support'
-            'yelp: for reading MATE help documents')
+            'texlive-bin: DVI support')
 groups=('mate-extra-gtk3')
 conflicts=("${_pkgbase}")
 source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('c8d9ecf779f398439d67899e31722dd15d8b3b85')
+sha1sums=('7e1cd353202e9ae4a5ad63b093572d140dd0a7c3')
 
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+    # Fix mathjax path
+    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
+}
+
 build() {
     cd "${srcdir}/${_pkgbase}-${pkgver}"
     ./configure \
@@ -30,7 +31,6 @@
         --prefix=/usr \
         --libexecdir=/usr/lib/${_pkgbase} \
         --with-gtk=3.0 \
-        --enable-gtk-doc \
         --enable-djvu \
         --enable-dvi \
         --enable-epub \
@@ -38,8 +38,11 @@
         --enable-pixbuf \
         --enable-comics \
         --enable-xps \
-        --enable-introspection \
-        --disable-static
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
     make
 }
 



More information about the arch-commits mailing list