diff options
Diffstat (limited to 'main/poppler-gtk/APKBUILD')
-rw-r--r-- | main/poppler-gtk/APKBUILD | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/main/poppler-gtk/APKBUILD b/main/poppler-gtk/APKBUILD index 81e9c6f967..208054fa24 100644 --- a/main/poppler-gtk/APKBUILD +++ b/main/poppler-gtk/APKBUILD @@ -2,10 +2,16 @@ # this aport only includes glib/gtk support in order to break the # circular make dependency: gtk <- cups <- poppler <- gtk + +# get the pkgver from poppler +if [ -r ../poppler/APKBUILD ]; then + . ../poppler/APKBUILD +fi + pkgname=poppler-gtk _realname=poppler -pkgver=0.12.4 -pkgrel=1 +pkgver=$pkgver +pkgrel=0 pkgdesc="PDF rendering library based on xpdf 3.0" url="http://poppler.freedesktop.org/" license="GPL" @@ -17,6 +23,10 @@ replaces="poppler-glib" depends_dev="cairo-dev glib-dev gtk+-dev poppler-dev" source="http://poppler.freedesktop.org/poppler-$pkgver.tar.gz" +prepare() { + return 0 +} + build() { cd "$srcdir"/$_realname-$pkgver ./configure --prefix=/usr \ @@ -34,9 +44,13 @@ build() { --disable-utils \ || return 1 make || return 1 +} + +package() { + cd "$srcdir"/$_realname-$pkgver install -D -m644 poppler-glib.pc "$pkgdir"/usr/lib/pkgconfig/poppler-glib.pc cd glib make DESTDIR="$pkgdir" install || return 1 } -md5sums="4155346f9369b192569ce9184ff73e43 poppler-0.12.4.tar.gz" +md5sums="76f003b8fa2b905674088c306aa857c5 poppler-0.14.0.tar.gz" |