wok-current view gnome-mplayer/receipt @ rev 6212

Up: pidgin, pidgin-dev, libpurple-dev to 2.7.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 10:43:38 2010 +0000 (2010-09-11)
parents 185601d12dd8
children 8a00d0929dfd
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="0.9.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="simple MPlayer GUI"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="mplayer-svn dbus-glib libnotify alsa-lib"
9 BUILD_DEPENDS="mplayer-svn dbus-glib-dev libnotify libnotify-dev libgpod libgpod-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 }