wok view musique/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents d358ff3c7097
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="musique"
4 COMMIT="c993f23d5343222958c7a6ee684eebef831a7b02" # Oct 11, 2013
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://github.com/flaviotordini/musique/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 }