wok-next view smtube/receipt @ rev 20105

feh: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 29 13:59:00 2017 +0100 (2017-10-29)
parents 418a5569720d
children eebdc823f008
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 cacerts qt5 qt5-script qtwebkit"
14 BUILD_DEPENDS="wget 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="|' \
22 -i src/browserwindow.cpp
23 make PREFIX=/usr &&
24 make PREFIX=/usr DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
32 for size in 16 48 64 128 256; do
33 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
34 done
35 }