wok-6.x view yarock/receipt @ rev 25564

Add missing glibc 2.19 patchs
author Stanislas Leduc <shann@slitaz.org>
date Mon May 08 16:56:41 2023 +0200 (18 months ago)
parents 5b6c86ca3faa
children
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 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - $WEB_SITE 2>/dev/null | \
28 sed '/Latest version/!d;s|.*is ||;s|.tar.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 cp -f $stuff/yarock_ru.ts $src/translation
35 patch -p0 < $stuff/yarock.patch
36 sed -i 's| STRLESS | VERSION_LESS |' cmake/FindTaglib.cmake
38 mkdir build; cd build
39 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
40 make
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 }