wok-6.x annotate gnome-mplayer/receipt @ rev 6996

Add docbook-xsl-ns
author Paul Issott <paul@slitaz.org>
date Sun Oct 31 11:00:02 2010 +0000 (2010-10-31)
parents b9fddd6fdaca
children 85da474672ad
rev   line source
jozee@3120 1 # SliTaz package receipt.
jozee@3120 2
jozee@3120 3 PACKAGE="gnome-mplayer"
slaxemulator@6231 4 VERSION="0.9.9.2"
jozee@3120 5 CATEGORY="multimedia"
jozee@3120 6 SHORT_DESC="simple MPlayer GUI"
jozee@3120 7 MAINTAINER="jozee@slitaz.org"
slaxemulator@6394 8 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
slaxemulator@6399 9 BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-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 }