wok-6.x view musique/receipt @ rev 20604

Up linux-libre (3.18.129)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 23:42:42 2018 +0100 (2018-12-17)
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 }