wok view yarock/receipt @ rev 23881

Add utftpd & yaze-ng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 13 21:34:44 2020 +0000 (2020-07-13)
parents 47e011a6bcee
children 922f061231c2
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?) gst-plugins-good (gtk?)
18 #
19 DEPENDS="libQtDBus qjson taglib gst-ffmpeg gst-plugins-good libshout \
20 libQtMultimedia libQtPlugins jack-audio-connection-kit phonon-backend-gstreamer"
21 BUILD_DEPENDS="cmake Qt4-dev qmake phonon-dev 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 cp -f $stuff/yarock_ru.ts $src/translation
28 patch -p0 < $stuff/yarock.patch
29 sed -i 's| STRLESS | VERSION_LESS |' cmake/FindTaglib.cmake
31 mkdir build; cd build
32 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
33 make
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }