wok-next annotate smtube/receipt @ rev 19552
Up smtube (16.7.2), smplayer (16.11.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Dec 10 13:06:49 2016 +0100 (2016-12-10) |
parents | 14d9312a2b7b |
children | f45f66242b76 |
rev | line source |
---|---|
psychomaniak@16954 | 1 # SliTaz package receipt. |
psychomaniak@16954 | 2 |
psychomaniak@16954 | 3 PACKAGE="smtube" |
psychomaniak@19552 | 4 VERSION="16.7.2" |
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 } |