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

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


    Date: Sunday, August 7, 2016 @ 08:03:02
  Author: bgyorgy
Revision: 185742

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

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

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

Copied: atril-gtk3/repos/community-staging-i686/PKGBUILD (from rev 185741, atril-gtk3/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-08-07 08:03:02 UTC (rev 185742)
@@ -0,0 +1,52 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.14
+_pkgbase=atril
+pkgname=(${_pkgbase}-gtk3)
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="MATE document viewer (GTK3 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+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'
+            'texlive-bin: DVI support')
+groups=('mate-extra-gtk3')
+conflicts=("${_pkgbase}")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+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 \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=3.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 "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: atril-gtk3/repos/community-staging-x86_64/PKGBUILD (from rev 185741, atril-gtk3/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-08-07 08:03:02 UTC (rev 185742)
@@ -0,0 +1,52 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.14
+_pkgbase=atril
+pkgname=(${_pkgbase}-gtk3)
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="MATE document viewer (GTK3 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+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'
+            'texlive-bin: DVI support')
+groups=('mate-extra-gtk3')
+conflicts=("${_pkgbase}")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+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 \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=3.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 "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list