2014-11-29 22:32:23 +00:00
|
|
|
# Template file for 'poppler-qt4'
|
|
|
|
#
|
|
|
|
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/poppler"; IT IS SPLITTED TO AVOID
|
|
|
|
# A CYCLIC DEPENDENCY: qt -> cups -> poppler -> qt.
|
|
|
|
#
|
2012-05-17 07:33:37 +00:00
|
|
|
pkgname=poppler-qt4
|
2015-03-11 15:00:25 +00:00
|
|
|
version=0.32.0
|
|
|
|
revision=1
|
2012-05-17 07:33:37 +00:00
|
|
|
wrksrc="poppler-${version}"
|
2012-07-17 12:33:07 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-zlib --enable-libcurl --enable-libjpeg
|
2012-10-11 08:43:04 +00:00
|
|
|
--enable-libtiff --disable-libopenjpeg --enable-cairo-output
|
|
|
|
--enable-xpdf-headers --disable-gtk-test --disable-poppler-glib
|
2014-11-29 22:32:23 +00:00
|
|
|
--enable-poppler-qt4 --disable-poppler-qt5 --disable-poppler-cpp
|
|
|
|
--disable-utils --disable-static --disable-introspection"
|
2013-04-14 09:13:30 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="libpng-devel tiff-devel lcms2-devel libcurl-devel
|
2014-11-29 22:32:23 +00:00
|
|
|
fontconfig-devel cairo-devel qt-devel"
|
|
|
|
short_desc="PDF rendering library - Qt4 bindings"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-07-17 12:33:07 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://poppler.freedesktop.org"
|
2013-09-04 08:38:37 +00:00
|
|
|
distfiles="${homepage}/poppler-$version.tar.xz"
|
2015-03-11 15:00:25 +00:00
|
|
|
checksum=4963e31ba5e17530a87b16588e22928bc044e8d28d02303dded981bff6725b98
|
2012-05-17 07:33:37 +00:00
|
|
|
|
|
|
|
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 09:13:30 +00:00
|
|
|
|
|
|
|
poppler-qt4-devel_package() {
|
2015-03-04 00:10:46 +00:00
|
|
|
depends="poppler-devel>=${version} ${sourcepkg}-${version}_${revision}"
|
2013-06-16 16:37:18 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 09:13:30 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/poppler/qt4
|
2015-03-03 22:54:55 +00:00
|
|
|
vmove usr/lib/libpoppler-qt4.so
|
2013-04-14 09:13:30 +00:00
|
|
|
vmove usr/lib/pkgconfig/poppler-qt4.pc
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
}
|
|
|
|
}
|