wok annotate minitube/receipt @ rev 17005

Add pulseaudio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 13:55:28 2014 +0200 (2014-08-12)
parents a336d8f0e664
children 1436ef4c0cca
rev   line source
al@16823 1 # SliTaz package receipt.
al@16823 2
al@16823 3 PACKAGE="minitube"
al@16823 4 COMMIT="3b1c032abf648b386ac82990edfc0a0733a9d0e8"
al@16823 5 VERSION="${COMMIT:0:7}"
al@16823 6 CATEGORY="multimedia"
al@16823 7 SHORT_DESC="Minitube is a native YouTube client"
al@16823 8 MAINTAINER="al.bobylev@gmail.com"
al@16823 9 LICENSE="GPL3"
al@16823 10 WEB_SITE="http://flavio.tordini.org/minitube"
al@16823 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@16823 12 WGET_URL="https://gitorious.org/minitube/minitube/archive/$COMMIT.tar.gz"
al@16823 13
al@16823 14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
al@16823 15 libQtXml qt4-phonon"
al@16823 16 BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
al@16823 17
al@16823 18 # Rules to configure and make the package.
al@16823 19 compile_rules()
al@16823 20 {
al@16829 21 # put default icons to resources (instead of to hicolor icon theme)
al@16829 22 cp -a $stuff/*.png $src/images
al@16829 23 patch -p0 < $stuff/icons.diff
al@16829 24
al@16823 25 mkdir build; cd build
al@16823 26 qmake ../minitube.pro &&
al@16823 27 make && make INSTALL_ROOT=$install install
al@16823 28 }
al@16823 29
al@16823 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16823 31 genpkg_rules()
al@16823 32 {
al@16823 33 cp -a $install/* $fs
al@16823 34
al@16829 35 # remove big icons
al@16823 36 for size in 64 128 256 512; do
al@16823 37 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
al@16823 38 done
al@16823 39 }