wok-next annotate gnome-mplayer/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
jozee@3120 2
jozee@3120 3 PACKAGE="gnome-mplayer"
al@20536 4 VERSION="1.0.8"
jozee@3120 5 CATEGORY="multimedia"
al@21020 6 SHORT_DESC="GTK interface for MPlayer"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://sites.google.com/site/kdekorte2/gnomemplayer"
al@20534 10
jozee@3120 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20536 12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gnome-mplayer/$TARBALL"
jozee@3120 13
al@21078 14 BUILD_DEPENDS="gettext-dev libx11-dev gtk3-dev gtk2-dev glib-dev gmtk-dev \
al@21078 15 dbus-dev dbus-glib-dev libxscrnsaver-dev alsa-lib-dev pulseaudio-dev \
al@20829 16 libnotify-dev libgpod-dev"
al@21020 17 SPLIT="$PACKAGE-gtk3:gtk3"
pascal@15000 18
al@20534 19 compile_rules() {
al@20829 20 case $SET in
al@20829 21 '')
al@20829 22 SET_ARGS='--disable-gtk3'
al@20829 23 GMTK_LIBS='-lgmtk'
al@20829 24 ;;
al@20829 25 gtk3)
al@20829 26 SET_ARGS='--enable-gtk3'
al@20829 27 GMTK_LIBS='-lgmtk3'
al@20829 28 ;;
al@20829 29 esac
al@20829 30
al@20829 31 GMTK_LIBS="$GMTK_LIBS" \
al@20534 32 ./configure \
slaxemulator@10868 33 --disable-nautilus \
al@20829 34 --without-libmusicbrainz3 \
al@20829 35 $SET_ARGS \
al@20829 36 $CONFIGURE_ARGS &&
al@20829 37 make &&
al@20829 38 make install
jozee@3120 39 }
jozee@3120 40
al@20534 41 genpkg_rules() {
al@20829 42 case $PACKAGE in
al@20829 43 gnome-mplayer)
al@20829 44 copy @std
al@21017 45 DEPENDS="alsa-lib dbus dbus-glib gdk-pixbuf glib gmlib gmtk gtk2 \
al@21078 46 libgpod libnotify libx11 libxscrnsaver mplayer"
al@20829 47 CAT="multimedia|with GTK2"
al@20829 48 ;;
al@20829 49 gnome-mplayer-gtk3)
al@20829 50 copy @std
al@21105 51 DEPENDS="alsa-lib libcairo dbus dbus-glib gdk-pixbuf glib gmlib gmtk3 \
al@21078 52 gtk3 libgpod libnotify libx11 libxscrnsaver mplayer"
al@20829 53 CAT="multimedia|with GTK3"
al@20829 54 ;;
al@20829 55 esac
al@21044 56 TAGS="player audio video movie MP3 Ogg DVD"
jozee@3120 57 }