wok-next rev 3120

Add: gnome-mplayer (lightweight GTK mplayer gui)
author Rohit Joshi <jozee@slitaz.org>
date Mon May 18 17:45:26 2009 +0000 (2009-05-18)
parents 0b54a70ec4b1
children e8f8b4b8ab5d
files gnome-mplayer/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-mplayer/receipt	Mon May 18 17:45:26 2009 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-mplayer"
     1.7 +VERSION="0.9.5"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="simple MPlayer GUI"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="mplayer-svn dbus-glib libnotify"
    1.12 +BUILD_DEPENDS="mplayer-svn dbus-glib-dev libnotify libnotify-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://gnome-mplayer.googlecode.com/" 
    1.15 +WGET_URL="$WEB_SITE/files/$TARBALL"
    1.16 +TAGS="player audio video movie mp3 ogg dvd"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src	
    1.22 +	./configure --prefix=/usr --sysconfdir=/etc \
    1.23 +              --disable-schemas-install --without-gconf &&
    1.24 +	make  &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +	
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share $fs/usr/share/applications
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share	
    1.35 +	sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop
    1.36 +
    1.37 +
    1.38 +}