wok-current annotate gnome-mplayer/receipt @ rev 10353
gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 16:40:19 2011 +0000 (2011-05-22) |
parents | 64d97af14be2 |
children | 5e89c125c736 |
rev | line source |
---|---|
jozee@3120 | 1 # SliTaz package receipt. |
jozee@3120 | 2 |
jozee@3120 | 3 PACKAGE="gnome-mplayer" |
slaxemulator@10186 | 4 VERSION="1.0.3" |
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 } |