wok view smtube/receipt @ rev 24287
updated smtube (20.1.0 -> 21.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 14:17:04 2022 +0100 (2022-01-13) |
parents | 89207576784d |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="21.10.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Qt Youtube browser using *mplayer or vlc."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.smtube.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="cacerts libQtGui libQtScript libQtWebkit libQtXml smplayer"
15 BUILD_DEPENDS="qmake Qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Do not show or promote any video by default
21 sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
22 make PREFIX=/usr &&
23 make install PREFIX=/usr DESTDIR=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
31 for size in 16 48 64 128 256
32 do
33 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
34 done
35 }