wok annotate minitube/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents 9e6ab147f6a3
children 34e801e0eb52
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
al@16823 20 # Rules to configure and make the package.
psychomaniak@18167 21 #deb#compile_rules()
psychomaniak@18167 22 #deb#{
al@16829 23 # put default icons to resources (instead of to hicolor icon theme)
psychomaniak@18167 24 # cp -a $stuff/*.png $src/images
psychomaniak@18167 25 # cp -a $stuff/*.png $src/
psychomaniak@18167 26 # patch -p0 < $stuff/icons.diff
al@16829 27
psychomaniak@18167 28 # mkdir build; cd build
psychomaniak@18167 29 # qmake ../minitube.pro &&
psychomaniak@18167 30 # make && make INSTALL_ROOT=$install install
psychomaniak@18167 31 #deb# busybox ar vx $src/$TARBALL
psychomaniak@18167 32 #deb# tar xf data.tar*
psychomaniak@18167 33 #deb#}
al@16823 34
al@16823 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16823 36 genpkg_rules()
al@16823 37 {
psychomaniak@18167 38 # cp -a $install/* $fs
psychomaniak@18167 39 mkdir -p $fs/usr
psychomaniak@18167 40 cp -a $src/* $fs/usr
psychomaniak@18167 41
psychomaniak@18167 42 #deb# cp -a $src/usr $fs
al@16823 43
al@16829 44 # remove big icons
psychomaniak@17435 45 for size in 64 128 256 512 scalable; do
psychomaniak@17435 46 rm -rf $fs/usr/share/icons/hicolor/${size}*
al@16823 47 done
al@16823 48 }