wok-6.x annotate minitube/receipt @ rev 24697
updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:45:34 2022 +0100 (2022-03-13) |
parents | 6e8b1bcb30e2 |
children | 77ec99338524 |
rev | line source |
---|---|
al@16823 | 1 # SliTaz package receipt. |
al@16823 | 2 |
al@16823 | 3 PACKAGE="minitube" |
psychomaniak@18167 | 4 VERSION="2.4-1" |
al@16823 | 5 CATEGORY="multimedia" |
al@16823 | 6 SHORT_DESC="Minitube is a native YouTube client" |
al@16823 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16823 | 8 LICENSE="GPL3" |
pascal@20671 | 9 WEB_SITE="https://flavio.tordini.org/minitube" |
psychomaniak@18167 | 10 #TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@18167 | 11 #deb# TARBALL="$PACKAGE.deb" |
pascal@20671 | 12 #deb# WGET_URL="https://flavio.tordini.org/files/minitube/minitube.deb" |
psychomaniak@18167 | 13 TARBALL="${PACKAGE}-${VERSION}.mga5.i586.rpm" |
psychomaniak@18167 | 14 WGET_URL="http://mirrors.kernel.org/mageia/distrib/5/i586/media/core/release/$TARBALL" |
al@16823 | 15 |
al@16823 | 16 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \ |
psychomaniak@18167 | 17 libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts" |
psychomaniak@18167 | 18 # BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon" |
al@16823 | 19 |
pascal@24497 | 20 # What is the latest version available today? |
pascal@24497 | 21 current_version() |
pascal@24497 | 22 { |
pascal@24497 | 23 wget -O - ${WEB_SITE%/*}/ 2>/dev/null | \ |
pascal@24497 | 24 sed '/Minitube /!d;s|.*>Minitube ||;s|[^0-9\.].*||;q' |
pascal@24497 | 25 } |
pascal@24497 | 26 |
al@16823 | 27 # Rules to configure and make the package. |
psychomaniak@18167 | 28 #deb#compile_rules() |
psychomaniak@18167 | 29 #deb#{ |
al@16829 | 30 # put default icons to resources (instead of to hicolor icon theme) |
psychomaniak@18167 | 31 # cp -a $stuff/*.png $src/images |
psychomaniak@18167 | 32 # cp -a $stuff/*.png $src/ |
psychomaniak@18167 | 33 # patch -p0 < $stuff/icons.diff |
al@16829 | 34 |
psychomaniak@18167 | 35 # mkdir build; cd build |
psychomaniak@18167 | 36 # qmake ../minitube.pro && |
psychomaniak@18167 | 37 # make && make INSTALL_ROOT=$install install |
psychomaniak@18167 | 38 #deb# busybox ar vx $src/$TARBALL |
psychomaniak@18167 | 39 #deb# tar xf data.tar* |
psychomaniak@18167 | 40 #deb#} |
al@16823 | 41 |
al@16823 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16823 | 43 genpkg_rules() |
al@16823 | 44 { |
psychomaniak@18167 | 45 # cp -a $install/* $fs |
psychomaniak@18167 | 46 mkdir -p $fs/usr |
psychomaniak@18167 | 47 cp -a $src/* $fs/usr |
psychomaniak@18167 | 48 |
psychomaniak@18167 | 49 #deb# cp -a $src/usr $fs |
al@16823 | 50 |
al@16829 | 51 # remove big icons |
psychomaniak@17435 | 52 for size in 64 128 256 512 scalable; do |
psychomaniak@17435 | 53 rm -rf $fs/usr/share/icons/hicolor/${size}* |
al@16823 | 54 done |
al@16823 | 55 } |