wok-next view gnome-mplayer/receipt @ rev 20249
lincity-ng: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 12:01:40 2017 +0100 (2017-11-07) |
parents | 380ffe05937a |
children | 7639f09792cf |
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-libXScrnSaver-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 }