wok-4.x annotate gnome-mplayer/receipt @ rev 9520

Up: xorg-libX11 to 1.4.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 07 07:15:06 2011 +0000 (2011-04-07)
parents 85da474672ad
children 1286b01133d8
rev   line source
jozee@3120 1 # SliTaz package receipt.
jozee@3120 2
jozee@3120 3 PACKAGE="gnome-mplayer"
slaxemulator@9166 4 VERSION="1.0.2"
jozee@3120 5 CATEGORY="multimedia"
jozee@3120 6 SHORT_DESC="simple MPlayer GUI"
jozee@3120 7 MAINTAINER="jozee@slitaz.org"
slaxemulator@6394 8 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
slaxemulator@6399 9 BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-dev"
jozee@3120 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@3120 11 WEB_SITE="http://gnome-mplayer.googlecode.com/"
jozee@3120 12 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@3120 13 TAGS="player audio video movie mp3 ogg dvd"
jozee@3120 14
jozee@3120 15 # Rules to configure and make the package.
jozee@3120 16 compile_rules()
jozee@3120 17 {
jozee@3120 18 cd $src
jozee@4534 19 ./configure --prefix=/usr \
jozee@4534 20 --sysconfdir=/etc \
jozee@4534 21 --disable-schemas-install \
jozee@4534 22 --without-gconf \
jozee@4534 23 --disable-nautilus \
jozee@4534 24 --disable-panscan \
jozee@4534 25 --without-libmusicbrainz3 &&
jozee@3120 26 make &&
jozee@3120 27 make DESTDIR=$PWD/_pkg install
jozee@3120 28
jozee@3120 29 }
jozee@3120 30
jozee@3120 31 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3120 32 genpkg_rules()
jozee@3120 33 {
jozee@4534 34 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
jozee@3120 35 cp -a $_pkg/usr/bin $fs/usr
jozee@4534 36 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
jozee@3120 37 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop
jozee@3120 38
jozee@3120 39
jozee@3120 40 }