wok-6.x rev 16893

libQtPlugins: replace phonon&sqlite libs: less deps in a lot of apps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Jul 14 14:37:30 2014 +0300 (2014-07-14)
parents 533c11ece627
children 066835b677f1
files libQtPlugins/receipt libQtSql/receipt qt4-phonon/receipt
line diff
     1.1 --- a/libQtPlugins/receipt	Mon Jul 14 13:34:17 2014 +0300
     1.2 +++ b/libQtPlugins/receipt	Mon Jul 14 14:37:30 2014 +0300
     1.3 @@ -12,11 +12,14 @@
     1.4  DEPENDS="libQtSql libQt3Support libQtGui libQtCore libQtXml libQtNetwork \
     1.5  libQtDBus libQtWebkit libQtScript libQtDesigner libQtOpenGL libQtScriptTools libQtSvg \
     1.6  libQtTest libQtHelp"
     1.7 +BUILD_DEPENDS="qt4 $DEPENDS"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11  {
    1.12  	mkdir -p $fs/usr/lib/qt
    1.13  	cp -a $install/usr/lib/qt/plugins $fs/usr/lib/qt
    1.14 +	rm -f $fs/usr/lib/qt/plugins/sqldrivers/libqsqlite.so
    1.15 +	rm -f $fs/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so
    1.16  }
    1.17  
     2.1 --- a/libQtSql/receipt	Mon Jul 14 13:34:17 2014 +0300
     2.2 +++ b/libQtSql/receipt	Mon Jul 14 14:37:30 2014 +0300
     2.3 @@ -10,7 +10,7 @@
     2.4  WANTED="qt4"
     2.5  
     2.6  DEPENDS="libQtCore"
     2.7 -BUILD_DEPENDS="qt4 libQtPlugins"
     2.8 +BUILD_DEPENDS="libQtPlugins"
     2.9  
    2.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.11  genpkg_rules()
     3.1 --- a/qt4-phonon/receipt	Mon Jul 14 13:34:17 2014 +0300
     3.2 +++ b/qt4-phonon/receipt	Mon Jul 14 14:37:30 2014 +0300
     3.3 @@ -10,10 +10,13 @@
     3.4  WANTED="qt4"
     3.5  
     3.6  DEPENDS="glib zlib gcc-lib-base"
     3.7 +BUILD_DEPENDS="libQtPlugins"
     3.8  
     3.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.10  genpkg_rules()
    3.11  {
    3.12  	mkdir -p $fs/usr/lib
    3.13  	cp -a $install/usr/lib/libphonon.so* $fs/usr/lib
    3.14 +	mkdir -p $fs/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so
    3.15 +	cp -a $install/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so $fs/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so
    3.16  }