diff options
Diffstat (limited to 'main/poppler-gtk')
-rw-r--r-- | main/poppler-gtk/APKBUILD | 15 |
1 files changed, 10 insertions, 5 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" |