wok view gnome-mplayer/receipt @ rev 10374
rox-filer: fix stuff parh
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 12:27:42 2011 +0200 (2011-05-23) |
parents | 64d97af14be2 |
children | 5e89c125c736 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.3"
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 }