wok-6.x rev 13987

poppler*:reorganized receipt + added poppler-qt4-dev
author ernia <monghitri@aruba.it>
date Sat Feb 09 06:59:19 2013 +0000 (2013-02-09)
parents cfea6eaa0ada
children 2ed4e2665660
files poppler-dev/receipt poppler-qt4-dev/receipt poppler-qt4/receipt poppler/receipt
line diff
     1.1 --- a/poppler-dev/receipt	Fri Feb 08 22:33:30 2013 +0000
     1.2 +++ b/poppler-dev/receipt	Sat Feb 09 06:59:19 2013 +0000
     1.3 @@ -21,4 +21,8 @@
     1.4  	cp $src/poppler/*.h $fs/usr/include/poppler
     1.5  	cp $src/goo/*.h $fs/usr/include/poppler/goo
     1.6  	cp $src/splash/*.h $fs/usr/include/poppler/splash
     1.7 +	#included in poppler-qt4-dev
     1.8 +	rm -r $fs/usr/include/poppler/qt4
     1.9 +	rm $fs/usr/lib/*qt4.*a
    1.10 +	rm $fs/usr/lib/pkgconfig/poppler-qt4.pc
    1.11  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/poppler-qt4-dev/receipt	Sat Feb 09 06:59:19 2013 +0000
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="poppler-qt4-dev"
     2.7 +VERSION="0.22.0"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Poppler qt4 devel files."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="poppler-dev"
    2.12 +WANTED="poppler"
    2.13 +WEB_SITE="http://poppler.freedesktop.org/"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/lib \
    2.19 +		$fs/usr/include/poppler/ \
    2.20 +		$fs/usr/lib/pkgconfig
    2.21 +	cp -a $_pkg/usr/lib/*qt4.*a $fs/usr/lib
    2.22 +	cp -a $_pkg/usr/include/poppler/qt4 $fs/usr/include/poppler
    2.23 +	cp -a $_pkg/usr/lib/pkgconfig/poppler-qt4.pc $fs/usr/lib
    2.24 +}
     3.1 --- a/poppler-qt4/receipt	Fri Feb 08 22:33:30 2013 +0000
     3.2 +++ b/poppler-qt4/receipt	Sat Feb 09 06:59:19 2013 +0000
     3.3 @@ -5,25 +5,9 @@
     3.4  CATEGORY="office"
     3.5  SHORT_DESC="Poppler compiled with Qt4 library."
     3.6  MAINTAINER="pankso@slitaz.org"
     3.7 -DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
     3.8 -gcc-lib-base gtk+ cairo libQtCore libQtXml libQtGui gcc-lib-base"
     3.9 -BUILD_DEPENDS="pkg-config Qt4-dev fontconfig-dev expat-dev"
    3.10 -SOURCE="poppler"
    3.11 -TARBALL="$SOURCE-$VERSION.tar.gz"
    3.12 +DEPENDS="poppler libQtCore libQtXml libQtGui"
    3.13 +WANTED="poppler"
    3.14  WEB_SITE="http://poppler.freedesktop.org/"
    3.15 -WGET_URL="http://poppler.freedesktop.org/$TARBALL"
    3.16 -
    3.17 -# Rules to configure and make the package.
    3.18 -compile_rules()
    3.19 -{
    3.20 -	cd $src
    3.21 -	./configure \
    3.22 -		--enable-poppler-qt4 \
    3.23 -		--enable-zlib \
    3.24 -		$CONFIGURE_ARGS &&
    3.25 -	make &&
    3.26 -	make install
    3.27 -}
    3.28  
    3.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.30  genpkg_rules()
     4.1 --- a/poppler/receipt	Fri Feb 08 22:33:30 2013 +0000
     4.2 +++ b/poppler/receipt	Sat Feb 09 06:59:19 2013 +0000
     4.3 @@ -13,7 +13,7 @@
     4.4  gcc-lib-base cairo tiff bzlib libpng"
     4.5  BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
     4.6  freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
     4.7 -automake bzip2-dev libpng-dev libtool"
     4.8 +automake bzip2-dev libpng-dev libtool Qt4-dev"
     4.9  
    4.10  # Rules to configure and make the package.
    4.11  compile_rules()
    4.12 @@ -24,6 +24,7 @@
    4.13  	./configure \
    4.14  		--enable-zlib \
    4.15  		--enable-cairo-output \
    4.16 +		--enable-poppler-qt4 \
    4.17  		$CONFIGURE_ARGS &&
    4.18  	make &&	make install
    4.19  }
    4.20 @@ -33,4 +34,6 @@
    4.21  {
    4.22  	mkdir -p $fs/usr/lib
    4.23  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.24 +	#following libs are included in poppler-qt4
    4.25 +	rm -r $fs/usr/lib/*qt4.so*
    4.26  }