wok-next view musique/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d6378d455338
children d457c4e37c1b
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 BUILD_DEPENDS="Qt4-dev qmake taglib-dev qt4-phonon"
16 compile_rules() {
17 # put default icons to resources (instead of to hicolor icon theme) + patch
18 cp -a $stuff/*.png $src/images
20 mkdir build
21 cd build
22 qmake \
23 PREFIX=/usr \
24 ../musique.pro &&
25 make &&
26 make INSTALL_ROOT=$install install
27 }
29 genpkg_rules() {
30 cp -a $install/* $fs
32 # remove big icons
33 for size in 64 128 256 512; do
34 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
35 done
36 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtSql libQtXml \
37 qt4-phonon taglib"
38 }