wok-current rev 23651

updated smplayer (19.10.0 -> 20.4.2)
author Hans-G?nter Theisgen
date Mon Apr 20 15:19:14 2020 +0100 (2020-04-20)
parents ac5a77f54ad3
children 89207576784d
files smplayer/receipt
line diff
     1.1 --- a/smplayer/receipt	Mon Apr 20 14:57:44 2020 +0100
     1.2 +++ b/smplayer/receipt	Mon Apr 20 15:19:14 2020 +0100
     1.3 @@ -1,20 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="smplayer"
     1.7 -VERSION="19.10.0"
     1.8 +VERSION="20.4.2"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="QT-based front-end for MPlayer or mpv"
    1.11 +TAGS="player audio video movie"
    1.12 +SHORT_DESC="QT-based front-end for MPlayer or mpv."
    1.13  MAINTAINER="psychomaniak@xakep.ru"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://www.smplayer.info/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://smplayer.sourceforge.net/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="player audio video movie"
    1.21  
    1.22 -DEPENDS="mplayer-cli libQtCore libQtGui libQtXml libQtScript libQtDBus"
    1.23 +SUGGESTED="smplayer-themes mpv"
    1.24 +DEPENDS="libQtCore libQtDBus libQtGui libQtScript libQtXml mplayer-cli"
    1.25  BUILD_DEPENDS="Qt4-dev qmake"
    1.26 -SUGGESTED="smplayer-themes mpv"
    1.27 -
    1.28  
    1.29  GENERIC_MENUS="no"
    1.30  
    1.31 @@ -22,7 +22,8 @@
    1.32  compile_rules()
    1.33  {
    1.34  	# Some default setting incompatible with minimal mplayer
    1.35 -	sed '/use_ass_subtitles/s/true/false/' -i src/preferences.cpp
    1.36 +	sed -i '/use_ass_subtitles/s/true/false/' \
    1.37 +		src/preferences.cpp
    1.38  	make PREFIX=/usr &&
    1.39  	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.40  }
    1.41 @@ -31,17 +32,20 @@
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/share/applications
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -fa $install/usr/share/applications/* $fs/usr/share/applications
    1.47 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.48 -	cp -a $install/usr/share/icons $fs/usr/share
    1.49 -	rm $fs/usr/share/$PACKAGE/translations/*
    1.50 +
    1.51 +	cp -a $install/usr/bin				$fs/usr
    1.52 +	cp -fa $install/usr/share/applications/*	$fs/usr/share/applications
    1.53 +	cp -a $install/usr/share/$PACKAGE		$fs/usr/share
    1.54 +	cp -a $install/usr/share/icons			$fs/usr/share
    1.55 +	rm						$fs/usr/share/$PACKAGE/translations/*
    1.56  
    1.57  	for i in de en_US es fr it pt_BR ru_RU
    1.58 -	do cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
    1.59 -		$fs/usr/share/$PACKAGE/translations/
    1.60 -	done
    1.61 -	for size in 64 128 192 256 512 scalable; do
    1.62 +	  do
    1.63 +		cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
    1.64 +			$fs/usr/share/$PACKAGE/translations/
    1.65 +	  done
    1.66 +	for size in 64 128 192 256 512 scalable
    1.67 +	  do
    1.68  		rm -rf $fs/usr/share/icons/hicolor/${size}*
    1.69 -	done
    1.70 +	  done
    1.71  }