diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-24 12:31:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-24 12:31:32 +0000 |
commit | a7d7dc3022e9599d12432a86ac95f9ae5d586c8e (patch) | |
tree | 29dfdb5b185e45984685b4f580bac6850dd07462 /main/poppler-gtk/APKBUILD | |
parent | dd05131056064e64bd0e0638e0dd6809a81840ba (diff) | |
download | aports-a7d7dc3022e9599d12432a86ac95f9ae5d586c8e.tar.bz2 aports-a7d7dc3022e9599d12432a86ac95f9ae5d586c8e.tar.xz |
main/poppler-gtk: grab version from poppler
so we keep in sync
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" |