wok-next annotate yarock/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | d43bf7aae921 |
children | d5aab818505e |
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@19821 | 17 # TODO: review libQtPlugins (huge depends, maybe split?) gst0-plugins-good (gtk?) |
al@16669 | 18 # |
al@19821 | 19 DEPENDS="libQtDBus qjson qt4-phonon taglib gst0-ffmpeg gst0-plugins-good \ |
al@19829 | 20 libshout libQtMultimedia libQtPlugins jack" |
al@20513 | 21 BUILD_DEPENDS="cmake Qt4-dev qmake qt4-phonon taglib-dev qjson-dev \ |
al@16669 | 22 xorg-libX11 xorg-libXext xorg-libX11-dev wget" |
al@16669 | 23 |
al@16669 | 24 # Rules to configure and make the package. |
al@16669 | 25 compile_rules() |
al@16669 | 26 { |
pascal@20047 | 27 sed -i 's/TAGLIB_VERSION STRLESS/TAGLIB_VERSION VERSION_LESS/' \ |
pascal@20047 | 28 cmake/FindTaglib.cmake |
al@16669 | 29 cp -f $stuff/yarock_ru.ts $src/translation |
al@16669 | 30 |
al@16669 | 31 mkdir build; cd build |
al@16669 | 32 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
al@16669 | 33 make |
al@16669 | 34 make install |
al@16669 | 35 } |
al@16669 | 36 |
al@16669 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16669 | 38 genpkg_rules() |
al@16669 | 39 { |
al@16669 | 40 cp -a $install/* $fs |
al@16669 | 41 } |