wok diff smtube/receipt @ rev 19686

Up opus (1.1.4) CVE-2017-0381
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 16:39:41 2017 +0100 (2017-02-12)
parents 14d9312a2b7b
children 9facff0f7d4e
line diff
     1.1 --- a/smtube/receipt	Sat Aug 20 03:13:02 2016 +0200
     1.2 +++ b/smtube/receipt	Sun Feb 12 16:39:41 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="smtube"
     1.7 -VERSION="15.5.17"
     1.8 +VERSION="16.7.2"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Qt Youtube browser using *mplayer or vlc."
    1.11  MAINTAINER="psychomaniak@xakep.ru"
    1.12 @@ -10,12 +10,14 @@
    1.13  WEB_SITE="http://smtube.sourceforge.net/"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  
    1.16 -DEPENDS="mplayer-opt libQtGui libQtXml libQtScript libQtWebkit cacerts"
    1.17 +DEPENDS="smplayer libQtGui libQtXml libQtScript libQtWebkit cacerts"
    1.18  BUILD_DEPENDS="wget qmake Qt4-dev"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 +	# Do not show/promote any video by default
    1.24 +	sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
    1.25  	make PREFIX=/usr &&
    1.26  	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.27  }