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

libv4l: add LD_PREPLOAD trick to /etc/profile
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:42:43 2009 +0000 (2009-12-15)
parents 0a843da5b4f2
children 9f19aee613be
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"
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 }