wok-next annotate 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
rev   line source
psychomaniak@16954 1 # SliTaz package receipt.
psychomaniak@16954 2
psychomaniak@16954 3 PACKAGE="smtube"
psychomaniak@20071 4 VERSION="17.5.0"
psychomaniak@16954 5 CATEGORY="multimedia"
psychomaniak@16954 6 SHORT_DESC="Qt Youtube browser using *mplayer or vlc."
psychomaniak@16954 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@16954 8 LICENSE="GPL2"
psychomaniak@16954 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@18069 10 WEB_SITE="http://smtube.sourceforge.net/"
psychomaniak@18068 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
psychomaniak@16954 12
psychomaniak@20071 13 DEPENDS="smplayer cacerts qt5 qt5-script qtwebkit"
psychomaniak@20071 14 BUILD_DEPENDS="wget qt5-dev qtwebkit "
psychomaniak@16954 15
psychomaniak@16954 16 # Rules to configure and make the package.
psychomaniak@16954 17 compile_rules()
psychomaniak@16954 18 {
psychomaniak@20072 19 #sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp
psychomaniak@20077 20 sed 's|tonvid.com/|cook.slitaz.org/next/|' -i src/browserwindow.cpp
psychomaniak@20075 21 sed 's|home_page + "search.php?q="|"http://tonvid.com/search.php?q="|' \
psychomaniak@20074 22 -i src/browserwindow.cpp
psychomaniak@16954 23 make PREFIX=/usr &&
psychomaniak@16954 24 make PREFIX=/usr DESTDIR=$DESTDIR install
psychomaniak@16954 25 }
psychomaniak@16954 26
psychomaniak@16954 27 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@16954 28 genpkg_rules()
psychomaniak@16954 29 {
psychomaniak@16954 30 cp -a $install/* $fs
psychomaniak@16954 31
psychomaniak@16954 32 for size in 16 48 64 128 256; do
psychomaniak@16954 33 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
psychomaniak@16954 34 done
psychomaniak@16954 35 }