wok-current rev 4259

wine: add desktop file for notepad, winecfg, winefile + custom icon
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 25 12:11:54 2009 +0200 (2009-09-25)
parents 6c7f52500ea8
children 01e3b44f7477
files wine-dev/receipt wine/receipt wine/stuff/applications/notepad.desktop wine/stuff/applications/winecfg.desktop wine/stuff/applications/winefile.desktop wine/stuff/wine.png
line diff
     1.1 --- a/wine-dev/receipt	Fri Sep 25 11:47:17 2009 +0200
     1.2 +++ b/wine-dev/receipt	Fri Sep 25 12:11:54 2009 +0200
     1.3 @@ -11,10 +11,10 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib/wine
     1.8 +	mkdir -p $fs/usr/lib/wine $fs/usr/share
     1.9  	cp -a $_pkg/usr/include $fs/usr
    1.10  	cp -a $_pkg/usr/lib/wine/*.a $fs/usr/lib/wine
    1.11  	cp -a $_pkg/usr/lib/wine/*.def $fs/usr/lib/wine
    1.12  	cp -a $_pkg/usr/lib/wine/*.dll16 $fs/usr/lib/wine
    1.13 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.14  }
    1.15 -
     2.1 --- a/wine/receipt	Fri Sep 25 11:47:17 2009 +0200
     2.2 +++ b/wine/receipt	Fri Sep 25 12:11:54 2009 +0200
     2.3 @@ -5,12 +5,11 @@
     2.4  CATEGORY="misc"
     2.5  SHORT_DESC="Windows API for Linux."
     2.6  MAINTAINER="pascal.bellard@slitaz.org"
     2.7 -DEPENDS="alsa-lib cyrus-sasl libxml2 libxslt libgl libglu \
     2.8 -xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
     2.9 -BUILD_DEPENDS="flex xorg-dev"
    2.10 +DEPENDS="alsa-lib libxml2 libxslt libgl libglu xorg-libICE xorg-libSM
    2.11 +xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
    2.12 +BUILD_DEPENDS="flex xorg-dev mesa-dev"
    2.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14  WEB_SITE="http://www.winehq.org/"
    2.15 -#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16  WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
    2.17  
    2.18  # Rules to configure and make the package.
    2.19 @@ -30,8 +29,11 @@
    2.20  	cp -a $_pkg/usr/bin $fs/usr
    2.21  	cp -a $_pkg/usr/share/wine $fs/usr/share
    2.22  	cp -a $_pkg/usr/share/applications $fs/usr/share
    2.23 -	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    2.24  	cp -a $_pkg/usr/lib/lib* $fs/usr/lib
    2.25  	cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
    2.26  }
    2.27  
    2.28 +post_install()
    2.29 +{
    2.30 +	modprobe snd-seq 2>/dev/null
    2.31 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/wine/stuff/applications/notepad.desktop	Fri Sep 25 12:11:54 2009 +0200
     3.3 @@ -0,0 +1,10 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=Wine Notepad
     3.7 +Name[fr]=Bloc-notes Wine
     3.8 +Exec=notepad %f
     3.9 +Icon=accessories-text-editor
    3.10 +Terminal=false
    3.11 +Type=Application
    3.12 +MimeType=text/plain
    3.13 +Categories=Utility;TextEditor;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/wine/stuff/applications/winecfg.desktop	Fri Sep 25 12:11:54 2009 +0200
     4.3 @@ -0,0 +1,10 @@
     4.4 +[Desktop Entry]
     4.5 +Encoding=UTF-8
     4.6 +Name=Wine Configuration
     4.7 +Name[fr]=Configuration de Wine
     4.8 +Exec=winecfg
     4.9 +Icon=wine
    4.10 +Terminal=false
    4.11 +Type=Application
    4.12 +MimeType=text/plain
    4.13 +Categories=System
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/wine/stuff/applications/winefile.desktop	Fri Sep 25 12:11:54 2009 +0200
     5.3 @@ -0,0 +1,10 @@
     5.4 +[Desktop Entry]
     5.5 +Encoding=UTF-8
     5.6 +Name=Wine File Manager
     5.7 +Name[fr]=Gestionnaire de fichiers Wine
     5.8 +Exec=winefile %f
     5.9 +Icon=file-manager
    5.10 +Terminal=false
    5.11 +Type=Application
    5.12 +MimeType=text/plain
    5.13 +Categories=System
     6.1 Binary file wine/stuff/wine.png has changed