wok-next annotate 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
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"
al@16928 10 WEB_SITE="http://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@20513 14 BUILD_DEPENDS="Qt4-dev qmake taglib-dev qt4-phonon"
al@16928 15
al@21020 16 compile_rules() {
al@20661 17 # put default icons to resources (instead of to hicolor icon theme) + patch
al@16928 18 cp -a $stuff/*.png $src/images
al@16928 19
al@21020 20 mkdir build
al@21020 21 cd build
al@21020 22 qmake \
al@21020 23 PREFIX=/usr \
al@21020 24 ../musique.pro &&
al@16928 25 make &&
al@16928 26 make INSTALL_ROOT=$install install
al@16928 27 }
al@16928 28
al@21020 29 genpkg_rules() {
al@16928 30 cp -a $install/* $fs
al@16928 31
al@16928 32 # remove big icons
al@16928 33 for size in 64 128 256 512; do
al@16928 34 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
al@16928 35 done
al@21020 36 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtSql libQtXml \
al@21020 37 qt4-phonon taglib"
al@16928 38 }