wok view gnome-mplayer/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 5e89c125c736
children e3f377fbc5f0
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gnome-mplayer.googlecode.com/"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="player audio video movie mp3 ogg dvd"
14 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
15 BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --disable-schemas-install \
24 --without-gconf \
25 --disable-nautilus \
26 --disable-panscan \
27 --without-libmusicbrainz3 &&
28 make &&
29 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/glib-2.0 $fs/usr/share
39 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
40 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $install/usr/share/applications/$PACKAGE.desktop
41 }