wok-6.x view minitube/receipt @ rev 17149

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