wok-next view smtube/receipt @ rev 20983
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 28 13:48:52 2018 +0300 (2018-09-28) |
parents | eebdc823f008 |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="smtube"
4 VERSION="18.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 cacerts qt5 qt5-script qtwebkit"
14 BUILD_DEPENDS="qt5-dev qtwebkit"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ##sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
20 #sed 's|tonvid.com/|cook.slitaz.org/next/|' -i src/browserwindow.cpp
21 #sed 's|home_page + "search.php?q="|"http://tonvid.com/search.php?q="|' -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; do
32 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
33 done
34 }