wok-6.x view gnome-mplayer/receipt @ rev 7598

Up: libisofs to 0.6.40.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 11 06:14:07 2010 +0000 (2010-12-11)
parents 7078666ae3a5
children 64d97af14be2
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="simple MPlayer GUI"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://gnome-mplayer.googlecode.com/"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
13 TAGS="player audio video movie mp3 ogg dvd"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc \
21 --disable-schemas-install \
22 --without-gconf \
23 --disable-nautilus \
24 --disable-panscan \
25 --without-libmusicbrainz3 &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
37 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop
40 }