wok view smtube/receipt @ rev 22340

Add perl-netaddr-ip & spamassassin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 23:13:17 2019 +0100 (2019-11-15)
parents 43758773632c
children 89207576784d
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="19.6.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 }