wok-6.x annotate musique/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 47e011a6bcee |
children | 544e47246b33 |
rev | line source |
---|---|
al@16928 | 1 # SliTaz package receipt. |
al@16928 | 2 |
al@16928 | 3 PACKAGE="musique" |
al@16928 | 4 COMMIT="c993f23d5343222958c7a6ee684eebef831a7b02" |
al@16928 | 5 VERSION="${COMMIT:0:7}" |
al@16928 | 6 CATEGORY="multimedia" |
al@16928 | 7 SHORT_DESC="Musique music player" |
al@16928 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@16928 | 9 LICENSE="GPL3" |
pascal@20671 | 10 WEB_SITE="https://flavio.tordini.org/musique" |
al@16928 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16928 | 12 WGET_URL="https://gitorious.org/minitunes/minitunes/archive/$COMMIT.tar.gz" |
al@16928 | 13 |
al@16928 | 14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtSql libQtXml \ |
psychomaniak@19584 | 15 phonon phonon-backend-gstreamer taglib" |
psychomaniak@19584 | 16 BUILD_DEPENDS="wget cacerts Qt4-dev qmake taglib-dev phonon-dev" |
al@16928 | 17 |
al@16928 | 18 # Rules to configure and make the package. |
al@16928 | 19 compile_rules() |
al@16928 | 20 { |
al@16928 | 21 # put default icons to resources (instead of to hicolor icon theme) |
al@16928 | 22 cp -a $stuff/*.png $src/images |
al@16928 | 23 patch -p0 < $stuff/icons.diff |
al@16928 | 24 |
al@16928 | 25 mkdir build; cd build |
al@16928 | 26 qmake PREFIX=/usr ../musique.pro && |
al@16928 | 27 make && |
al@16928 | 28 make INSTALL_ROOT=$install install |
al@16928 | 29 } |
al@16928 | 30 |
al@16928 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16928 | 32 genpkg_rules() |
al@16928 | 33 { |
al@16928 | 34 cp -a $install/* $fs |
al@16928 | 35 |
al@16928 | 36 # remove big icons |
al@16928 | 37 for size in 64 128 256 512; do |
al@16928 | 38 rm -rf $fs/usr/share/icons/hicolor/${size}x$size |
al@16928 | 39 done |
al@16928 | 40 } |