wok view smtube/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | 9a9d8eb38212 |
children | bcfe34dd0ef5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="17.1.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 }