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

Up putty (0.70)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 12 05:17:48 2018 +0300 (2018-05-12)
parents 757d032c55c7
children e860d0178b30
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@20536 6 SHORT_DESC="Gnome MPlayer is a GTK2/GTK3 interface for MPlayer"
jozee@3120 7 MAINTAINER="jozee@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20536 9 WEB_SITE="https://code.google.com/archive/p/gnome-mplayer/"
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@20536 14 BUILD_DEPENDS="mplayer alsa-lib libgpod dbus-dev dbus-glib-dev libnotify-dev \
al@20536 15 libgpod-dev xorg-libX11-dev xorg-libxcb-dev gtk+-dev xorg-libXScrnSaver-dev"
pascal@15000 16
al@20534 17 compile_rules() {
al@20534 18 ./configure \
slaxemulator@10868 19 --disable-schemas-install \
slaxemulator@10868 20 --without-gconf \
slaxemulator@10868 21 --disable-nautilus \
slaxemulator@10868 22 --disable-panscan \
slaxemulator@10868 23 --without-libmusicbrainz3 &&
jozee@3120 24 make &&
al@20534 25 make install || return 1
al@20534 26
al@20534 27 sed 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' \
al@20534 28 -i $install/usr/share/applications/$PACKAGE.desktop
jozee@3120 29 }
jozee@3120 30
al@20534 31 genpkg_rules() {
al@20534 32 copy @std
al@20534 33 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
al@20534 34 TAGS="player audio video movie mp3 ogg dvd"
jozee@3120 35 }