SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yarock"

# SliTaz package receipt.

PACKAGE="yarock"
VERSION="0.9.67"
CATEGORY="multimedia"
SHORT_DESC="Yarock is a music player in c++/Qt"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://launchpad.net/yarock"
TARBALL="Yarock_${VERSION}_source.tar.gz"
WGET_URL="https://launchpad.net/yarock/trunk/$VERSION/+download/$TARBALL"

# full list of depends to make available to listen to music and internet radio
# (not only runtime (ldd) depends)
# but something wrong with sub-depends - why Qt application needs GTK?!
#
# TODO: review libQtPlugins (huge depends, maybe split?) gst-plugins-good (gtk?)
#
DEPENDS="libQtDBus qjson taglib gst-ffmpeg gst-plugins-good libshout \
libQtMultimedia libQtPlugins jack-audio-connection-kit phonon-backend-gstreamer"
BUILD_DEPENDS="cmake Qt4-dev qmake phonon-dev taglib-dev pkg-config qjson-dev \
xorg-libX11 xorg-libXext xorg-libX11-dev wget"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Latest version/!d;s|.*is ||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cp -f $stuff/yarock_ru.ts $src/translation
    patch -p0 < $stuff/yarock.patch
    sed -i 's| STRLESS | VERSION_LESS |' cmake/FindTaglib.cmake

    mkdir build; cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)