# SliTaz package receipt. PACKAGE="musique" COMMIT="c993f23d5343222958c7a6ee684eebef831a7b02" # Oct 11, 2013 VERSION="${COMMIT:0:7}" CATEGORY="multimedia" SHORT_DESC="Musique music player" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://flavio.tordini.org/musique" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/flaviotordini/musique/archive/$COMMIT.tar.gz" DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtSql libQtXml \ phonon phonon-backend-gstreamer taglib" BUILD_DEPENDS="wget cacerts Qt4-dev qmake taglib-dev phonon-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/flaviotordini/musique/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # put default icons to resources (instead of to hicolor icon theme) cp -a $stuff/*.png $src/images patch -p0 < $stuff/icons.diff mkdir build; cd build qmake PREFIX=/usr ../musique.pro && make && make INSTALL_ROOT=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs # remove big icons for size in 64 128 256 512; do rm -rf $fs/usr/share/icons/hicolor/${size}x$size done }