wok rev 18983

Add clementine (thanks Shevtsov Anton)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 16 20:46:18 2016 +0200 (2016-03-16)
parents d834fc8cdea0
children 8ea64ddbb51e
files clementine/description.txt clementine/receipt clementine/stuff/udisks-namespace.patch
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clementine/description.txt	Wed Mar 16 20:46:18 2016 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +Clementine is a modern music player and library organizer
     1.5 +
     1.6 +Clementine is a multiplatform music player. It is inspired by Amarok 1.4,
     1.7 +focusing on a fast and easy-to-use interface for searching and playing your
     1.8 +music.
     1.9 +
    1.10 +About & Features:
    1.11 +
    1.12 +  * Search and play your local music library.
    1.13 +  * Listen to internet radio from Spotify, Grooveshark, SomaFM, Magnatune,
    1.14 +    Jamendo, SKY.fm, Digitally Imported, JAZZRADIO.com, Soundcloud, Icecast and
    1.15 +    Subsonic servers.
    1.16 +  * Search and play songs you've uploaded to Box, Dropbox, Google Drive, and
    1.17 +    OneDrive
    1.18 +  * Create smart playlists and dynamic playlists.
    1.19 +  * Tabbed playlists, import and export M3U, XSPF, PLS and ASX.
    1.20 +  * CUE sheet support.
    1.21 +  * Play audio CDs.
    1.22 +  * Visualisations from projectM.
    1.23 +  * Lyrics and artist biographies and photos.
    1.24 +  * Transcode music into MP3, Ogg Vorbis, Ogg Speex, FLAC or AAC.
    1.25 +  * Edit tags on MP3 and OGG files, organise your music.
    1.26 +  * Fetch missing tags from MusicBrainz.
    1.27 +  * Discover and download Podcasts.
    1.28 +  * Download missing album cover art from Last.fm and Amazon.
    1.29 +  * Cross-platform - works on Windows, Mac OS X and Linux.
    1.30 +  * Native desktop notifications on Linux (libnotify) and Mac OS X (Growl).
    1.31 +  * Remote control using an Android device, a Wii Remote, MPRIS or the
    1.32 +    command-line.
    1.33 +  * Copy music to your iPod, iPhone, MTP or mass-storage USB player.
    1.34 +  * Queue manager.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/clementine/receipt	Wed Mar 16 20:46:18 2016 +0200
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="clementine"
     2.7 +VERSION="1.2.3"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="Clementine is a multiplatform music player"
    2.10 +MAINTAINER="shevtsov.anton@gmail.com"
    2.11 +LICENSE="GPL3"
    2.12 +WEB_SITE="http://www.clementine-player.org/"
    2.13 +TARBALL="Clementine-$VERSION.tar.gz"
    2.14 +WGET_URL="https://github.com/clementine-player/Clementine/archive/$VERSION.tar.gz"
    2.15 +
    2.16 +DEPENDS="ffmpeg fftw glew gst-plugins-base libcdio libgpod libmtp libQtDBus \
    2.17 +libQtOpenGL libQtWebkit protobuf qca qjson taglib"
    2.18 +BUILD_DEPENDS="cmake libglu-mesa-dev libglw-mesa-dev libcrypto-dev lame-dev \
    2.19 +taglib-dev slitaz-toolchain binutils dbus-dev libcurl mesa-dev udisks-dev \
    2.20 +qca-dev libgpod-dev libplist-dev libusb-dev libmtp-dev libgio-dev \
    2.21 +pulseaudio-dev libcdio-dev libcdio-utils gstreamer-dev gst-plugins-bad-dev \
    2.22 +gst-plugins-base-dev gst-plugins-good-dev gst-plugins-ugly-dev libboost-dev \
    2.23 +gettext-base gettext-tools gettext Qt4-dev qt4 qt4-base automake autoconf gcc \
    2.24 +glib glib-dev dbus-glib-dev fftw-dev glew-dev json-glib json-glib-dev \
    2.25 +qjson-dev sqlite-dev protobuf-dev"
    2.26 +
    2.27 +compile_rules()
    2.28 +{
    2.29 +	mkdir build
    2.30 +	patch -Np1 -i $stuff/udisks-namespace.patch
    2.31 +	cd $src/build
    2.32 +	cmake \
    2.33 +		-DCMAKE_INSTALL_PREFIX=/usr \
    2.34 +		-Wno-dev ../ &&
    2.35 +	make &&
    2.36 +	make install
    2.37 +}
    2.38 +
    2.39 +genpkg_rules()
    2.40 +{
    2.41 +	cp -a $install/* $fs
    2.42 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/clementine/stuff/udisks-namespace.patch	Wed Mar 16 20:46:18 2016 +0200
     3.3 @@ -0,0 +1,33 @@
     3.4 +---
     3.5 + src/CMakeLists.txt | 9 ++++-----
     3.6 + 1 file changed, 4 insertions(+), 5 deletions(-)
     3.7 +
     3.8 +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
     3.9 +index 650fa74..775b0a5 100644
    3.10 +--- a/src/CMakeLists.txt
    3.11 ++++ b/src/CMakeLists.txt
    3.12 +@@ -892,11 +892,6 @@ optional_source(LINUX SOURCES widgets/osd_x11.cpp)
    3.13 + if(HAVE_DBUS)
    3.14 +   file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/dbus)
    3.15 + 
    3.16 +-  # Hack to get it to generate interfaces without namespaces - required
    3.17 +-  # because otherwise org::freedesktop::UDisks and
    3.18 +-  # org::freedesktop::UDisks::Device conflict.
    3.19 +-  list(APPEND QT_DBUSXML2CPP_EXECUTABLE -N)
    3.20 +-
    3.21 +   # MPRIS DBUS interfaces
    3.22 +   qt4_add_dbus_adaptor(SOURCES
    3.23 +       dbus/org.freedesktop.MediaPlayer.player.xml
    3.24 +@@ -964,6 +959,10 @@ if(HAVE_DBUS)
    3.25 + 
    3.26 +   # DeviceKit DBUS interfaces
    3.27 +   if(HAVE_DEVICEKIT)
    3.28 ++    set_source_files_properties(dbus/org.freedesktop.UDisks.xml
    3.29 ++        PROPERTIES NO_NAMESPACE dbus/udisks)
    3.30 ++    set_source_files_properties(dbus/org.freedesktop.UDisks.Device.xml
    3.31 ++        PROPERTIES NO_NAMESPACE dbus/udisksdevice)
    3.32 +     qt4_add_dbus_interface(SOURCES
    3.33 +         dbus/org.freedesktop.UDisks.xml
    3.34 +         dbus/udisks)
    3.35 +-- 
    3.36 +2.0.3