aboutsummaryrefslogtreecommitdiffstats
path: root/main/poppler
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/poppler
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/poppler')
-rw-r--r--main/poppler/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD
new file mode 100644
index 0000000000..b93a93105e
--- /dev/null
+++ b/main/poppler/APKBUILD
@@ -0,0 +1,47 @@
+# 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
+pkgname=poppler
+pkgver=0.12.3
+pkgrel=0
+pkgdesc="PDF rendering library based on xpdf 3.0"
+url="http://poppler.freedesktop.org/"
+license="GPL"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
+makedepends="jpeg-dev cairo-dev libxml2-dev fontconfig-dev pkgconfig"
+depends=
+depends_dev="cairo-dev"
+source="http://$pkgname.freedesktop.org/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-cairo-output \
+ --enable-xpdf-headers \
+ --enable-libjpeg \
+ --enable-zlib \
+ --disable-poppler-glib \
+ --disable-gdk \
+ --disable-poppler-qt4 \
+ --disable-poppler-qt \
+ || return 1
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+utils() {
+ pkgdesc="Poppler's xpdf-workalike command line utilities"
+ install -d "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="d0ca8344d8d94e27aaba6d432688365d poppler-0.12.3.tar.gz"