wok-next annotate gnome-mplayer/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents 185601d12dd8
children 8a00d0929dfd
rev   line source
jozee@3120 1 # SliTaz package receipt.
jozee@3120 2
jozee@3120 3 PACKAGE="gnome-mplayer"
jozee@4534 4 VERSION="0.9.8"
jozee@3120 5 CATEGORY="multimedia"
jozee@3120 6 SHORT_DESC="simple MPlayer GUI"
jozee@3120 7 MAINTAINER="jozee@slitaz.org"
pascal@5001 8 DEPENDS="mplayer-svn dbus-glib libnotify alsa-lib"
jozee@3129 9 BUILD_DEPENDS="mplayer-svn dbus-glib-dev libnotify libnotify-dev libgpod libgpod-dev"
jozee@3129 10 SUGGESTED="libgpod"
jozee@3120 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@3120 12 WEB_SITE="http://gnome-mplayer.googlecode.com/"
jozee@3120 13 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@3120 14 TAGS="player audio video movie mp3 ogg dvd"
jozee@3120 15
jozee@3120 16 # Rules to configure and make the package.
jozee@3120 17 compile_rules()
jozee@3120 18 {
jozee@3120 19 cd $src
jozee@4534 20 ./configure --prefix=/usr \
jozee@4534 21 --sysconfdir=/etc \
jozee@4534 22 --disable-schemas-install \
jozee@4534 23 --without-gconf \
jozee@4534 24 --disable-nautilus \
jozee@4534 25 --disable-panscan \
jozee@4534 26 --without-libmusicbrainz3 &&
jozee@3120 27 make &&
jozee@3120 28 make DESTDIR=$PWD/_pkg install
jozee@3120 29
jozee@3120 30 }
jozee@3120 31
jozee@3120 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3120 33 genpkg_rules()
jozee@3120 34 {
jozee@4534 35 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
jozee@3120 36 cp -a $_pkg/usr/bin $fs/usr
jozee@4534 37 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
jozee@3120 38 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop
jozee@3120 39
jozee@3120 40
jozee@3120 41 }