wok-6.x view musique/receipt @ rev 17724
glibc: accept make 4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 19:08:32 2015 +0100 (2015-03-05) |
parents | 1d0a6f007a2f |
children | 47e011a6bcee |
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 qt4-phonon taglib"
16 BUILD_DEPENDS="wget cacerts Qt4-dev qmake taglib-dev qt4-phonon"
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 }