wok view smtube/receipt @ rev 23766
qemu/cloop: tiny fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 06 19:55:46 2020 +0000 (2020-05-06) |
parents | 09e3c27fe261 |
children | fd1929b14bba |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="20.1.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 PREFIX=/usr DESTDIR=$DESTDIR install
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 }