2008-10-10 09:05:01 +02:00
|
|
|
# Template build file for 'poppler'.
|
|
|
|
pkgname=poppler
|
2013-03-30 10:24:25 +01:00
|
|
|
version=0.22.2
|
2013-04-12 19:13:19 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-21 16:29:34 +02:00
|
|
|
configure_args="--enable-zlib --enable-libcurl --enable-libjpeg
|
2012-05-16 15:46:15 +02:00
|
|
|
--enable-libtiff --disable-libopenjpeg --enable-cairo-output
|
2012-05-17 09:38:39 +02:00
|
|
|
--enable-xpdf-headers --disable-poppler-qt4 --disable-gtk-test"
|
2013-04-14 16:21:58 +02:00
|
|
|
hostmakedepends="pkg-config poppler-data"
|
|
|
|
makedepends="libglib-devel cairo-devel gobject-introspection tiff-devel lcms2-devel libcurl-devel"
|
2008-10-10 09:05:01 +02:00
|
|
|
short_desc="PDF rendering library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-21 16:29:34 +02:00
|
|
|
license="GPL-2"
|
2012-06-06 00:28:12 +02:00
|
|
|
homepage="http://poppler.freedesktop.org"
|
|
|
|
distfiles="${homepage}/$pkgname-$version.tar.gz"
|
2013-03-30 10:24:25 +01:00
|
|
|
checksum=108736ef84069317f6c5beacb5268f3b799ecf401e353e239611772eae8a662d
|
2008-10-10 09:05:01 +02:00
|
|
|
long_desc="
|
|
|
|
This is poppler, a PDF rendering library. It is a fork of the xpdf
|
|
|
|
3.0 PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
|
|
|
|
|
|
|
Poppler provides PDF rendering functionality as a shared library,
|
|
|
|
to centralize the maintenence effort and to reduce duplicated
|
|
|
|
effort. And the poppler developers would like to move libpoppler
|
2012-06-06 00:28:12 +02:00
|
|
|
forward in a number of areas that doesn't fit within the goals of xpdf."
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
poppler-cpp-devel_package() {
|
|
|
|
depends="libstdc++-devel zlib-devel poppler-devel>=${version}"
|
|
|
|
short_desc+=" -- C++ bindings (development files)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/poppler/cpp
|
|
|
|
vmove usr/lib/libpoppler-cpp.a
|
|
|
|
vmove usr/lib/pkgconfig/poppler-cpp.pc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler-cpp_package() {
|
|
|
|
short_desc+=" -- C++ bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libpoppler-cpp.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler-devel_package() {
|
|
|
|
depends="glib-devel poppler>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/include/poppler/*.h"
|
|
|
|
vmove usr/include/poppler/splash
|
|
|
|
vmove usr/include/poppler/fofi
|
|
|
|
vmove usr/include/poppler/goo
|
|
|
|
vmove usr/lib/libpoppler.a
|
|
|
|
vmove usr/lib/pkgconfig/poppler.pc
|
|
|
|
vmove usr/lib/pkgconfig/poppler-splash.pc
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler-glib-devel_package() {
|
|
|
|
depends="poppler-devel>=${version} poppler-glib>=${version}"
|
|
|
|
short_desc+=" -- GLib bindings (development files)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/poppler/glib
|
|
|
|
vmove usr/lib/libpoppler-glib.a
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/lib/pkgconfig/poppler-cairo.pc
|
|
|
|
vmove usr/lib/pkgconfig/poppler-glib.pc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler-glib_package() {
|
|
|
|
short_desc+=" -- GLib bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libpoppler-glib.so*"
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler-utils_package() {
|
|
|
|
short_desc+=" -- utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share/man
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler_package() {
|
|
|
|
depends="poppler-data"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|