wok-next view minitube/receipt @ rev 17629
Up qemu (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 14 09:16:43 2015 +0100 (2015-02-14) |
parents | 1436ef4c0cca |
children | 9e6ab147f6a3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="minitube"
4 VERSION="2.3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Minitube is a native YouTube client"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://flavio.tordini.org/minitube"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://gitorious.org/minitube/minitube/archive/$VERSION.tar.gz"
13 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
14 libQtXml libQtOpenGL qt4-phonon gst-plugins-good gst-ffmpeg"
15 BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # put default icons to resources (instead of to hicolor icon theme)
21 cp -a $stuff/*.png $src/images
22 patch -p0 < $stuff/icons.diff
24 mkdir build; cd build
25 qmake ../minitube.pro &&
26 make && make INSTALL_ROOT=$install install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
34 # remove big icons
35 for size in 64 128 256 512 scalable; do
36 rm -rf $fs/usr/share/icons/hicolor/${size}*
37 done
38 }