wok annotate yarock/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 5b6c86ca3faa
children
rev   line source
al@16669 1 # SliTaz package receipt.
al@16669 2
al@16669 3 PACKAGE="yarock"
al@16669 4 VERSION="0.9.67"
al@16669 5 CATEGORY="multimedia"
al@16669 6 SHORT_DESC="Yarock is a music player in c++/Qt"
al@16669 7 MAINTAINER="al.bobylev@gmail.com"
al@16669 8 LICENSE="GPL3"
al@16669 9 WEB_SITE="https://launchpad.net/yarock"
al@16669 10 TARBALL="Yarock_${VERSION}_source.tar.gz"
al@16669 11 WGET_URL="https://launchpad.net/yarock/trunk/$VERSION/+download/$TARBALL"
al@16669 12
al@16669 13 # full list of depends to make available to listen to music and internet radio
al@16669 14 # (not only runtime (ldd) depends)
al@16669 15 # but something wrong with sub-depends - why Qt application needs GTK?!
al@16669 16 #
al@16669 17 # TODO: review libQtPlugins (huge depends, maybe split?) gst-plugins-good (gtk?)
al@16669 18 #
psychomaniak@19584 19 DEPENDS="libQtDBus qjson taglib gst-ffmpeg gst-plugins-good libshout \
psychomaniak@19584 20 libQtMultimedia libQtPlugins jack-audio-connection-kit phonon-backend-gstreamer"
psychomaniak@19584 21 BUILD_DEPENDS="cmake Qt4-dev qmake phonon-dev taglib-dev pkg-config qjson-dev \
al@16669 22 xorg-libX11 xorg-libXext xorg-libX11-dev wget"
al@16669 23
pascal@24304 24 # What is the latest version available today?
pascal@24304 25 current_version()
pascal@24304 26 {
pascal@24304 27 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24304 28 sed '/Latest version/!d;s|.*is ||;s|.tar.*||;q'
pascal@24304 29 }
pascal@24304 30
al@16669 31 # Rules to configure and make the package.
al@16669 32 compile_rules()
al@16669 33 {
al@16669 34 cp -f $stuff/yarock_ru.ts $src/translation
al@16669 35 patch -p0 < $stuff/yarock.patch
pascal@22007 36 sed -i 's| STRLESS | VERSION_LESS |' cmake/FindTaglib.cmake
al@16669 37
al@16669 38 mkdir build; cd build
al@16669 39 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
al@16669 40 make
al@16669 41 make install
al@16669 42 }
al@16669 43
al@16669 44 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16669 45 genpkg_rules()
al@16669 46 {
al@16669 47 cp -a $install/* $fs
al@16669 48 }