diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/poppler-gtk/APKBUILD | 15 | ||||
-rw-r--r-- | main/poppler/APKBUILD | 6 |
2 files changed, 12 insertions, 9 deletions
diff --git a/main/poppler-gtk/APKBUILD b/main/poppler-gtk/APKBUILD index 74d9d94a94..d04c1eadab 100644 --- a/main/poppler-gtk/APKBUILD +++ b/main/poppler-gtk/APKBUILD @@ -16,9 +16,9 @@ pkgdesc="PDF rendering library based on xpdf 3.0" url="http://poppler.freedesktop.org/" arch="all" license="GPL" -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-demo" makedepends="jpeg-dev cairo-dev libxml2-dev fontconfig-dev glib-dev gtk+-dev - poppler-dev lcms-dev" + poppler-dev lcms-dev gobject-introspection-dev" depends= replaces="poppler-glib" depends_dev="$makedepends" @@ -39,9 +39,8 @@ build() { --enable-libjpeg \ --enable-zlib \ --enable-poppler-glib \ - --enable-gdk \ + --enable-introspection \ --disable-poppler-qt4 \ - --disable-poppler-qt \ --disable-utils \ || return 1 make || return 1 @@ -55,4 +54,10 @@ package() { find "$pkgdir" -name '*.la' -delete } -md5sums="3afa28e3c8c4f06b0fbca3c91e06394e poppler-0.16.7.tar.gz" +demo() { + pkgdesc="poppler gtk demo" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +md5sums="4cd3bf2a0a13fa8eaf00d31368915f77 poppler-0.18.0.tar.gz" diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD index 0974eefa48..ddabbd26af 100644 --- a/main/poppler/APKBUILD +++ b/main/poppler/APKBUILD @@ -4,7 +4,7 @@ # circular make dependency: gtk <- cups <- poppler <- gtk # So we build gtk support in poppler-gtk pkgname=poppler -pkgver=0.16.7 +pkgver=0.18.0 pkgrel=0 pkgdesc="PDF rendering library based on xpdf 3.0" url="http://poppler.freedesktop.org/" @@ -27,9 +27,7 @@ build() { --enable-libjpeg \ --enable-zlib \ --disable-poppler-glib \ - --disable-gdk \ --disable-poppler-qt4 \ - --disable-poppler-qt \ || return 1 make } @@ -46,4 +44,4 @@ utils() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -md5sums="3afa28e3c8c4f06b0fbca3c91e06394e poppler-0.16.7.tar.gz" +md5sums="4cd3bf2a0a13fa8eaf00d31368915f77 poppler-0.18.0.tar.gz" |