wok-6.x annotate Qt4-dev/receipt @ rev 13992

qt4 up to 4.8.4 - fixed some qt4 dependent package which does not build, upgrading only if necessary, tested razorqt and some apps, all seems to work
author ernia <monghitri@aruba.it>
date Mon Feb 11 23:39:16 2013 +0000 (2013-02-11)
parents d4259b0646e1
children 7bb096863642
rev   line source
allan316@1369 1 # SliTaz package receipt.
allan316@1369 2
allan316@1369 3 PACKAGE="Qt4-dev"
monghitri@13992 4 VERSION="4.8.4"
allan316@1369 5 CATEGORY="development"
allan316@1369 6 SHORT_DESC="qt x11 toolkit"
allan316@1369 7 MAINTAINER="allan316@gmail.com"
slaxemulator@6976 8 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \
pascal@2847 9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
slaxemulator@10082 10 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \
slaxemulator@9182 11 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \
slaxemulator@9182 12 qtconfig gcc-lib-base"
pascal@4997 13 SUGGESTED="libmng nvidia"
monghitri@13992 14 WEB_SITE="http://qt-project.org/"
jozee@5369 15 WANTED="qt4"
monghitri@13992 16
allan316@1369 17
allan316@1369 18 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1369 19 genpkg_rules()
allan316@1369 20 {
monghitri@13992 21 mkdir -p $fs/usr/lib $fs/usr/include/private
allan316@1369 22 cp -a $_pkg/usr/include $fs/usr
jozee@2818 23 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
jozee@2818 24 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
jozee@2818 25 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/
jozee@2818 26 cp -a $_pkg/usr/share $fs/usr
jozee@2818 27 cp -a $_pkg/usr/lib/qt $fs/usr/lib
monghitri@13992 28
monghitri@13992 29 #private qt includes
monghitri@13992 30 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
jozee@2818 31
slaxemulator@10082 32 # all qt plugins are in libQtPlugins
slaxemulator@10082 33 rm -rf $fs/usr/lib/qt/plugins
jozee@2818 34 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
jozee@2818 35 cp -a $_pkg/usr/bin $fs/usr
jozee@2818 36 rm $fs/usr/bin/qmake
jozee@2818 37 rm $fs/usr/bin/designer
jozee@5369 38 # Linguist and assistant are now part of QTDesigner packages
jozee@5369 39 rm $fs/usr/bin/linguist
jozee@5369 40 rm $fs/usr/bin/assistant
slaxemulator@7065 41 # qtconfig packaged now in separate package
slaxemulator@7065 42 rm $fs/usr/bin/qtconfig
slaxemulator@7066 43 rm $fs/usr/share/qt/translations/qtconfig*.qm
allan316@1369 44 }
allan316@1369 45