wok annotate Qt4-dev/receipt @ rev 17005

Add pulseaudio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 13:55:28 2014 +0200 (2014-08-12)
parents 7bb096863642
children 9cb6a23202c2
rev   line source
allan316@1369 1 # SliTaz package receipt.
allan316@1369 2
allan316@1369 3 PACKAGE="Qt4-dev"
psychomaniak@16916 4 VERSION="4.8.6"
allan316@1369 5 CATEGORY="development"
allan316@1369 6 SHORT_DESC="qt x11 toolkit"
allan316@1369 7 MAINTAINER="allan316@gmail.com"
pascal@15215 8 LICENSE="GPL3 LGPL2.1"
pascal@15215 9 SUGGESTED="libmng nvidia"
pascal@15215 10 WEB_SITE="http://qt-project.org/"
pascal@15215 11 WANTED="qt4"
pascal@15215 12
slaxemulator@6976 13 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \
pascal@2847 14 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
slaxemulator@10082 15 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \
slaxemulator@9182 16 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \
slaxemulator@9182 17 qtconfig gcc-lib-base"
allan316@1369 18
allan316@1369 19 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1369 20 genpkg_rules()
allan316@1369 21 {
monghitri@13992 22 mkdir -p $fs/usr/lib $fs/usr/include/private
pascal@15215 23 cp -a $install/usr/include $fs/usr
pascal@15215 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@15215 25 cp -a $install/usr/lib/*.*a $fs/usr/lib/
pascal@15215 26 cp -a $install/usr/lib/*.prl $fs/usr/lib/
pascal@15215 27 cp -a $install/usr/share $fs/usr
pascal@15215 28 cp -a $install/usr/lib/qt $fs/usr/lib
monghitri@13992 29
monghitri@13992 30 #private qt includes
monghitri@13992 31 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
jozee@2818 32
slaxemulator@10082 33 # all qt plugins are in libQtPlugins
slaxemulator@10082 34 rm -rf $fs/usr/lib/qt/plugins
jozee@2818 35 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
pascal@15215 36 cp -a $install/usr/bin $fs/usr
jozee@2818 37 rm $fs/usr/bin/qmake
jozee@2818 38 rm $fs/usr/bin/designer
jozee@5369 39 # Linguist and assistant are now part of QTDesigner packages
jozee@5369 40 rm $fs/usr/bin/linguist
jozee@5369 41 rm $fs/usr/bin/assistant
slaxemulator@7065 42 # qtconfig packaged now in separate package
slaxemulator@7065 43 rm $fs/usr/bin/qtconfig
slaxemulator@7066 44 rm $fs/usr/share/qt/translations/qtconfig*.qm
allan316@1369 45 }
allan316@1369 46