wok-6.x view smtube/receipt @ rev 19823
Up cookutils(887), yandex-disk: up bdeps and rebuild.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 03 02:42:35 2017 +0200 (2017-03-03) |
parents | 14d9312a2b7b |
children | 9facff0f7d4e |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="16.7.2"
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 }