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

Small improvements
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 27 01:34:11 2018 +0300 (2018-09-27)
parents 7b0bad6d5a99
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-mplayer"
4 VERSION="1.0.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="GNOME MPlayer is a GTK interface for MPlayer"
7 MAINTAINER="jozee@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 xorg-libX11-dev gtk+3-dev gtk+-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="gnome-mplayer-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 gtk+ \
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 gtk+3 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 }