wok annotate smtube/receipt @ rev 21399
mana, newsbeuter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 19:45:31 2019 +0200 (2019-04-22) |
parents | c1434b8d757f |
children | 09e3c27fe261 |
rev | line source |
---|---|
psychomaniak@16954 | 1 # SliTaz package receipt. |
psychomaniak@16954 | 2 |
psychomaniak@16954 | 3 PACKAGE="smtube" |
maniac@20536 | 4 VERSION="18.11.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@19552 | 13 DEPENDS="smplayer libQtGui libQtXml libQtScript libQtWebkit cacerts" |
psychomaniak@18069 | 14 BUILD_DEPENDS="wget qmake Qt4-dev" |
psychomaniak@16954 | 15 |
psychomaniak@16954 | 16 # Rules to configure and make the package. |
psychomaniak@16954 | 17 compile_rules() |
psychomaniak@16954 | 18 { |
psychomaniak@19552 | 19 # Do not show/promote any video by default |
psychomaniak@19552 | 20 sed 's|tonvid.com/|&terms-of-use.php|' -i src/browserwindow.cpp |
psychomaniak@16954 | 21 make PREFIX=/usr && |
psychomaniak@16954 | 22 make PREFIX=/usr DESTDIR=$DESTDIR install |
psychomaniak@16954 | 23 } |
psychomaniak@16954 | 24 |
psychomaniak@16954 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@16954 | 26 genpkg_rules() |
psychomaniak@16954 | 27 { |
psychomaniak@16954 | 28 cp -a $install/* $fs |
psychomaniak@16954 | 29 |
psychomaniak@16954 | 30 for size in 16 48 64 128 256; do |
psychomaniak@16954 | 31 rm -rf $fs/usr/share/icons/hicolor/${size}x$size |
psychomaniak@16954 | 32 done |
psychomaniak@16954 | 33 } |