# HG changeset patch # User Aleksej Bobylev # Date 1458153978 -7200 # Node ID 0281eccb41f4330eed52a25660e5e9ecda8781bb # Parent d834fc8cdea02398fced72fab9b5919617fccf6c Add clementine (thanks Shevtsov Anton) diff -r d834fc8cdea0 -r 0281eccb41f4 clementine/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clementine/description.txt Wed Mar 16 20:46:18 2016 +0200 @@ -0,0 +1,31 @@ +Clementine is a modern music player and library organizer + +Clementine is a multiplatform music player. It is inspired by Amarok 1.4, +focusing on a fast and easy-to-use interface for searching and playing your +music. + +About & Features: + + * Search and play your local music library. + * Listen to internet radio from Spotify, Grooveshark, SomaFM, Magnatune, + Jamendo, SKY.fm, Digitally Imported, JAZZRADIO.com, Soundcloud, Icecast and + Subsonic servers. + * Search and play songs you've uploaded to Box, Dropbox, Google Drive, and + OneDrive + * Create smart playlists and dynamic playlists. + * Tabbed playlists, import and export M3U, XSPF, PLS and ASX. + * CUE sheet support. + * Play audio CDs. + * Visualisations from projectM. + * Lyrics and artist biographies and photos. + * Transcode music into MP3, Ogg Vorbis, Ogg Speex, FLAC or AAC. + * Edit tags on MP3 and OGG files, organise your music. + * Fetch missing tags from MusicBrainz. + * Discover and download Podcasts. + * Download missing album cover art from Last.fm and Amazon. + * Cross-platform - works on Windows, Mac OS X and Linux. + * Native desktop notifications on Linux (libnotify) and Mac OS X (Growl). + * Remote control using an Android device, a Wii Remote, MPRIS or the + command-line. + * Copy music to your iPod, iPhone, MTP or mass-storage USB player. + * Queue manager. diff -r d834fc8cdea0 -r 0281eccb41f4 clementine/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clementine/receipt Wed Mar 16 20:46:18 2016 +0200 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="clementine" +VERSION="1.2.3" +CATEGORY="multimedia" +SHORT_DESC="Clementine is a multiplatform music player" +MAINTAINER="shevtsov.anton@gmail.com" +LICENSE="GPL3" +WEB_SITE="http://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="cmake libglu-mesa-dev libglw-mesa-dev libcrypto-dev lame-dev \ +taglib-dev slitaz-toolchain binutils dbus-dev libcurl mesa-dev udisks-dev \ +qca-dev libgpod-dev libplist-dev libusb-dev libmtp-dev libgio-dev \ +pulseaudio-dev libcdio-dev libcdio-utils gstreamer-dev gst-plugins-bad-dev \ +gst-plugins-base-dev gst-plugins-good-dev gst-plugins-ugly-dev libboost-dev \ +gettext-base gettext-tools gettext Qt4-dev qt4 qt4-base automake autoconf gcc \ +glib glib-dev dbus-glib-dev fftw-dev glew-dev json-glib json-glib-dev \ +qjson-dev sqlite-dev protobuf-dev" + +compile_rules() +{ + mkdir build + patch -Np1 -i $stuff/udisks-namespace.patch + cd $src/build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev ../ && + make && + make install +} + +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r d834fc8cdea0 -r 0281eccb41f4 clementine/stuff/udisks-namespace.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clementine/stuff/udisks-namespace.patch Wed Mar 16 20:46:18 2016 +0200 @@ -0,0 +1,33 @@ +--- + src/CMakeLists.txt | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 650fa74..775b0a5 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -892,11 +892,6 @@ optional_source(LINUX SOURCES widgets/osd_x11.cpp) + if(HAVE_DBUS) + file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/dbus) + +- # Hack to get it to generate interfaces without namespaces - required +- # because otherwise org::freedesktop::UDisks and +- # org::freedesktop::UDisks::Device conflict. +- list(APPEND QT_DBUSXML2CPP_EXECUTABLE -N) +- + # MPRIS DBUS interfaces + qt4_add_dbus_adaptor(SOURCES + dbus/org.freedesktop.MediaPlayer.player.xml +@@ -964,6 +959,10 @@ if(HAVE_DBUS) + + # DeviceKit DBUS interfaces + if(HAVE_DEVICEKIT) ++ set_source_files_properties(dbus/org.freedesktop.UDisks.xml ++ PROPERTIES NO_NAMESPACE dbus/udisks) ++ set_source_files_properties(dbus/org.freedesktop.UDisks.Device.xml ++ PROPERTIES NO_NAMESPACE dbus/udisksdevice) + qt4_add_dbus_interface(SOURCES + dbus/org.freedesktop.UDisks.xml + dbus/udisks) +-- +2.0.3