wok-stable view gnome-mplayer/receipt @ rev 9465

Up: python-pygments to 1.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 03 12:26:36 2011 +0000 (2011-04-03)
parents 85da474672ad
children 1286b01133d8
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.2"
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 }