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

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