wok annotate smtube/receipt @ rev 24850
updated libwww-perl (6.43 -> 6.61)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:37:30 2022 +0100 (2022-03-26) |
parents | fd1929b14bba |
children |
rev | line source |
---|---|
psychomaniak@16954 | 1 # SliTaz package receipt. |
psychomaniak@16954 | 2 |
psychomaniak@16954 | 3 PACKAGE="smtube" |
Hans-G?nter@24287 | 4 VERSION="21.10.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" |
Hans-G?nter@21926 | 9 WEB_SITE="https://www.smtube.org" |
Hans-G?nter@21926 | 10 |
psychomaniak@16954 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
psychomaniak@18068 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
psychomaniak@16954 | 13 |
Hans-G?nter@21926 | 14 DEPENDS="cacerts libQtGui libQtScript libQtWebkit libQtXml smplayer" |
Hans-G?nter@21926 | 15 BUILD_DEPENDS="qmake Qt4-dev" |
psychomaniak@16954 | 16 |
pascal@24288 | 17 current_version() |
pascal@24288 | 18 { |
pascal@24288 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24288 | 20 sed "/tar/!d;/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24288 | 21 } |
pascal@24288 | 22 |
psychomaniak@16954 | 23 # Rules to configure and make the package. |
psychomaniak@16954 | 24 compile_rules() |
psychomaniak@16954 | 25 { |
Hans-G?nter@21926 | 26 # Do not show or promote any video by default |
psychomaniak@19552 | 27 sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp |
psychomaniak@16954 | 28 make PREFIX=/usr && |
Hans-G?nter@24287 | 29 make install PREFIX=/usr DESTDIR=$DESTDIR |
psychomaniak@16954 | 30 } |
psychomaniak@16954 | 31 |
psychomaniak@16954 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@16954 | 33 genpkg_rules() |
psychomaniak@16954 | 34 { |
Hans-G?nter@23652 | 35 cp -a $install/* $fs |
psychomaniak@16954 | 36 |
Hans-G?nter@21926 | 37 for size in 16 48 64 128 256 |
Hans-G?nter@21926 | 38 do |
psychomaniak@16954 | 39 rm -rf $fs/usr/share/icons/hicolor/${size}x$size |
Hans-G?nter@21926 | 40 done |
psychomaniak@16954 | 41 } |