wok diff vlc/receipt @ rev 22202

updated xorg-libX11 and xorg-libX11-dev (1.5.99.902 -> 1.6.9)
author Hans-G?nter Theisgen
date Mon Nov 11 11:31:48 2019 +0100 (2019-11-11)
parents dc0af390172d
children b29de3cc9c86
line diff
     1.1 --- a/vlc/receipt	Fri Aug 16 08:34:09 2019 +0200
     1.2 +++ b/vlc/receipt	Mon Nov 11 11:31:48 2019 +0100
     1.3 @@ -1,40 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="vlc"
     1.7 -VERSION="3.0.6"
     1.8 +VERSION="3.0.8"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="MPEG, VCD/DVD, and DivX player"
    1.11 +TAGS="audio video multimedia movie player"
    1.12 +SHORT_DESC="MPEG, VCD/DVD, and DivX player."
    1.13  MAINTAINER="jozee@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.videolan.org/vlc/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WEB_SITE="http://www.videolan.org/vlc/"
    1.19  WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
    1.20 -TAGS="audio video multimedia movie player"
    1.21 +
    1.22  COOKOPTS="!fixdesktops"
    1.23 -
    1.24 -DEPENDS="libQtCore libQtGui libvlc gcc83-lib-base"
    1.25 -BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
    1.26 -libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-dev libegl-mesa \
    1.27 -util-linux-uuid-dev x264-dev flac-dev taglib-dev gnutls-dev libupnp-dev \
    1.28 -libsamplerate-dev fribidi-dev zvbi-dev opus-dev gmp-dev ncurses-dev x265-dev \
    1.29 -libgnutls gcc83 gcc83-lib-base"
    1.30 +DEPENDS="gcc83-lib-base libQtCore libQtGui libvlc"
    1.31 +BUILD_DEPENDS="alsa-lib-dev dbus-dev expat-dev ffmpeg-dev flac-dev fribidi-dev 
    1.32 +	gcc83 gcc83-lib-base gettext gmp-dev gnutls-dev libgnutls libmad-dev 
    1.33 +	libegl-mesa libsamplerate-dev libupnp-dev libxml2-dev lua5.1-dev 
    1.34 +	ncurses-dev opus-dev Qt4-dev taglib-dev tar util-linux-uuid-dev 
    1.35 +	x264-dev x265-dev xcb-util-dev yasm zvbi-dev"
    1.36  
    1.37  compile_rules()
    1.38  {
    1.39  	[ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
    1.40 -	cd $src
    1.41  	[ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
    1.42  	# export ncurses paths 
    1.43  	export NCURSES_CFLAGS="-I/usr/include"
    1.44  	export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
    1.45  	export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83
    1.46 -	./configure \
    1.47 -		--prefix=/usr \
    1.48 -		--disable-pulse \
    1.49 -		--disable-a52 \
    1.50 -		--disable-sout \
    1.51 -		--disable-libgcrypt \
    1.52 -		--enable-ncurses \
    1.53 +
    1.54 +	./configure			\
    1.55 +		--prefix=/usr		\
    1.56 +		--disable-pulse		\
    1.57 +		--disable-a52		\
    1.58 +		--disable-sout		\
    1.59 +		--disable-libgcrypt	\
    1.60 +		--enable-ncurses	\
    1.61  		$CONFIGURE_ARGS &&
    1.62  	make &&
    1.63  	make install
    1.64 @@ -45,12 +46,16 @@
    1.65  genpkg_rules()
    1.66  {
    1.67  	mkdir -p $fs/usr/share/pixmaps
    1.68 -	cp -a $install/usr/bin $fs/usr
    1.69 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.70 +
    1.71 +	cp -a $install/usr/bin			$fs/usr
    1.72 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    1.73 +
    1.74  	#Remove extra icons
    1.75  	rm $fs/usr/share/$PACKAGE/*.ico
    1.76 +
    1.77  	#copy vlc icon
    1.78  	cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
    1.79 +
    1.80  	#Remove unnecessary fonts
    1.81  	rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
    1.82  }