wok-next annotate yarock/receipt @ rev 21373

updated mongodb (2.0.6 -> 4.2.5)
author Hans-G?nter Theisgen
date Thu Apr 16 11:09:36 2020 +0100 (2020-04-16)
parents d5aab818505e
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
al@16669 2
al@16669 3 PACKAGE="yarock"
al@16669 4 VERSION="0.9.67"
al@16669 5 CATEGORY="multimedia"
al@21020 6 SHORT_DESC="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@21020 10
al@16669 11 TARBALL="Yarock_${VERSION}_source.tar.gz"
al@16669 12 WGET_URL="https://launchpad.net/yarock/trunk/$VERSION/+download/$TARBALL"
al@16669 13
al@20513 14 BUILD_DEPENDS="cmake Qt4-dev qmake qt4-phonon taglib-dev qjson-dev \
al@21078 15 libxext libx11-dev wget"
al@16669 16
al@21020 17 compile_rules() {
pascal@20047 18 sed -i 's/TAGLIB_VERSION STRLESS/TAGLIB_VERSION VERSION_LESS/' \
pascal@20047 19 cmake/FindTaglib.cmake
al@16669 20 cp -f $stuff/yarock_ru.ts $src/translation
al@16669 21
al@21020 22 mkdir build
al@21020 23 cd build
al@21020 24 cmake \
al@21020 25 -DCMAKE_INSTALL_PREFIX=/usr \
al@21020 26 .. &&
al@21020 27 make &&
al@16669 28 make install
al@16669 29 }
al@16669 30
al@21020 31 genpkg_rules() {
al@21020 32 copy @std
al@21020 33 # full list of depends to make available to listen to music and internet radio
al@21020 34 # (not only runtime (ldd) depends)
al@21020 35 # but something wrong with sub-depends - why Qt application needs GTK?!
al@21020 36 #
al@21020 37 # TODO: review libQtPlugins (huge depends, maybe split?) gst0-plugins-good (gtk?)
al@21020 38 #
al@21020 39 DEPENDS="libQtDBus qjson qt4-phonon taglib gst0-ffmpeg gst0-plugins-good \
al@21020 40 libshout libQtMultimedia libQtPlugins jack"
al@16669 41 }