wok view musique/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | 6e8b1bcb30e2 |
children | d358ff3c7097 |
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="https://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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/flaviotordini/musique/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # put default icons to resources (instead of to hicolor icon theme)
29 cp -a $stuff/*.png $src/images
30 patch -p0 < $stuff/icons.diff
32 mkdir build; cd build
33 qmake PREFIX=/usr ../musique.pro &&
34 make &&
35 make INSTALL_ROOT=$install install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
43 # remove big icons
44 for size in 64 128 256 512; do
45 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
46 done
47 }