wok-current annotate gnome-mplayer/receipt @ rev 13154
zerobin: add proxy fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 16 11:07:01 2012 +0200 (2012-07-16) |
parents | 1286b01133d8 |
children | 380ffe05937a |
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 \ |
slaxemulator@10868 | 20 --sysconfdir=/etc \ |
slaxemulator@10868 | 21 --disable-schemas-install \ |
slaxemulator@10868 | 22 --without-gconf \ |
slaxemulator@10868 | 23 --disable-nautilus \ |
slaxemulator@10868 | 24 --disable-panscan \ |
slaxemulator@10868 | 25 --without-libmusicbrainz3 && |
jozee@3120 | 26 make && |
slaxemulator@10868 | 27 make 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 |
slaxemulator@10868 | 36 cp -a $_pkg/usr/share/glib-2.0 $fs/usr/share |
jozee@4534 | 37 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor |
jozee@3120 | 38 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $_pkg/usr/share/applications/$PACKAGE.desktop |
jozee@3120 | 39 } |