poppler: update to 0.12.4, add -qt4{,-devel} subpkgs.
--HG-- extra : convert_revision : 69be489a5fc02e73a4e4ecc2b5e5b2c121bbd37e
This commit is contained in:
parent
1cb6635623
commit
249e4835ac
9 changed files with 66 additions and 20 deletions
1
srcpkgs/poppler-qt4
Symbolic link
1
srcpkgs/poppler-qt4
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
poppler
|
1
srcpkgs/poppler-qt4-devel
Symbolic link
1
srcpkgs/poppler-qt4-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
poppler
|
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
revision=1
|
|
||||||
|
|
||||||
Add_dependency run pkg-config
|
Add_dependency run pkg-config
|
||||||
Add_dependency run gtk+-devel
|
Add_dependency run gtk+-devel
|
||||||
Add_dependency run jpeg-devel
|
Add_dependency run jpeg-devel
|
||||||
|
@ -15,6 +13,7 @@ Add_dependency run freetype-devel
|
||||||
Add_dependency run fontconfig-devel
|
Add_dependency run fontconfig-devel
|
||||||
Add_dependency run libpng-devel
|
Add_dependency run libpng-devel
|
||||||
Add_dependency run zlib-devel
|
Add_dependency run zlib-devel
|
||||||
|
Add_dependency run qt-devel
|
||||||
Add_dependency run poppler
|
Add_dependency run poppler
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
|
|
|
@ -19,8 +19,10 @@ Add_dependency run poppler-glib
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig
|
mkdir -p ${DESTDIR}/usr/lib/pkgconfig \
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
${DESTDIR}/usr/include/poppler
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include/poppler/glib \
|
||||||
|
${DESTDIR}/usr/include/poppler
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.*a ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.*a ${DESTDIR}/usr/lib
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.so ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.so ${DESTDIR}/usr/lib
|
||||||
for f in poppler-cairo poppler-glib; do
|
for f in poppler-cairo poppler-glib; do
|
||||||
|
|
|
@ -5,15 +5,15 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains ${sourcepkg} GTK/GLib bindings."
|
This package contains ${sourcepkg} GTK/GLib bindings."
|
||||||
|
|
||||||
|
Add_dependency run libgcc
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libstdc++
|
||||||
|
Add_dependency run zlib
|
||||||
|
Add_dependency run glib
|
||||||
Add_dependency run pango
|
Add_dependency run pango
|
||||||
|
Add_dependency run cairo
|
||||||
Add_dependency run freetype
|
Add_dependency run freetype
|
||||||
Add_dependency run fontconfig
|
Add_dependency run fontconfig
|
||||||
Add_dependency run zlib
|
|
||||||
Add_dependency run libstdc++
|
|
||||||
Add_dependency run glibc
|
|
||||||
Add_dependency run libgcc
|
|
||||||
Add_dependency run glib
|
|
||||||
Add_dependency run cairo
|
|
||||||
Add_dependency run gtk+
|
Add_dependency run gtk+
|
||||||
Add_dependency run poppler
|
Add_dependency run poppler
|
||||||
|
|
||||||
|
|
21
srcpkgs/poppler/poppler-qt4-devel.template
Normal file
21
srcpkgs/poppler/poppler-qt4-devel.template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'poppler-qt4-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} QT 4 bindings (development files)"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains development files for QT 4 bindings."
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run libstdc++-devel
|
||||||
|
Add_dependency run zlib-devel
|
||||||
|
Add_dependency run qt-devel
|
||||||
|
Add_dependency run poppler-devel
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-qt4.*a ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-qt4.so ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
}
|
20
srcpkgs/poppler/poppler-qt4.template
Normal file
20
srcpkgs/poppler/poppler-qt4.template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'poppler-qt4'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} (QT bindings)"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains ${sourcepkg} QT 4 bindings."
|
||||||
|
|
||||||
|
Add_dependency run libgcc
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libstdc++
|
||||||
|
Add_dependency run zlib
|
||||||
|
Add_dependency run qt
|
||||||
|
Add_dependency run fontconfig
|
||||||
|
Add_dependency run poppler
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-qt4.so.* ${DESTDIR}/usr/lib
|
||||||
|
}
|
|
@ -5,11 +5,11 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains the ${sourcepkg} binary utilities."
|
This package contains the ${sourcepkg} binary utilities."
|
||||||
|
|
||||||
Add_dependency run fontconfig
|
|
||||||
Add_dependency run zlib
|
|
||||||
Add_dependency run libstdc++
|
|
||||||
Add_dependency run glibc
|
|
||||||
Add_dependency run libgcc
|
Add_dependency run libgcc
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libstdc++
|
||||||
|
Add_dependency run zlib
|
||||||
|
Add_dependency run fontconfig
|
||||||
Add_dependency run poppler
|
Add_dependency run poppler
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
# Template build file for 'poppler'.
|
# Template build file for 'poppler'.
|
||||||
pkgname=poppler
|
pkgname=poppler
|
||||||
version=0.12.3
|
version=0.12.4
|
||||||
revision=1
|
|
||||||
distfiles="http://poppler.freedesktop.org/$pkgname-$version.tar.gz"
|
distfiles="http://poppler.freedesktop.org/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--enable-zlib --disable-poppler-qt --disable-poppler-qt4
|
configure_args="--enable-zlib --disable-poppler-qt
|
||||||
--enable-libjpeg --disable-libopenjpeg --disable-abiword-output"
|
--enable-libjpeg --disable-libopenjpeg --disable-abiword-output"
|
||||||
short_desc="PDF rendering library"
|
short_desc="PDF rendering library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=7a4ffe6d2950c446c285700d3b2dc399540a27ce635dd712aff646f02f8dfbcc
|
checksum=2afa2a54bd4ccb09e92f82b64bcafa95d39a404a3b3db9d6a5fcad0e0229857a
|
||||||
long_desc="
|
long_desc="
|
||||||
This is poppler, a PDF rendering library. It is a fork of the xpdf
|
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.
|
3.0 PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
||||||
|
@ -20,15 +19,17 @@ long_desc="
|
||||||
xpdf."
|
xpdf."
|
||||||
|
|
||||||
subpackages="$pkgname-devel $pkgname-glib $pkgname-glib-devel $pkgname-utils"
|
subpackages="$pkgname-devel $pkgname-glib $pkgname-glib-devel $pkgname-utils"
|
||||||
|
subpackages="$subpackages $pkgname-qt4 $pkgname-qt4-devel"
|
||||||
|
|
||||||
|
Add_dependency run libgcc
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libstdc++
|
||||||
Add_dependency run zlib
|
Add_dependency run zlib
|
||||||
Add_dependency run jpeg
|
Add_dependency run jpeg
|
||||||
Add_dependency run libpng
|
Add_dependency run libpng
|
||||||
Add_dependency run lcms
|
Add_dependency run lcms
|
||||||
Add_dependency run freetype
|
Add_dependency run freetype
|
||||||
Add_dependency run fontconfig
|
Add_dependency run fontconfig
|
||||||
Add_dependency run libstdc++
|
|
||||||
Add_dependency run libgcc
|
|
||||||
Add_dependency build pkg-config
|
Add_dependency build pkg-config
|
||||||
Add_dependency build gtk+-devel
|
Add_dependency build gtk+-devel
|
||||||
Add_dependency build jpeg-devel
|
Add_dependency build jpeg-devel
|
||||||
|
@ -37,3 +38,4 @@ Add_dependency build freetype-devel
|
||||||
Add_dependency build fontconfig-devel
|
Add_dependency build fontconfig-devel
|
||||||
Add_dependency build libpng-devel
|
Add_dependency build libpng-devel
|
||||||
Add_dependency build zlib-devel
|
Add_dependency build zlib-devel
|
||||||
|
Add_dependency build qt-devel
|
||||||
|
|
Loading…
Reference in a new issue