wok rev 17182

fix qt svg
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Sep 28 03:58:55 2014 +0200 (2014-09-28)
parents 1524c6d20738
children 8c7d656c813d
files libQtPlugins/receipt libQtSvg/receipt
line diff
     1.1 --- a/libQtPlugins/receipt	Sat Sep 27 23:57:35 2014 +0200
     1.2 +++ b/libQtPlugins/receipt	Sun Sep 28 03:58:55 2014 +0200
     1.3 @@ -18,9 +18,7 @@
     1.4  {
     1.5  	mkdir -p $fs/usr/lib/qt
     1.6  	cp -a $install/usr/lib/qt/plugins $fs/usr/lib/qt
     1.7 -	rm -f $fs/usr/lib/qt/plugins/sqldrivers/libqsqlite.so
     1.8 -	rm -f $fs/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so
     1.9 -	rm -f $fs/usr/lib/qt/plugins/imageformats/libqjpeg.so
    1.10 -	rm -f $fs/usr/lib/qt/plugins/imageformats/libqgif.so
    1.11 +	find $fs -regex \
    1.12 +	'.*\(gstreamer\|libqsqlite\|qjpeg\|bqgif\|libqsvg\).*' -delete
    1.13  }
    1.14  
     2.1 --- a/libQtSvg/receipt	Sat Sep 27 23:57:35 2014 +0200
     2.2 +++ b/libQtSvg/receipt	Sun Sep 28 03:58:55 2014 +0200
     2.3 @@ -14,7 +14,9 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p $fs/usr/lib
     2.8 -	cp -a $install/usr/lib/libQtSvg.so* $fs/usr/lib
     2.9 +	mkdir -p $fs/usr/lib/qt/plugins/imageformats $fs/usr/lib/qt/plugins/iconengines
    2.10 +	cp -a $install/usr/lib/libQtSvg.so*	$fs/usr/lib
    2.11 +	cp -a $install/usr/lib/qt/plugins/imageformats/libqsvg.so	$fs/*/*/*/*/imageformats
    2.12 +	cp -a $install/usr/lib/qt/plugins/iconengines/libqsvgicon.so	$fs/*/*/*/*/iconengines
    2.13  }
    2.14