wok-next annotate minitube/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a3c581bf52b8
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
al@16823 2
al@16823 3 PACKAGE="minitube"
psychomaniak@18167 4 VERSION="2.4-1"
al@16823 5 CATEGORY="multimedia"
al@21020 6 SHORT_DESC="Native YouTube client"
al@16823 7 MAINTAINER="al.bobylev@gmail.com"
al@16823 8 LICENSE="GPL3"
al@20906 9 WEB_SITE="https://flavio.tordini.org/minitube"
al@21020 10
psychomaniak@18167 11 #TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@18167 12 #deb# TARBALL="$PACKAGE.deb"
psychomaniak@18167 13 #deb# WGET_URL="http://flavio.tordini.org/files/minitube/minitube.deb"
al@21020 14 TARBALL="$PACKAGE-$VERSION.mga5.i586.rpm"
psychomaniak@18167 15 WGET_URL="http://mirrors.kernel.org/mageia/distrib/5/i586/media/core/release/$TARBALL"
al@16823 16
al@20513 17 # BUILD_DEPENDS="Qt4-dev qmake qt4-phonon"
al@16823 18
psychomaniak@18167 19 #deb#compile_rules()
psychomaniak@18167 20 #deb#{
al@16829 21 # put default icons to resources (instead of to hicolor icon theme)
psychomaniak@18167 22 # cp -a $stuff/*.png $src/images
psychomaniak@18167 23 # cp -a $stuff/*.png $src/
psychomaniak@18167 24 # patch -p0 < $stuff/icons.diff
al@16829 25
psychomaniak@18167 26 # mkdir build; cd build
psychomaniak@18167 27 # qmake ../minitube.pro &&
al@21020 28 # make &&
al@21020 29 # make INSTALL_ROOT=$install install
psychomaniak@18167 30 #deb# busybox ar vx $src/$TARBALL
psychomaniak@18167 31 #deb# tar xf data.tar*
psychomaniak@18167 32 #deb#}
al@16823 33
al@21020 34 genpkg_rules() {
psychomaniak@18167 35 # cp -a $install/* $fs
psychomaniak@18167 36 mkdir -p $fs/usr
psychomaniak@18167 37 cp -a $src/* $fs/usr
psychomaniak@18167 38
psychomaniak@18167 39 #deb# cp -a $src/usr $fs
al@16823 40
al@16829 41 # remove big icons
psychomaniak@17435 42 for size in 64 128 256 512 scalable; do
psychomaniak@17435 43 rm -rf $fs/usr/share/icons/hicolor/${size}*
al@16823 44 done
al@21020 45 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
al@21020 46 libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts"
al@16823 47 }