wok view smtube/receipt @ rev 20167

Up smtube, smplayer (18.1.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Jan 11 13:05:26 2018 +0100 (2018-01-11)
parents bcfe34dd0ef5
children 43758773632c
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="18.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Qt Youtube browser using *mplayer or vlc."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://smtube.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="smplayer libQtGui libQtXml libQtScript libQtWebkit cacerts"
14 BUILD_DEPENDS="wget qmake Qt4-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Do not show/promote any video by default
20 sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
21 make PREFIX=/usr &&
22 make PREFIX=/usr DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
30 for size in 16 48 64 128 256; do
31 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
32 done
33 }