wok view musique/receipt @ rev 20045

Improvements
author Leonardo Laporte <hackdorte@yandex.com>
date Thu Aug 31 04:02:39 2017 -0300 (2017-08-31)
parents 3fb71d300daa
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="musique"
4 COMMIT="c993f23d5343222958c7a6ee684eebef831a7b02"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="multimedia"
7 SHORT_DESC="Musique music player"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="http://flavio.tordini.org/musique"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitorious.org/minitunes/minitunes/archive/$COMMIT.tar.gz"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtSql libQtXml \
15 phonon phonon-backend-gstreamer taglib"
16 BUILD_DEPENDS="wget cacerts Qt4-dev qmake taglib-dev phonon-dev"
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 PREFIX=/usr ../musique.pro &&
27 make &&
28 make INSTALL_ROOT=$install install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
36 # remove big icons
37 for size in 64 128 256 512; do
38 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
39 done
40 }