wok annotate xine-ui/receipt @ rev 13605

Up: kmod (11)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 10 19:54:06 2012 +0100 (2012-11-10)
parents 044f7a53c852
children 20df32ac3945
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@12529 15 BUILD_DEPENDS="xine-lib-dev xorg-dev xorg-libXv-dev xorg-libXxf86vm-dev \
pankso@12529 16 libpng-dev"
pankso@12526 17
pankso@33 18 # Rules to configure and make the package.
pankso@33 19 compile_rules()
pankso@33 20 {
pankso@33 21 cd $src
pankso@4519 22 ./configure \
pankso@4519 23 --without-curl \
pascal@11627 24 --disable-lirc \
pankso@4519 25 $CONFIGURE_ARGS &&
pankso@12526 26 make && make install
pankso@33 27 }
pankso@33 28
pankso@33 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 30 genpkg_rules()
pankso@33 31 {
pascal@11623 32 mkdir -p $fs/usr/share/applications
pascal@11623 33 cp -a $stuff/xine-ui.desktop $fs/usr/share/applications
pankso@33 34 cp -a $_pkg/usr/bin $fs/usr
pankso@33 35 cp -a $_pkg/usr/share/xine $fs/usr/share
pankso@4519 36
jozee@2977 37 # Remove the sample default.avi
jozee@2977 38 rm $fs/usr/share/xine/visuals/*.avi
pankso@33 39 }