summaryrefslogtreecommitdiff
path: root/media-sound/cantata
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:59:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:59:41 +0100
commit2d12ec8fae106375fbffd95c1fbdeba24b59e7e6 (patch)
treee51a49dd51a4d45ff7521f0d8e65938b788fed44 /media-sound/cantata
parent19d0d3f7ff0679e1775e196d1cd56987a6654094 (diff)
media-sound/cantata : version bump
Diffstat (limited to 'media-sound/cantata')
-rw-r--r--media-sound/cantata/Manifest2
-rw-r--r--media-sound/cantata/cantata-2.3.2-r1.ebuild (renamed from media-sound/cantata/cantata-2.3.1-r1.ebuild)5
-rw-r--r--media-sound/cantata/files/cantata-2.3.2-opusfile.patch22
3 files changed, 26 insertions, 3 deletions
diff --git a/media-sound/cantata/Manifest b/media-sound/cantata/Manifest
index b4b6ce48..594c43dd 100644
--- a/media-sound/cantata/Manifest
+++ b/media-sound/cantata/Manifest
@@ -1 +1 @@
-DIST cantata-2.3.1.tar.bz2 2414702 BLAKE2B c44f7e95091dd4f84e630236e7f681d2ea47cd90705cdeeb17d3e892d4e0b978f88d4cb648841543494670c5dbc1a00ba9e2377dfd684b2fdee9223d4b6b28e3 SHA512 8199b08b1f3d2111fc50fbc4e5b1edced6ac480fd213a11eee569deeebf3a3f1167c2b53c3117bb90b2b81b46792c56b99b65eae5d2b290c0f3b3f90736108e5
+DIST cantata-2.3.2.tar.bz2 2440595 BLAKE2B d77a41752ff9660f27da11748497b394667f456edf52d785b3ebf31446045a4de2bcc9b22ac2d68dfd4e0f00d10a53ae9e79643e116783879eb68bab48b59589 SHA512 d55ee5f2194626db3465d8c499459bac82656e12bdb5f771581eef9d6a42ee25fc9b31e8bb5cea8913cbd47a967141f990efddb353797f81e722b7b99a73b1a4
diff --git a/media-sound/cantata/cantata-2.3.1-r1.ebuild b/media-sound/cantata/cantata-2.3.2-r1.ebuild
index 9537ff26..d8af6410 100644
--- a/media-sound/cantata/cantata-2.3.1-r1.ebuild
+++ b/media-sound/cantata/cantata-2.3.2-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PLOCALES="cs da de en_GB es fr hu it ja ko pl ru zh_CN"
+PLOCALES="cs da de en_GB es fr hu it ja ko pl pt_BR ru zh_CN"
inherit cmake-utils gnome2-utils l10n qmake-utils xdg-utils
DESCRIPTION="Featureful and configurable Qt client for the music player daemon (MPD)"
@@ -48,7 +48,7 @@ COMMON_DEPEND="
media-sound/mpg123
virtual/ffmpeg
)
- streaming? ( media-video/vlc:0= )
+ streaming? ( dev-qt/qtmultimedia:5 )
taglib? (
media-libs/taglib[asf(+),mp4(+)]
udisks? ( sys-fs/udisks:2 )
@@ -68,6 +68,7 @@ RESTRICT="test"
PATCHES=(
"${FILESDIR}/${PN}-2.2.0-headers.patch"
+ "${FILESDIR}/${P}-opusfile.patch"
)
src_prepare() {
diff --git a/media-sound/cantata/files/cantata-2.3.2-opusfile.patch b/media-sound/cantata/files/cantata-2.3.2-opusfile.patch
new file mode 100644
index 00000000..956edf1d
--- /dev/null
+++ b/media-sound/cantata/files/cantata-2.3.2-opusfile.patch
@@ -0,0 +1,22 @@
+From cdf4363df91475b091ad20000078ca8ef21ce91f Mon Sep 17 00:00:00 2001
+From: Craig Drummond <craig.p.drummond@gmail.com>
+Date: Sat, 11 Aug 2018 08:31:40 +0100
+Subject: [PATCH] Add '.opus' to list of recognised extensions for local files.
+
+---
+ models/playqueuemodel.cpp | 2 +-
+ 1 file changed, 1 insertions(+), 1 deletion(-)
+
+diff --git a/models/playqueuemodel.cpp b/models/playqueuemodel.cpp
+index deaaa78f3..c6c4c4130 100644
+--- a/models/playqueuemodel.cpp
++++ b/models/playqueuemodel.cpp
+@@ -89,7 +89,7 @@ QSet<QString> PlayQueueModel::constFileExtensions = QSet<QString>()
+ << QLatin1String("m4b") << QLatin1String("mp4") << QLatin1String("m4p") << QLatin1String("wav") << QLatin1String("wv")
+ << QLatin1String("wvp") << QLatin1String("aiff") << QLatin1String("aif") << QLatin1String("aifc") << QLatin1String("ape")
+ << QLatin1String("spx") << QLatin1String("tta") << QLatin1String("mpc") << QLatin1String("mpp") << QLatin1String("mp+")
+- << QLatin1String("dff") << QLatin1String("dsf")
++ << QLatin1String("dff") << QLatin1String("dsf") << QLatin1String("opus")
+ // And playlists...
+ << QLatin1String("m3u") << QLatin1String("m3u8") << constPlsPlaylist << constXspfPlaylist;
+