wok view musique/receipt @ rev 25735
Remove iptraf: replaced by iptraf-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 09:39:49 2024 +0000 (2 months ago) |
parents | 7364ffdaaa60 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="musique"
4 COMMIT="c993f23d5343222958c7a6ee684eebef831a7b02"
5 VERSION="20131011"
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }