aboutsummaryrefslogtreecommitdiffstats
path: root/community/atril
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 14:50:39 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commite8eb450dabd7174e0559b6b3b4e9f57784f600ad (patch)
treeb6b53a7b723e6122bb9292312dc6bdd9afc63e07 /community/atril
parent7160cd5d4836d9f8d942d139fc20782eb2d5dc72 (diff)
downloadaports-e8eb450dabd7174e0559b6b3b4e9f57784f600ad.tar.bz2
aports-e8eb450dabd7174e0559b6b3b4e9f57784f600ad.tar.xz
community/atril: upgrade to 1.19.3, compiled against gtk3, modernize APKBUILD, added check()
Diffstat (limited to 'community/atril')
-rw-r--r--community/atril/APKBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/community/atril/APKBUILD b/community/atril/APKBUILD
index b4bc854113..c612eb0e26 100644
--- a/community/atril/APKBUILD
+++ b/community/atril/APKBUILD
@@ -1,17 +1,18 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=atril
-pkgver=1.19.0
+pkgver=1.19.3
pkgrel=0
pkgdesc="A document viewer for MATE"
url="https://github.com/mate-desktop/atril"
arch="all"
license="GPLv2"
depends="mate-icon-theme abiword-plugin-epub"
-depends_dev=""
-makedepends="$depends_dev intltool glib-dev gtk+2.0-dev mate-desktop-dev
+# make check is broken: https://github.com/mate-desktop/atril/issues/167
+options="!check"
+makedepends="intltool glib-dev gtk+3.0-dev mate-desktop-dev
dconf-dev libsm-dev libsecret-dev caja-extensions-dev caja-dev
- poppler-dev tiff-dev itstool libxml2-utils libxml2-dev"
+ poppler-dev tiff-dev itstool libxml2-utils libxml2-dev python2-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
@@ -20,13 +21,18 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --sysconfdir=/etc \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
--enable-epub \
- --with-gtk=2.0 \
- --prefix=/usr
- make
+ --with-gtk=3.0 \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
@@ -34,4 +40,4 @@ package() {
make DESTDIR="${pkgdir}" install
}
-sha512sums="1f1b90189665a79542d9ed3ba82174b4cbbc602a14bb5c07a3bfa400657e9c5c108b04a7f76ec5be390cf4b848b6cb8725c01829398e3852b811b8ffa7fe426c atril-1.19.0.tar.xz"
+sha512sums="5b873cb19e754e02da9cf63a5a4bd47fa7bdf77ccfa2312dd4242a51b960f7539a5429207a83134a7e8bdd88ac0b29184631cd27824c5b1974b552b893610332 atril-1.19.3.tar.xz"