wok-next view yarock/receipt @ rev 20079
Up emacs (2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 25 11:21:45 2017 +0200 (2017-10-25) |
parents | fb478984fbc8 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt.
3 PACKAGE="yarock"
4 VERSION="0.9.67"
5 CATEGORY="multimedia"
6 SHORT_DESC="Yarock is a music player in c++/Qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/yarock"
10 TARBALL="Yarock_${VERSION}_source.tar.gz"
11 WGET_URL="https://launchpad.net/yarock/trunk/$VERSION/+download/$TARBALL"
13 # full list of depends to make available to listen to music and internet radio
14 # (not only runtime (ldd) depends)
15 # but something wrong with sub-depends - why Qt application needs GTK?!
16 #
17 # TODO: review libQtPlugins (huge depends, maybe split?) gst0-plugins-good (gtk?)
18 #
19 DEPENDS="libQtDBus qjson qt4-phonon taglib gst0-ffmpeg gst0-plugins-good \
20 libshout libQtMultimedia libQtPlugins jack"
21 BUILD_DEPENDS="cmake Qt4-dev qmake qt4-phonon taglib-dev pkg-config qjson-dev \
22 xorg-libX11 xorg-libXext xorg-libX11-dev wget"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/TAGLIB_VERSION STRLESS/TAGLIB_VERSION VERSION_LESS/' \
28 cmake/FindTaglib.cmake
29 cp -f $stuff/yarock_ru.ts $src/translation
30 patch -p0 < $stuff/yarock.patch
32 mkdir build; cd build
33 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
34 make
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }