wok annotate xine-ui/receipt @ rev 12526
Clean up xine-ui (Keep it small please!)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:40:43 2012 +0200 (2012-04-25) |
parents | a2a779a6f0d1 |
children | 33efedb07365 |
rev | line source |
---|---|
pankso@33 | 1 # SliTaz package receipt. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-ui" |
pascal@11627 | 4 VERSION="0.99.6" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@33 | 6 SHORT_DESC="Xine media player user interface." |
pankso@33 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11627 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
jozee@2978 | 9 WEB_SITE="http://www.xine-project.org/" |
pankso@33 | 10 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pankso@33 | 11 |
pankso@12526 | 12 # Keep Xine small for Live system, we have MPlaye or VLC has big video player. |
pankso@12526 | 13 DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv xorg-libXi libpng \ |
pankso@12526 | 14 xorg-libXft xorg-libXxf86vm" |
pankso@12526 | 15 BUILD_DEPENDS="xine-lib-dev xorg-dev xorg-libXv-dev xorg-libXxf86vm-dev" |
pankso@12526 | 16 |
pankso@33 | 17 # Rules to configure and make the package. |
pankso@33 | 18 compile_rules() |
pankso@33 | 19 { |
pankso@33 | 20 cd $src |
pankso@4519 | 21 ./configure \ |
pankso@4519 | 22 --without-curl \ |
pascal@11627 | 23 --disable-lirc \ |
pankso@4519 | 24 $CONFIGURE_ARGS && |
pankso@12526 | 25 make && make install |
pankso@33 | 26 } |
pankso@33 | 27 |
pankso@33 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 29 genpkg_rules() |
pankso@33 | 30 { |
pascal@11623 | 31 mkdir -p $fs/usr/share/applications |
pascal@11623 | 32 cp -a $stuff/xine-ui.desktop $fs/usr/share/applications |
pankso@33 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@33 | 34 cp -a $_pkg/usr/share/xine $fs/usr/share |
pankso@4519 | 35 |
jozee@2977 | 36 # Remove the sample default.avi |
jozee@2977 | 37 rm $fs/usr/share/xine/visuals/*.avi |
pankso@33 | 38 } |