wok diff mplayer-cli/receipt @ rev 23892

Fix coturn & grub4dos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 25 17:02:18 2020 +0000 (2020-07-25)
parents 7027755306af
children 241fb98cab1c
line diff
     1.1 --- a/mplayer-cli/receipt	Thu Jan 11 21:11:24 2018 +0100
     1.2 +++ b/mplayer-cli/receipt	Sat Jul 25 17:02:18 2020 +0000
     1.3 @@ -1,25 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mplayer-cli"
     1.7 -VERSION="1.3.0"
     1.8 +VERSION="1.4"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="The Ultimate Movie Player For Linux (with minimal depends)"
    1.11 +SHORT_DESC="The Ultimate Movie Player For Linux (with minimal depends)."
    1.12  MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.15 +
    1.16  SOURCE="MPlayer"
    1.17  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.18 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.19  WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.20 -HOST_ARCH="i486 arm"
    1.21 +
    1.22 +
    1.23 +PROVIDE="mplayer"
    1.24 +DEPENDS="alsa-lib fontconfig gcc83-lib-base giflib libgnutls libpng libmad 
    1.25 +	libsdl libxml2 ncurses pcre xorg-libXdamage xorg-libXss xorg-libXv 
    1.26 +	xorg-libXxf86vm zlib"
    1.27 +BUILD_DEPENDS="alsa-lib-dev fontconfig-dev freetype-dev gcc83 giflib-dev 
    1.28 +	gnutls-dev libmad-dev libsdl-dev ncurses-dev pkg-config 
    1.29 +	xorg-libXdamage-dev xorg-libXv-dev xorg-libXxf86vm-dev 
    1.30 +	xorg-xextproto yasm zlib-dev "
    1.31  
    1.32  # CONFIG_FILES="/etc/mplayer" # use ~/ instead
    1.33  
    1.34 -DEPENDS="xorg-libXv alsa-lib giflib ncurses fontconfig libmad libsdl \
    1.35 -libxml2 pcre libpng xorg-libXdamage xorg-libXxf86vm zlib xorg-libXss libgnutls"
    1.36 -BUILD_DEPENDS="ncurses-dev xorg-libXv-dev alsa-lib-dev libsdl-dev \
    1.37 -xorg-libXdamage-dev giflib-dev xorg-libXxf86vm-dev xorg-xextproto \
    1.38 -freetype-dev fontconfig-dev zlib-dev pkg-config yasm libmad-dev gnutls-dev"
    1.39 -PROVIDE="mplayer"
    1.40 +HOST_ARCH="i486 arm"
    1.41  
    1.42  # Handle cross compilation. Host coreutils-file-* are used
    1.43  case "$ARCH" in
    1.44 @@ -30,24 +35,29 @@
    1.45  # Rules to configure and make the package.
    1.46  compile_rules()
    1.47  {
    1.48 -	./configure \
    1.49 -		--prefix=/usr \
    1.50 -		--confdir=/etc/mplayer \
    1.51 -		--libdir=/usr/lib/mplayer \
    1.52 -		--language="en de es fr it pl ru" \
    1.53 -		--enable-menu \
    1.54 -		--disable-mencoder \
    1.55 -		--disable-gl \
    1.56 -		--disable-jack \
    1.57 -		--disable-liblzo \
    1.58 -		--disable-libdv \
    1.59 -		--disable-fribidi \
    1.60 -		--disable-ivtv \
    1.61 -		--disable-smb \
    1.62 -		--disable-openal \
    1.63 -		--disable-faac \
    1.64 -		--disable-speex --disable-esd \
    1.65 -		--disable-lirc --disable-lircc \
    1.66 +	export	CC=gcc-83
    1.67 +	export	CXX=g++-83
    1.68 +
    1.69 +	./configure					\
    1.70 +		--prefix=/usr				\
    1.71 +		--confdir=/etc/mplayer			\
    1.72 +		--libdir=/usr/lib/mplayer		\
    1.73 +		--language="en de es fr it pl ru"	\
    1.74 +		--enable-menu				\
    1.75 +		--disable-mencoder			\
    1.76 +		--disable-gl				\
    1.77 +		--disable-jack				\
    1.78 +		--disable-liblzo			\
    1.79 +		--disable-libdv				\
    1.80 +		--disable-fribidi			\
    1.81 +		--disable-ivtv				\
    1.82 +		--disable-smb				\
    1.83 +		--disable-openal			\
    1.84 +		--disable-faac				\
    1.85 +		--disable-speex				\
    1.86 +		--disable-esd				\
    1.87 +		--disable-lirc				\
    1.88 +		--disable-lircc				\
    1.89  		${ARCH_ARGS} &&
    1.90  	make $MAKEFLAGS &&
    1.91  	make DESTDIR=$DESTDIR install | sed '/install: strip: .*/'d