wok annotate clementine/receipt @ rev 25122

Up apache (2.4.54)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 08:48:09 2022 +0000 (2022-06-28)
parents 5ea0ce1cecc0
children
rev   line source
al@18983 1 # SliTaz package receipt.
al@18983 2
al@18983 3 PACKAGE="clementine"
erkan@22440 4 VERSION="1.2.3"
al@18983 5 CATEGORY="multimedia"
Hans-G?nter@21738 6 SHORT_DESC="A multiplatform music player."
al@18983 7 MAINTAINER="shevtsov.anton@gmail.com"
al@18983 8 LICENSE="GPL3"
Hans-G?nter@21738 9 WEB_SITE="https://www.clementine-player.org/"
Hans-G?nter@21738 10
al@18983 11 TARBALL="Clementine-$VERSION.tar.gz"
al@18983 12 WGET_URL="https://github.com/clementine-player/Clementine/archive/$VERSION.tar.gz"
al@18983 13
al@18983 14 DEPENDS="ffmpeg fftw glew gst-plugins-base libcdio libgpod libmtp libQtDBus \
Hans-G?nter@21738 15 libQtOpenGL libQtWebkit protobuf qca qjson taglib"
Hans-G?nter@22173 16 BUILD_DEPENDS="autoconf automake binutils chromaprint-dev cmake dbus-dev
Hans-G?nter@22173 17 dbus-glib-dev fftw-dev gettext gettext-base gettext-tools glew-dev
Hans-G?nter@22173 18 glib glib-dev gst-plugins-bad-dev gst-plugins-base-dev gst-plugins-good-dev \
erkan@22440 19 gst-plugins-ugly-dev gstreamer-dev json-glib json-glib-dev lame-dev \
Hans-G?nter@21738 20 libatomic libboost-dev libcdio-dev libcdio-utils libcrypto-dev libcurl \
Hans-G?nter@21738 21 libgio-dev libglu-mesa-dev libglw-mesa-dev libgpod-dev libmtp-dev \
Hans-G?nter@21738 22 libplist-dev libusb-dev mesa-dev protobuf-dev pulseaudio-dev qca-dev \
Hans-G?nter@21738 23 qjson-dev qmake qt4 Qt4-dev sqlite-dev taglib-dev udisks-dev"
al@18983 24
pascal@24055 25 current_version()
pascal@24055 26 {
pascal@24079 27 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
pascal@24079 28 sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q'
pascal@24055 29 }
pascal@24055 30
al@18983 31 compile_rules()
al@18983 32 {
al@18983 33 patch -Np1 -i $stuff/udisks-namespace.patch
Hans-G?nter@21738 34
Hans-G?nter@21738 35 mkdir build
Hans-G?nter@21738 36 cd build
Hans-G?nter@21738 37 cmake .. \
Hans-G?nter@21738 38 -DCMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@21738 39 -Wno-dev &&
al@18983 40 make &&
al@18983 41 make install
al@18983 42 }
al@18983 43
al@18983 44 genpkg_rules()
al@18983 45 {
al@18983 46 cp -a $install/* $fs
al@18983 47 }