wok view gnome-mplayer/receipt @ rev 5782
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 11:19:46 2010 +0200 (2010-07-10) |
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 }