wok-current view smtube/receipt @ rev 20146
linld: tiny shrink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 11:02:48 2017 +0100 (2017-11-16) |
parents | 9facff0f7d4e |
children | c1434b8d757f |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="17.5.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 }