38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
# Template file for 'poppler-qt4'.
|
|
pkgname=poppler-qt4
|
|
version=0.26.0
|
|
revision=1
|
|
wrksrc="poppler-${version}"
|
|
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-cpp --disable-utils
|
|
--disable-static --disable-introspection"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libpng-devel>=1.5.10 tiff-devel lcms2-devel libcurl-devel
|
|
fontconfig-devel cairo-devel qt-devel>=4.8.2_2"
|
|
depends="poppler-data qt>=4.8.2_2"
|
|
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.xz"
|
|
checksum=8547032fc8ff34ba5f47b47eddfe67d0f2ff0ffcdcf5d189f52dc516770c621f
|
|
|
|
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() {
|
|
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
|
|
}
|
|
}
|