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

updated fbgrab (1.2 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Jun 26 15:42:40 2020 +0100 (2020-06-26)
parents 5669e8b3be70
children
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 libx11-dev gtk3-dev gtk2-dev glib-dev gmtk-dev \
15 dbus-dev dbus-glib-dev 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 libx11 libxscrnsaver mplayer"
47 CAT="multimedia|with GTK2"
48 ;;
49 gnome-mplayer-gtk3)
50 copy @std
51 DEPENDS="alsa-lib libcairo dbus dbus-glib gdk-pixbuf glib gmlib gmtk3 \
52 gtk3 libgpod libnotify libx11 libxscrnsaver mplayer"
53 CAT="multimedia|with GTK3"
54 ;;
55 esac
56 TAGS="player audio video movie MP3 Ogg DVD"
57 }