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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children aa1e58c82d61
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTK interface for MPlayer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sites.google.com/site/kdekorte2/gnomemplayer"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gnome-mplayer/$TARBALL"
14 BUILD_DEPENDS="gettext-dev xorg-libX11-dev gtk3-dev gtk2-dev glib-dev gmtk-dev \
15 dbus-dev dbus-glib-dev xorg-libXScrnSaver-dev alsa-lib-dev pulseaudio-dev \
16 libnotify-dev libgpod-dev"
17 SPLIT="$PACKAGE-gtk3:gtk3"
19 compile_rules() {
20 case $SET in
21 '')
22 SET_ARGS='--disable-gtk3'
23 GMTK_LIBS='-lgmtk'
24 ;;
25 gtk3)
26 SET_ARGS='--enable-gtk3'
27 GMTK_LIBS='-lgmtk3'
28 ;;
29 esac
31 GMTK_LIBS="$GMTK_LIBS" \
32 ./configure \
33 --disable-nautilus \
34 --without-libmusicbrainz3 \
35 $SET_ARGS \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 gnome-mplayer)
44 copy @std
45 DEPENDS="alsa-lib dbus dbus-glib gdk-pixbuf glib gmlib gmtk gtk2 \
46 libgpod libnotify xorg-libX11 xorg-libXScrnSaver mplayer"
47 CAT="multimedia|with GTK2"
48 ;;
49 gnome-mplayer-gtk3)
50 copy @std
51 DEPENDS="alsa-lib cairo dbus dbus-glib gdk-pixbuf glib gmlib gmtk3 \
52 gtk3 libgpod libnotify xorg-libX11 xorg-libXScrnSaver mplayer"
53 CAT="multimedia|with GTK3"
54 ;;
55 esac
56 TAGS="player audio video movie mp3 ogg dvd"
57 }