wok view gnome-mplayer/receipt @ rev 12639
connman: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 21:53:45 2012 +0200 (2012-04-29) |
parents | 1286b01133d8 |
children | 380ffe05937a |
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 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/glib-2.0 $fs/usr/share
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
39 }