wok diff yarock/receipt @ rev 17135

Add libsdl2-mixer and devel.
author necrophcodr <tcg.thegamer@gmail.com>
date Wed Sep 10 10:52:43 2014 +0200 (2014-09-10)
parents
children 9689f1b75619
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/yarock/receipt	Wed Sep 10 10:52:43 2014 +0200
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="yarock"
     1.7 +VERSION="0.9.67"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Yarock is a music player in c++/Qt"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://launchpad.net/yarock"
    1.13 +TARBALL="Yarock_${VERSION}_source.tar.gz"
    1.14 +WGET_URL="https://launchpad.net/yarock/trunk/$VERSION/+download/$TARBALL"
    1.15 +
    1.16 +# full list of depends to make available to listen to music and internet radio
    1.17 +# (not only runtime (ldd) depends)
    1.18 +# but something wrong with sub-depends - why Qt application needs GTK?!
    1.19 +#
    1.20 +# TODO: review libQtPlugins (huge depends, maybe split?) gst-plugins-good (gtk?)
    1.21 +#
    1.22 +DEPENDS="libQtDBus qjson qt4-phonon taglib gst-ffmpeg gst-plugins-good \
    1.23 +libshout libQtMultimedia libQtPlugins jack-audio-connection-kit"
    1.24 +BUILD_DEPENDS="cmake Qt4-dev qmake qt4-phonon taglib-dev pkgconfig qjson-dev \
    1.25 +xorg-libX11 xorg-libXext xorg-libX11-dev wget"
    1.26 +
    1.27 +# Rules to configure and make the package.
    1.28 +compile_rules()
    1.29 +{
    1.30 +	cp -f $stuff/yarock_ru.ts $src/translation
    1.31 +	patch -p0 < $stuff/yarock.patch
    1.32 +
    1.33 +	mkdir build; cd build
    1.34 +	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    1.35 +	make
    1.36 +	make install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	cp -a $install/* $fs
    1.43 +}