wok diff QtDesigner/receipt @ rev 6082

Up: kismet (2010-07-R1)
author Dominique Corbex <domcox@slitaz.org>
date Sun Aug 29 11:22:39 2010 +0200 (2010-08-29)
parents 30f0edfdd2e4
children 99e3675b8ff1
line diff
     1.1 --- a/QtDesigner/receipt	Wed Apr 28 16:29:16 2010 +0000
     1.2 +++ b/QtDesigner/receipt	Sun Aug 29 11:22:39 2010 +0200
     1.3 @@ -5,22 +5,34 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Qt Designer"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtScript \
     1.8 +DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtDesigner libQtScript \
     1.9  expat fontconfig freetype glib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    1.10  xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr xorg-libXrender zlib \
    1.11  libpng gcc-lib-base"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://qt.nokia.com/"
    1.14 -WANTED="qt-everywhere-opensource-src"
    1.15 +WANTED="qt4"
    1.16 +SOURCE="qt-everywhere-opensource-src"
    1.17  TAGS="qt"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/bin
    1.23 -	mkdir -p $fs/usr/lib
    1.24 +	mkdir -p $fs/usr/bin \
    1.25 +			 $fs/usr/share/pixmaps \
    1.26 +			 $fs/usr/share/applications
    1.27 +	src="$WOK/$WANTED/$SOURCE-$VERSION"
    1.28 +	_pkg="$src/_pkg"
    1.29  	cp -a $_pkg/usr/bin/designer* $fs/usr/bin
    1.30 -	cp -a $_pkg/usr/lib/libQtDesigner*.so* $fs/usr/lib
    1.31 -	strip -s $fs/usr/bin/*
    1.32 +	cp -a $_pkg/usr/bin/linguist* $fs/usr/bin
    1.33 +	cp -a $_pkg/usr/bin/assistant* $fs/usr/bin
    1.34 +		
    1.35 +	# add missing icons
    1.36 +	cp -a $src/tools/assistant/tools/assistant/images/assistant.png $fs/usr/share/pixmaps
    1.37 +	cp -a $src/tools/designer/src/designer/images/designer.png $fs/usr/share/pixmaps
    1.38 +	cp -a $src/tools/linguist/linguist/images/icons/linguist-16-32.png  $fs/usr/share/pixmaps
    1.39 +	
    1.40 +	# add .desktop files
    1.41 +	cp -a stuff/*  $fs/usr/share/applications
    1.42  }
    1.43