wok-6.x rev 19552

Up smtube (16.7.2), smplayer (16.11.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Dec 10 13:06:49 2016 +0100 (2016-12-10)
parents 9e247dfd5b85
children 074f8db95176
files mplayer-opt/receipt mplayer-opt/stuff/mplayer.conf smplayer-themes/receipt smplayer/receipt smplayer/stuff/smplayer.desktop smplayer/stuff/smplayer_enqueue.desktop smtube/receipt
line diff
     1.1 --- a/mplayer-opt/receipt	Sat Dec 10 09:51:54 2016 +0000
     1.2 +++ b/mplayer-opt/receipt	Sat Dec 10 13:06:49 2016 +0100
     1.3 @@ -12,27 +12,19 @@
     1.4  WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -DEPENDS="libmad xorg-libXv alsa-lib cdparanoia-III giflib ncurses \
     1.8 -enca xorg-libXdamage xorg-libXxf86vm zlib xorg-libXss"
     1.9 -BUILD_DEPENDS="libmad-dev xorg-libXv-dev alsa-lib-dev \
    1.10 -ncurses-dev xorg-libXdamage-dev giflib-dev xorg-libXxf86vm-dev \
    1.11 -audiofile-dev libogg-dev zlib-dev xorg-xextproto pkg-config yasm"
    1.12 +CONFIG_FILES="/etc/mplayer"
    1.13  
    1.14 -# Handle arch package install. Less deps and no GTK gui
    1.15 -case "$SLITAZ_ARCH" in
    1.16 -	arm*) 
    1.17 -		DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm libogg \
    1.18 -		libvorbis libtheora libsdl" ;;
    1.19 -esac
    1.20 +DEPENDS="xorg-libXv alsa-lib giflib ncurses fontconfig libsdl \
    1.21 +libxml2 pcre libpng xorg-libXdamage xorg-libXxf86vm zlib xorg-libXss"
    1.22 +BUILD_DEPENDS="ncurses-dev xorg-libXv-dev alsa-lib-dev libsdl-dev \
    1.23 +xorg-libXdamage-dev giflib-dev xorg-libXxf86vm-dev xorg-xextproto \
    1.24 +freetype-dev fontconfig-dev zlib-dev pkg-config yasm"
    1.25 +PROVIDE="mplayer"
    1.26  
    1.27  # Handle cross compilation. Host coreutils-file-* are used
    1.28  case "$ARCH" in
    1.29 -	i?86) 
    1.30 -		ARCH_ARGS="--target=i486-linux --disable-sdl --enable-runtime-cpudetection"
    1.31 -		BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev enca-dev" ;;
    1.32 -	arm*) 
    1.33 -		BUILD_DEPENDS="$BUILD_DEPENDS libsdl-dev" 
    1.34 -		ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" ;;
    1.35 +	i?86) ARCH_ARGS="--target=i486-linux --enable-runtime-cpudetection" ;;
    1.36 +	arm*) ARCH_ARGS="--target=arm-linux --enable-cross-compile" ;;
    1.37  esac
    1.38  
    1.39  # Rules to configure and make the package.
    1.40 @@ -52,7 +44,6 @@
    1.41  		--disable-fribidi \
    1.42  		--disable-ivtv \
    1.43  		--disable-smb \
    1.44 -		--disable-ftp \
    1.45  		--disable-openal \
    1.46  		--disable-faac \
    1.47  		--disable-speex --disable-esd \
    1.48 @@ -79,4 +70,4 @@
    1.49  	cp $src/etc/*menu.conf $fs/etc/mplayer
    1.50  	# Font
    1.51  	cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.52 -}
    1.53 \ No newline at end of file
    1.54 +}
     2.1 --- a/mplayer-opt/stuff/mplayer.conf	Sat Dec 10 09:51:54 2016 +0000
     2.2 +++ b/mplayer-opt/stuff/mplayer.conf	Sat Dec 10 13:06:49 2016 +0100
     2.3 @@ -3,11 +3,16 @@
     2.4  #
     2.5  
     2.6  # Specify default video driver (see -vo help for a list).
     2.7 +# xv is slow with xcompmgr/compton
     2.8  vo=xv,x11,fbdev2,
     2.9  
    2.10 +# vf=scale
    2.11 +# vf=eq2
    2.12 +
    2.13  # Specify default audio driver (see -ao help for a list).
    2.14 -ao=oss,alsa:device=hw=0.0,alsa,
    2.15 -ac=mad,
    2.16 +ao=oss,sdl,alsa,
    2.17 +# ao=oss,sdl,alsa:device=hw=0.0,alsa,
    2.18 +# af=
    2.19  
    2.20  stop-xscreensaver="1"
    2.21  heartbeat-cmd='echo -n ""'
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/smplayer-themes/receipt	Sat Dec 10 13:06:49 2016 +0100
     3.3 @@ -0,0 +1,27 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="smplayer-themes"
     3.7 +VERSION="16.8.0"
     3.8 +CATEGORY="multimedia"
     3.9 +SHORT_DESC="Icon themes for smplayer"
    3.10 +MAINTAINER="psychomaniak@xakep.ru"
    3.11 +LICENSE="GPL2"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.13 +WEB_SITE="http://smplayer.sourceforge.net/"
    3.14 +WGET_URL="$SF_MIRROR/${PACKAGE/-themes/}/$TARBALL"
    3.15 +
    3.16 +DEPENDS="smplayer"
    3.17 +BUILD_DEPENDS="Qt4-dev qmake"
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	make PREFIX=/usr &&
    3.23 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    3.24 +}
    3.25 +
    3.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 +genpkg_rules()
    3.28 +{
    3.29 +	mv $install/* $fs
    3.30 +}
     4.1 --- a/smplayer/receipt	Sat Dec 10 09:51:54 2016 +0000
     4.2 +++ b/smplayer/receipt	Sat Dec 10 13:06:49 2016 +0100
     4.3 @@ -1,41 +1,43 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="smplayer"
     4.7 -VERSION="0.6.9"
     4.8 +VERSION="16.11.0"
     4.9  CATEGORY="multimedia"
    4.10 -SHORT_DESC="QT-based front-end for MPlayer"
    4.11 -MAINTAINER="jozee@slitaz.org"
    4.12 +SHORT_DESC="QT-based front-end for MPlayer or mpv"
    4.13 +MAINTAINER="psychomaniak@xakep.ru"
    4.14  LICENSE="GPL2"
    4.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.16 -WEB_SITE="http://smplayer.sourceforge.net/" 
    4.17 +WEB_SITE="http://smplayer.sourceforge.net/"
    4.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.19  TAGS="player audio video movie"
    4.20  
    4.21 -DEPENDS="mplayer-opt libQtCore libQtGui libQtXml gcc-lib-base"
    4.22 -BUILD_DEPENDS="qt4 Qt4-dev qmake libQtNetwork libegl-mesa"
    4.23 +DEPENDS="mplayer-opt libQtCore libQtGui libQtXml libQtScript libQtDBus"
    4.24 +BUILD_DEPENDS="Qt4-dev qmake"
    4.25 +SUGGESTED="smplayer-themes mpv"
    4.26  
    4.27  # Rules to configure and make the package.
    4.28  compile_rules()
    4.29  {
    4.30 -	cd $src	
    4.31 +	# Some default setting incompatible with minimal mplayer
    4.32 +	sed '/use_ass_subtitles/s/true/false/' -i src/preferences.cpp
    4.33  	make PREFIX=/usr &&
    4.34  	make PREFIX=/usr DESTDIR=$DESTDIR install
    4.35 -	
    4.36  }
    4.37  
    4.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.39  genpkg_rules()
    4.40  {
    4.41 -	mkdir -p $fs/usr/share $fs/usr/share/applications
    4.42 +	mkdir -p $fs/usr/share
    4.43  	cp -a $install/usr/bin $fs/usr
    4.44 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    4.45 -	
    4.46 -	# Remove extra translations  or locales
    4.47 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    4.48 +	cp -a $install/usr/share/icons $fs/usr/share
    4.49  	rm $fs/usr/share/$PACKAGE/translations/*
    4.50 -	cp -a $install/usr/share/$PACKAGE/translations/smplayer_en_US.qm \
    4.51 -		  $install/usr/share/$PACKAGE/translations/smplayer_fr.qm \
    4.52 -		  $fs/usr/share/$PACKAGE/translations/
    4.53 -		  
    4.54 -	# copy .desktop file.
    4.55 -	cp -a $stuff/smplayer_enqueue.desktop $fs/usr/share/applications/
    4.56 +
    4.57 +	for i in de en_US es fr it pt_BR ru_RU
    4.58 +	do cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
    4.59 +		$fs/usr/share/$PACKAGE/translations/
    4.60 +	done
    4.61 +	for size in 64 128 192 256 512 scalable; do
    4.62 +		rm -rf $fs/usr/share/icons/hicolor/${size}*
    4.63 +	done
    4.64  }
     5.1 --- a/smplayer/stuff/smplayer.desktop	Sat Dec 10 09:51:54 2016 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,24 +0,0 @@
     5.4 -[Desktop Entry]
     5.5 -Categories=Qt;AudioVideo;Player;Video;
     5.6 -Comment=A great MPlayer front-end
     5.7 -Comment[es]=A great MPlayer front-end
     5.8 -Comment[it]=Un grande front-end per MPlayer
     5.9 -Comment[ja]=MPlayer フロントエンド
    5.10 -Comment[nl]=Een uitstekend frontend voor MPlayer
    5.11 -Comment[pl]=Świetna nakładka na Mplayer
    5.12 -Comment[ru_RU]=Мощный интерфейс для MPlayer
    5.13 -Comment[uk]=Потужний інтерфейс до MPlayer
    5.14 -Exec=smplayer %f
    5.15 -GenericName=A great MPlayer front-end
    5.16 -GenericName[es]=A great MPlayer front-end
    5.17 -GenericName[it]=Un grande front-end per MPlayer
    5.18 -GenericName[ja]=MPlayer フロントエンド
    5.19 -GenericName[nl]=Een uitstekend frontend voor MPlayer
    5.20 -GenericName[pl]=Świetna nakładka na Mplayer
    5.21 -GenericName[ru_RU]=Мощный интерфейс для MPlayer
    5.22 -GenericName[uk]=Потужний інтерфейс до MPlayer
    5.23 -Icon=mplayer
    5.24 -MimeType=audio/ac3;audio/mp4;audio/mpeg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-adpcm;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-ms-wma;audio/x-vorbis;audio/x-wav;audio/mpegurl;audio/x-mpegurl;audio/x-pn-realaudio;audio/x-scpls;video/avi;video/mp4;video/flv;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ogm;video/x-theora
    5.25 -Name=SMPlayer
    5.26 -Type=Application
    5.27 -X-KDE-StartupNotify=false
     6.1 --- a/smplayer/stuff/smplayer_enqueue.desktop	Sat Dec 10 09:51:54 2016 +0000
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,21 +0,0 @@
     6.4 -[Desktop Entry]
     6.5 -Categories=Qt;AudioVideo;Player;Video;
     6.6 -Exec=smplayer -add-to-playlist %F
     6.7 -Icon=mplayer
     6.8 -MimeType=audio/ac3;audio/mp4;audio/mpeg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-adpcm;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-ms-wma;audio/x-vorbis;audio/x-wav;audio/mpegurl;audio/x-mpegurl;audio/x-pn-realaudio;audio/x-scpls;video/avi;video/mp4;video/flv;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ogm;video/x-theora;
     6.9 -Name=Enqueue in SMPlayer
    6.10 -Name[zh_CN]=加入SMplayer的播放列表
    6.11 -Name[es]=Añadir a la lista de reproducción de SMPlayer
    6.12 -Name[ja]=SMPlayer でエンキュー
    6.13 -Name[it]=In coda in SMPlayer
    6.14 -Name[nl]=In wachtrij van SMPlayer
    6.15 -Name[uk]=Додати до черги SMPlayer
    6.16 -Comment=Add file(s) to the SMPlayer playlist
    6.17 -Comment[es]=Añade ficheros a la lista de reproducción de SMPlayer
    6.18 -Comment[ja]=ファイルを SMPlayer のプレイリストに追加します
    6.19 -Comment[it]=Aggiungi alla lista di riproduzione di SMPlayer
    6.20 -Comment[nl]=Bestanden toevoegen aan de afspeellijst van SMPlayer
    6.21 -Comment[uk]=Додати файл(и) до переліку програвання SMPlayer
    6.22 -Type=Application
    6.23 -X-KDE-StartupNotify=false
    6.24 -NoDisplay=true
     7.1 --- a/smtube/receipt	Sat Dec 10 09:51:54 2016 +0000
     7.2 +++ b/smtube/receipt	Sat Dec 10 13:06:49 2016 +0100
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="smtube"
     7.7 -VERSION="15.5.17"
     7.8 +VERSION="16.7.2"
     7.9  CATEGORY="multimedia"
    7.10  SHORT_DESC="Qt Youtube browser using *mplayer or vlc."
    7.11  MAINTAINER="psychomaniak@xakep.ru"
    7.12 @@ -10,12 +10,14 @@
    7.13  WEB_SITE="http://smtube.sourceforge.net/"
    7.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    7.15  
    7.16 -DEPENDS="mplayer-opt libQtGui libQtXml libQtScript libQtWebkit cacerts"
    7.17 +DEPENDS="smplayer libQtGui libQtXml libQtScript libQtWebkit cacerts"
    7.18  BUILD_DEPENDS="wget qmake Qt4-dev"
    7.19  
    7.20  # Rules to configure and make the package.
    7.21  compile_rules()
    7.22  {
    7.23 +	# Do not show/promote any video by default
    7.24 +	sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
    7.25  	make PREFIX=/usr &&
    7.26  	make PREFIX=/usr DESTDIR=$DESTDIR install
    7.27  }