# SliTaz package receipt. PACKAGE="clementine" VERSION="1.2.3" CATEGORY="multimedia" SHORT_DESC="A multiplatform music player." MAINTAINER="shevtsov.anton@gmail.com" LICENSE="GPL3" WEB_SITE="https://www.clementine-player.org/" TARBALL="Clementine-$VERSION.tar.gz" WGET_URL="https://github.com/clementine-player/Clementine/archive/$VERSION.tar.gz" DEPENDS="ffmpeg fftw glew gst-plugins-base libcdio libgpod libmtp libQtDBus \ libQtOpenGL libQtWebkit protobuf qca qjson taglib" BUILD_DEPENDS="autoconf automake binutils chromaprint-dev cmake dbus-dev dbus-glib-dev fftw-dev gettext gettext-base gettext-tools glew-dev glib glib-dev gst-plugins-bad-dev gst-plugins-base-dev gst-plugins-good-dev \ gst-plugins-ugly-dev gstreamer-dev json-glib json-glib-dev lame-dev \ libatomic libboost-dev libcdio-dev libcdio-utils libcrypto-dev libcurl \ libgio-dev libglu-mesa-dev libglw-mesa-dev libgpod-dev libmtp-dev \ libplist-dev libusb-dev mesa-dev protobuf-dev pulseaudio-dev qca-dev \ qjson-dev qmake qt4 Qt4-dev sqlite-dev taglib-dev udisks-dev" current_version() { wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q' } compile_rules() { patch -Np1 -i $stuff/udisks-namespace.patch mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -Wno-dev && make && make install } genpkg_rules() { cp -a $install/* $fs }