wok-next view gnome-mplayer/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 7639f09792cf
children 757d032c55c7
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 \
16 xorg-libX11-dev xorg-libxcb-dev gtk+-dev xorg-libXScrnSaver-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --disable-schemas-install \
25 --without-gconf \
26 --disable-nautilus \
27 --disable-panscan \
28 --without-libmusicbrainz3 &&
29 make &&
30 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/glib-2.0 $fs/usr/share
40 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
41 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $install/usr/share/applications/$PACKAGE.desktop
42 }