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

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


    Date: Sunday, August 7, 2016 @ 08:02:28
  Author: bgyorgy
Revision: 185739

upgpkg: atril 1.14.1-1

Update to new version

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

---------------+
 PKGBUILD      |   35 +++++++++++++++++++----------------
 atril.install |   13 -------------
 2 files changed, 19 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-06 23:12:35 UTC (rev 185738)
+++ PKGBUILD	2016-08-07 08:02:28 UTC (rev 185739)
@@ -1,29 +1,30 @@
-# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.12
+_ver=1.14
 _pkgbase=atril
 pkgname=(${_pkgbase})
-pkgver=${_ver}.2
+pkgver=${_ver}.1
 pkgrel=1
 pkgdesc="MATE document viewer (GTK2 version)"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk2' 'libsecret' 'libsm' 'libspectre'
-         'mate-desktop>=1.12' 'mathjax' 'poppler-glib' 'webkitgtk2' 'zlib')
-makedepends=('caja>=1.12' 'djvulibre' 'gobject-introspection' 'libgxps'
-             'mate-common' 'texlive-bin' 'yelp-tools')
+depends=('mate-desktop' 'djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkitgtk2')
+makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
 optdepends=('caja: 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')
 conflicts=("${_pkgbase}-gtk3")
 source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('c8d9ecf779f398439d67899e31722dd15d8b3b85')
-install=${_pkgbase}.install
+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=2.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
 }
 

Deleted: atril.install
===================================================================
--- atril.install	2016-08-06 23:12:35 UTC (rev 185738)
+++ atril.install	2016-08-07 08:02:28 UTC (rev 185739)
@@ -1,13 +0,0 @@
-post_install() {
-    glib-compile-schemas /usr/share/glib-2.0/schemas/
-    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-    update-desktop-database -q
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}



More information about the arch-commits mailing list