aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-10 05:56:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-10 06:39:37 +0000
commiteee044b2714145566c0de0ce5cf22de60e52050a (patch)
treeb8a342dfde6542dd5356e8b99b61e187e56fb263 /main
parentbaabf6cebb349585f1234408df5d8218f3b7cf46 (diff)
downloadaports-eee044b2714145566c0de0ce5cf22de60e52050a.tar.bz2
aports-eee044b2714145566c0de0ce5cf22de60e52050a.tar.xz
main/poppler: upgrade to 0.24.2 and build glib wrapper
Diffstat (limited to 'main')
-rw-r--r--main/poppler/APKBUILD43
1 files changed, 30 insertions, 13 deletions
diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD
index 7911aecf97..21b19b63fb 100644
--- a/main/poppler/APKBUILD
+++ b/main/poppler/APKBUILD
@@ -1,27 +1,27 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-# this aport does not include glib/gtk support in order to break the
-# circular make dependency: gtk <- cups <- poppler <- gtk
-# So we build gtk support in poppler-gtk
+# this aport does not include qt support in order to break the
+# circular make dependency: qt <- cups <- poppler <- qt
+# So we build qt support in separate package poppler-qt4
pkgname=poppler
-pkgver=0.22.1
-pkgrel=1
+pkgver=0.24.2
+pkgrel=0
pkgdesc="PDF rendering library based on xpdf 3.0"
url="http://poppler.freedesktop.org/"
arch="all"
license="GPL"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
-makedepends="libjpeg-turbo-dev cairo-dev libxml2-dev fontconfig-dev libiconv-dev
- lcms-dev"
depends=
-depends_dev="cairo-dev"
-source="http://$pkgname.freedesktop.org/$pkgname-$pkgver.tar.gz"
+depends_dev="cairo-dev glib-dev"
+makedepends="$depends_dev libjpeg-turbo-dev cairo-dev libxml2-dev
+ fontconfig-dev libiconv-dev lcms-dev gobject-introspection-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-utils $pkgname-glib
+ "
+source="http://poppler.freedesktop.org/poppler-$pkgver.tar.xz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- update_config_sub || return 1
}
build() {
@@ -37,7 +37,7 @@ build() {
--enable-xpdf-headers \
--enable-libjpeg \
--enable-zlib \
- --disable-poppler-glib \
+ --enable-poppler-glib \
--disable-poppler-qt4 \
|| return 1
make
@@ -55,4 +55,21 @@ utils() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="50c259fdda538c1ba94b62aa25f7ec87 poppler-0.22.1.tar.gz"
+glib() {
+ pkgdesc="Glib wrapper for poppler"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libpoppler-glib.so.* \
+ "$pkgdir"/usr/lib/girepository* \
+ "$subpkgdir"/usr/lib/ || return 1
+}
+
+_cpp() {
+ pkgdesc="Pure C++ wrapper for poppler"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libpoppler-cpp.so.* \
+ "$subpkgdir"/usr/lib/ || return 1
+}
+
+md5sums="ca5c6e35859db5cd578ce4a351dd589d poppler-0.24.2.tar.xz"
+sha256sums="d3961fc78c4267f144b85bc96c577f693d692e659cdb9b6aa85ac79a63ce8e3b poppler-0.24.2.tar.xz"
+sha512sums="5c3d43d17a8b2f6a0e336457c591a4eb41555fac5fb0cf867bee0cf7237dea571f2a594123acaf2cd6b6f6f9cb03f761a43435d932d611ec07afcd520164c777 poppler-0.24.2.tar.xz"