2012-05-17 09:33:37 +02:00
|
|
|
# Template file for 'poppler-qt4'.
|
|
|
|
pkgname=poppler-qt4
|
2013-06-16 18:37:18 +02:00
|
|
|
version=0.22.3
|
2012-10-11 10:43:04 +02:00
|
|
|
revision=2
|
2012-05-17 09:33:37 +02:00
|
|
|
wrksrc="poppler-${version}"
|
2012-07-17 14:33:07 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-zlib --enable-libcurl --enable-libjpeg
|
2012-10-11 10:43:04 +02:00
|
|
|
--enable-libtiff --disable-libopenjpeg --enable-cairo-output
|
|
|
|
--enable-xpdf-headers --disable-gtk-test --disable-poppler-glib
|
|
|
|
--enable-poppler-qt4 --disable-poppler-cpp --disable-utils
|
2013-06-16 18:37:18 +02:00
|
|
|
--disable-static --disable-introspection"
|
2013-04-14 11:13:30 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-06-16 18:37:18 +02:00
|
|
|
makedepends="libpng-devel>=1.5.10 tiff-devel lcms2-devel libcurl-devel
|
|
|
|
fontconfig-devel cairo-devel qt-devel>=4.8.2_2"
|
2012-07-17 14:33:07 +02:00
|
|
|
short_desc="PDF rendering library -- QT bindings"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://poppler.freedesktop.org"
|
|
|
|
distfiles="${homepage}/poppler-$version.tar.gz"
|
2013-06-16 18:37:18 +02:00
|
|
|
checksum=916a931cbef951366014f13d5f4a574657ccc064ac41051df96dd58e22934431
|
2012-07-17 14:33:07 +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
|
|
|
|
forward in a number of areas that doesn't fit within the goals of xpdf.
|
2012-05-17 09:33:37 +02:00
|
|
|
|
|
|
|
This package contains the poppler QT 4 bindings."
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -f ${DESTDIR}/usr/lib/libpoppler.*
|
|
|
|
for f in poppler-cairo poppler-splash poppler; do
|
|
|
|
rm -f ${DESTDIR}/usr/lib/pkgconfig/${f}.pc
|
|
|
|
done
|
|
|
|
}
|
2013-04-14 11:13:30 +02:00
|
|
|
|
|
|
|
poppler-qt4-devel_package() {
|
2013-06-16 18:37:18 +02:00
|
|
|
depends="poppler-devel>=${version} ${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/poppler/qt4
|
|
|
|
vmove usr/lib/pkgconfig/poppler-qt4.pc
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
poppler-qt4_package() {
|
|
|
|
depends="poppler-data qt>=4.8.2_2"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|