void-packages/srcpkgs/poppler-qt4/template

43 lines
1.4 KiB
Text
Raw Normal View History

# 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.
#
pkgname=poppler-qt4
version=0.28.1
2014-04-29 06:15:58 +00:00
revision=1
wrksrc="poppler-${version}"
2012-07-17 12:33:07 +00:00
build_style=gnu-configure
configure_args="--enable-zlib --enable-libcurl --enable-libjpeg
--enable-libtiff --disable-libopenjpeg --enable-cairo-output
--enable-xpdf-headers --disable-gtk-test --disable-poppler-glib
--enable-poppler-qt4 --disable-poppler-qt5 --disable-poppler-cpp
--disable-utils --disable-static --disable-introspection"
hostmakedepends="pkg-config"
makedepends="libpng-devel>=1.6 tiff-devel lcms2-devel libcurl-devel
fontconfig-devel cairo-devel qt-devel"
short_desc="PDF rendering library - Qt4 bindings"
2012-07-17 12:33:07 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://poppler.freedesktop.org"
2014-11-27 08:04:32 +00:00
update_pkgname=poppler
distfiles="${homepage}/poppler-$version.tar.xz"
checksum=2ccf6e234209aa5082ba99d3547e6798cd8758e7a921c72c00aedf0d5793fd06
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
}
poppler-qt4-devel_package() {
2014-02-17 16:43:52 +00:00
depends="poppler-devel>=${version} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/poppler/qt4
vmove usr/lib/pkgconfig/poppler-qt4.pc
rm -rf ${DESTDIR}/usr/include
}
}