summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-06-09 15:46:09 +0000
committerwiz <wiz@pkgsrc.org>2019-06-09 15:46:09 +0000
commit1f0e147d6595761b99b7dcceb267498c2388e54c (patch)
treec7e4d58fd734daf97945eb832448acb3c7f894d0 /audio
parent0a13ebd82efc2ecd18774ec8340ce3822ed06256 (diff)
downloadpkgsrc-1f0e147d6595761b99b7dcceb267498c2388e54c.tar.gz
audio/cantata: import cantata-2.3.3
A graphical (Qt5) client for MPD, supporting the following features: * Multiple MPD collections. * Highly customisable layout. * Songs (optionally) grouped by album in play queue. * Context view to show artist, album, and song information of current track. * Simple tag editor. * File organizer - use tags to organize files and folders. * Ability to calculate ReplyGain tags. * Dynamic playlists. * Smart Playlists. * Online services; Jamendo, Magnatune, SoundCloud, and Podcasts. * Radio stream support - with the ability to search for streams via TuneIn, ShoutCast, or Dirble. * USB-Mass-Storage and MTP device support. * Audio CD ripping and playback. * Playback of non-MPD songs - via simple in-built HTTP server. * MPRISv2 DBUS interface. * Scrobbling. * Ratings support.
Diffstat (limited to 'audio')
-rw-r--r--audio/cantata/DESCR21
-rw-r--r--audio/cantata/Makefile32
-rw-r--r--audio/cantata/PLIST21
-rw-r--r--audio/cantata/distinfo7
-rw-r--r--audio/cantata/patches/patch-3rdparty_solid-lite_CMakeLists.txt15
5 files changed, 96 insertions, 0 deletions
diff --git a/audio/cantata/DESCR b/audio/cantata/DESCR
new file mode 100644
index 00000000000..ddba1202d18
--- /dev/null
+++ b/audio/cantata/DESCR
@@ -0,0 +1,21 @@
+A graphical (Qt5) client for MPD, supporting the following features:
+
+ * Multiple MPD collections.
+ * Highly customisable layout.
+ * Songs (optionally) grouped by album in play queue.
+ * Context view to show artist, album, and song information of
+ current track.
+ * Simple tag editor.
+ * File organizer - use tags to organize files and folders.
+ * Ability to calculate ReplyGain tags.
+ * Dynamic playlists.
+ * Smart Playlists.
+ * Online services; Jamendo, Magnatune, SoundCloud, and Podcasts.
+ * Radio stream support - with the ability to search for streams
+ via TuneIn, ShoutCast, or Dirble.
+ * USB-Mass-Storage and MTP device support.
+ * Audio CD ripping and playback.
+ * Playback of non-MPD songs - via simple in-built HTTP server.
+ * MPRISv2 DBUS interface.
+ * Scrobbling.
+ * Ratings support.
diff --git a/audio/cantata/Makefile b/audio/cantata/Makefile
new file mode 100644
index 00000000000..1ec43a7ce6f
--- /dev/null
+++ b/audio/cantata/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2019/06/09 15:46:09 wiz Exp $
+
+DISTNAME= cantata-2.3.3
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=CDrummond/}
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/CDrummond/cantata/
+COMMENT= Qt5 Graphical MPD Client
+LICENSE= gnu-gpl-v3
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= bash:run perl:run
+
+REPLACE_PERL+= playlists/cantata-dynamic
+REPLACE_BASH+= cantata-remote.cmake
+
+.include "../../audio/libebur128/buildlink3.mk"
+.include "../../audio/mpg123/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../devel/libmtp/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../net/avahi/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/cantata/PLIST b/audio/cantata/PLIST
new file mode 100644
index 00000000000..f9f44167bbd
--- /dev/null
+++ b/audio/cantata/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/09 15:46:09 wiz Exp $
+bin/cantata
+lib/cantata/cantata-replaygain
+lib/cantata/cantata-tags
+share/applications/cantata.desktop
+share/cantata/icons/podcasts.png
+share/cantata/icons/soundcloud.png
+share/cantata/icons/stream.png
+share/cantata/scripts/cantata-dynamic
+share/cantata/scripts/cantata-remote
+share/icons/hicolor/128x128/apps/cantata.png
+share/icons/hicolor/16x16/apps/cantata.png
+share/icons/hicolor/22x22/apps/cantata.png
+share/icons/hicolor/24x24/apps/cantata.png
+share/icons/hicolor/256x256/apps/cantata.png
+share/icons/hicolor/32x32/apps/cantata.png
+share/icons/hicolor/48x48/apps/cantata.png
+share/icons/hicolor/512x512/apps/cantata.png
+share/icons/hicolor/64x64/apps/cantata.png
+share/icons/hicolor/scalable/apps/cantata.svg
+share/icons/hicolor/symbolic/apps/cantata-symbolic.svg
diff --git a/audio/cantata/distinfo b/audio/cantata/distinfo
new file mode 100644
index 00000000000..a1a72fa4bc7
--- /dev/null
+++ b/audio/cantata/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/06/09 15:46:09 wiz Exp $
+
+SHA1 (cantata-2.3.3.tar.bz2) = 19a235897c556f7fcc39be51842491ccb163d135
+RMD160 (cantata-2.3.3.tar.bz2) = f42da1ae832f27e32b622f47f69e9ba27ca5dde4
+SHA512 (cantata-2.3.3.tar.bz2) = 8314930c9e16a5811f607f131ce7134daa0c6de81c5f87d45967c076895540b388b89b3f2cbd82950f6defb1087e61923c1719670f19b4ed3c074f05fe8577c6
+Size (cantata-2.3.3.tar.bz2) = 2445139 bytes
+SHA1 (patch-3rdparty_solid-lite_CMakeLists.txt) = 537eefc6c7b75412a1af39fb7b4db88160ba806d
diff --git a/audio/cantata/patches/patch-3rdparty_solid-lite_CMakeLists.txt b/audio/cantata/patches/patch-3rdparty_solid-lite_CMakeLists.txt
new file mode 100644
index 00000000000..ce722ffac25
--- /dev/null
+++ b/audio/cantata/patches/patch-3rdparty_solid-lite_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-3rdparty_solid-lite_CMakeLists.txt,v 1.1 2019/06/09 15:46:09 wiz Exp $
+
+Limit udev to Linux.
+
+--- 3rdparty/solid-lite/CMakeLists.txt.orig 2018-03-07 19:04:41.000000000 +0000
++++ 3rdparty/solid-lite/CMakeLists.txt 2019-06-09 12:52:54.960229954 +0000
+@@ -45,7 +45,7 @@
+ backends/shared/rootdevice.cpp
+ )
+
+- if (NOT WIN32 AND NOT APPLE AND WITH_SOLID_UDISKS2)
++ if (LINUX AND WITH_SOLID_UDISKS2)
+ find_package( UDev REQUIRED)
+ macro_log_feature( UDEV_FOUND "UDev" "UDev support for Solid" "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" FALSE "" "Allows Solid to use UDev to provide information about devices on Linux" )
+ endif()