wok-next annotate minitube/receipt @ rev 17587

Up: patch 2.7.4
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 22:12:39 2015 +0000 (2015-02-08)
parents 1436ef4c0cca
children 9e6ab147f6a3
rev   line source
al@16823 1 # SliTaz package receipt.
al@16823 2
al@16823 3 PACKAGE="minitube"
psychomaniak@17435 4 VERSION="2.3.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"
al@16823 9 WEB_SITE="http://flavio.tordini.org/minitube"
al@16823 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@17435 11 WGET_URL="https://gitorious.org/minitube/minitube/archive/$VERSION.tar.gz"
al@16823 12
al@16823 13 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
psychomaniak@17435 14 libQtXml libQtOpenGL qt4-phonon gst-plugins-good gst-ffmpeg"
psychomaniak@17436 15 BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon"
al@16823 16
al@16823 17 # Rules to configure and make the package.
al@16823 18 compile_rules()
al@16823 19 {
al@16829 20 # put default icons to resources (instead of to hicolor icon theme)
al@16829 21 cp -a $stuff/*.png $src/images
al@16829 22 patch -p0 < $stuff/icons.diff
al@16829 23
al@16823 24 mkdir build; cd build
al@16823 25 qmake ../minitube.pro &&
al@16823 26 make && make INSTALL_ROOT=$install install
al@16823 27 }
al@16823 28
al@16823 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16823 30 genpkg_rules()
al@16823 31 {
al@16823 32 cp -a $install/* $fs
al@16823 33
al@16829 34 # remove big icons
psychomaniak@17435 35 for size in 64 128 256 512 scalable; do
psychomaniak@17435 36 rm -rf $fs/usr/share/icons/hicolor/${size}*
al@16823 37 done
al@16823 38 }