wok-next diff xine-ui/receipt @ rev 20599

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 17 00:06:41 2018 +0300 (2018-04-17)
parents dd145c435e4b
children 9a488e19da38
line diff
     1.1 --- a/xine-ui/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.2 +++ b/xine-ui/receipt	Tue Apr 17 00:06:41 2018 +0300
     1.3 @@ -1,27 +1,23 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xine-ui"
     1.8  VERSION="0.99.7"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Xine media player user interface."
    1.11 +SHORT_DESC="Xine media player user interface"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.xine-project.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="http://www.xine-project.org/"
    1.18 -WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
    1.19 +WGET_URL="$SF_MIRROR/xine/$TARBALL"
    1.20  
    1.21 -# Keep Xine small for Live system, we have MPlaye or VLC has big video player.
    1.22 -DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv xorg-libXi libpng16 \
    1.23 -xorg-libXft xorg-libXxf86vm xorg-libXScrnSaver"
    1.24 +# Keep Xine small for Live system, we have MPlayer or VLC has big video player.
    1.25  BUILD_DEPENDS="xine-lib-dev xorg-dev xorg-libXv-dev xorg-libXxf86vm-dev \
    1.26 -libpng16-dev jpeg-dev xorg-libXScrnSaver-dev"
    1.27 +libpng16-dev libjpeg-turbo-dev xorg-libXScrnSaver-dev"
    1.28  
    1.29 -# Use a custom .desktop file
    1.30 -GENERIC_MENUS="no"
    1.31 +COOKOPTS="!menus" # Use a custom .desktop file
    1.32  
    1.33 -# Rules to configure and make the package.
    1.34 -compile_rules()
    1.35 -{
    1.36 +compile_rules() {
    1.37  	./configure \
    1.38  		--without-curl \
    1.39  		--disable-lirc \
    1.40 @@ -29,13 +25,9 @@
    1.41  	make && make install
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 -	mkdir -p $fs/usr/share
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/share/xine $fs/usr/share
    1.50 -
    1.51 -	# Remove the sample default.avi
    1.52 -	rm $fs/usr/share/xine/visuals/*.mpv
    1.53 +genpkg_rules() {
    1.54 +	copy @std
    1.55 +	rm $fs/usr/share/xine/visuals/*.mpv # remove the sample
    1.56 +	DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv xorg-libXi libpng16 \
    1.57 +	xorg-libXft xorg-libXxf86vm xorg-libXScrnSaver"
    1.58  }