wok view smtube/receipt @ rev 25133
updated novnc (201111004 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 07:55:42 2022 +0100 (2022-06-29) |
parents | fd1929b14bba |
children |
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 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/tar/!d;/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Do not show or promote any video by default
27 sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
28 make PREFIX=/usr &&
29 make install PREFIX=/usr DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
37 for size in 16 48 64 128 256
38 do
39 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
40 done
41 }