2012-05-17 07:33:37 +00:00
|
|
|
# Template file for 'poppler-qt4'.
|
|
|
|
pkgname=poppler-qt4
|
2013-10-31 08:12:43 +00:00
|
|
|
version=0.24.3
|
2014-02-17 16:43:52 +00:00
|
|
|
revision=2
|
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
|
|
|
|
--enable-poppler-qt4 --disable-poppler-cpp --disable-utils
|
2013-06-16 16:37:18 +00:00
|
|
|
--disable-static --disable-introspection"
|
2013-04-14 09:13:30 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-06-16 16:37:18 +00:00
|
|
|
makedepends="libpng-devel>=1.5.10 tiff-devel lcms2-devel libcurl-devel
|
|
|
|
fontconfig-devel cairo-devel qt-devel>=4.8.2_2"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="poppler-data qt>=4.8.2_2"
|
2013-09-04 08:38:37 +00:00
|
|
|
short_desc="PDF rendering library - QT bindings"
|
2012-07-17 12:33:07 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://poppler.freedesktop.org"
|
2013-09-04 08:38:37 +00:00
|
|
|
distfiles="${homepage}/poppler-$version.tar.xz"
|
2013-10-31 08:12:43 +00:00
|
|
|
checksum=d2cd02509e458117df7534b60703171d567f26865ab9b7f9c84c53727b35374e
|
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() {
|
2014-02-17 16:43:52 +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
|
|
|
|
vmove usr/lib/pkgconfig/poppler-qt4.pc
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
}
|
|
|
|
}
|