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

glibc-dev: ensure necessary packages are built
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:14:44 2011 +0100 (2011-03-05)
parents 7078666ae3a5
children 64d97af14be2
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.0"
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 }