Date: Thursday, October 5, 2017 @ 09:30:43
  Author: foutrelis
Revision: 261616

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  atril/repos/community-staging-i686/
  atril/repos/community-staging-i686/PKGBUILD
    (from rev 261615, atril/trunk/PKGBUILD)
  atril/repos/community-staging-x86_64/
  atril/repos/community-staging-x86_64/PKGBUILD
    (from rev 261615, atril/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: atril/repos/community-staging-i686/PKGBUILD (from rev 261615, 
atril/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-10-05 09:30:43 UTC (rev 261616)
@@ -0,0 +1,51 @@
+# Contributor: Martin Wimpress <[email protected]>
+
+pkgname=atril
+pkgver=1.18.1
+pkgrel=2
+pkgdesc="MATE document viewer"
+url="http://mate-desktop.org";
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 
'webkit2gtk')
+makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
+optdepends=('caja: Document Properties extension'
+            'texlive-bin: DVI support')
+groups=('mate-extra')
+conflicts=('atril-gtk3')
+replaces=('atril-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz";)
+sha1sums=('f91ae6b1a3c461634604f7b0ed05327fdcddc32a')
+
+prepare() {
+    cd $pkgname-$pkgver
+
+    # Fix mathjax path
+    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' 
backend/epub/epub-document.c
+}
+
+build() {
+    cd $pkgname-$pkgver
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-djvu \
+        --enable-dvi \
+        --enable-epub \
+        --enable-t1lib \
+        --enable-pixbuf \
+        --enable-comics \
+        --enable-xps \
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd $pkgname-$pkgver
+    make DESTDIR="$pkgdir" install
+}

Copied: atril/repos/community-staging-x86_64/PKGBUILD (from rev 261615, 
atril/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-10-05 09:30:43 UTC (rev 261616)
@@ -0,0 +1,51 @@
+# Contributor: Martin Wimpress <[email protected]>
+
+pkgname=atril
+pkgver=1.18.1
+pkgrel=2
+pkgdesc="MATE document viewer"
+url="http://mate-desktop.org";
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 
'webkit2gtk')
+makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
+optdepends=('caja: Document Properties extension'
+            'texlive-bin: DVI support')
+groups=('mate-extra')
+conflicts=('atril-gtk3')
+replaces=('atril-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz";)
+sha1sums=('f91ae6b1a3c461634604f7b0ed05327fdcddc32a')
+
+prepare() {
+    cd $pkgname-$pkgver
+
+    # Fix mathjax path
+    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' 
backend/epub/epub-document.c
+}
+
+build() {
+    cd $pkgname-$pkgver
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-djvu \
+        --enable-dvi \
+        --enable-epub \
+        --enable-t1lib \
+        --enable-pixbuf \
+        --enable-comics \
+        --enable-xps \
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd $pkgname-$pkgver
+    make DESTDIR="$pkgdir" install
+}

Reply via email to