wok diff musique/receipt @ rev 17599
linux: CONFIG_USB_SERIAL_VISOR=m
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Feb 11 01:56:28 2015 -0500 (2015-02-11) |
parents | |
children | 3fb71d300daa |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/musique/receipt Wed Feb 11 01:56:28 2015 -0500 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="musique" 1.7 +COMMIT="c993f23d5343222958c7a6ee684eebef831a7b02" 1.8 +VERSION="${COMMIT:0:7}" 1.9 +CATEGORY="multimedia" 1.10 +SHORT_DESC="Musique music player" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL3" 1.13 +WEB_SITE="http://flavio.tordini.org/musique" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://gitorious.org/minitunes/minitunes/archive/$COMMIT.tar.gz" 1.16 + 1.17 +DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtSql libQtXml \ 1.18 +qt4-phonon taglib" 1.19 +BUILD_DEPENDS="wget cacerts Qt4-dev qmake taglib-dev " 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + # put default icons to resources (instead of to hicolor icon theme) 1.25 + cp -a $stuff/*.png $src/images 1.26 + patch -p0 < $stuff/icons.diff 1.27 + 1.28 + mkdir build; cd build 1.29 + qmake PREFIX=/usr ../musique.pro && 1.30 + make && 1.31 + make INSTALL_ROOT=$install install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + cp -a $install/* $fs 1.38 + 1.39 + # remove big icons 1.40 + for size in 64 128 256 512; do 1.41 + rm -rf $fs/usr/share/icons/hicolor/${size}x$size 1.42 + done 1.43 +}