wok-next view yarock/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 | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="yarock"
4 VERSION="0.9.67"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music player in c++/Qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/yarock"
11 TARBALL="Yarock_${VERSION}_source.tar.gz"
12 WGET_URL="https://launchpad.net/yarock/trunk/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="cmake Qt4-dev qmake qt4-phonon taglib-dev qjson-dev \
15 xorg-libX11 xorg-libXext xorg-libX11-dev wget"
17 compile_rules() {
18 sed -i 's/TAGLIB_VERSION STRLESS/TAGLIB_VERSION VERSION_LESS/' \
19 cmake/FindTaglib.cmake
20 cp -f $stuff/yarock_ru.ts $src/translation
22 mkdir build
23 cd build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 copy @std
33 # full list of depends to make available to listen to music and internet radio
34 # (not only runtime (ldd) depends)
35 # but something wrong with sub-depends - why Qt application needs GTK?!
36 #
37 # TODO: review libQtPlugins (huge depends, maybe split?) gst0-plugins-good (gtk?)
38 #
39 DEPENDS="libQtDBus qjson qt4-phonon taglib gst0-ffmpeg gst0-plugins-good \
40 libshout libQtMultimedia libQtPlugins jack"
41 }