summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-04 18:12:22 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-04 18:13:25 +0100
commitd73f9bac9b6a00dbf08b04f23a36c63aad90d4f5 (patch)
tree0501b394033ef97eb9aa37d0b104ef2e9dcd2976 /media-sound/strawberry
parentmedia-sound/strawberry: Bump to version 0.8.5 (diff)
downloadgentoo-d73f9bac9b6a00dbf08b04f23a36c63aad90d4f5.tar.gz
gentoo-d73f9bac9b6a00dbf08b04f23a36c63aad90d4f5.tar.bz2
gentoo-d73f9bac9b6a00dbf08b04f23a36c63aad90d4f5.zip
media-sound/strawberry: Synced live ebuild
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/strawberry')
-rw-r--r--media-sound/strawberry/strawberry-9999.ebuild34
1 files changed, 24 insertions, 10 deletions
diff --git a/media-sound/strawberry/strawberry-9999.ebuild b/media-sound/strawberry/strawberry-9999.ebuild
index 2e4b045125e9..f13c436d5df3 100644
--- a/media-sound/strawberry/strawberry-9999.ebuild
+++ b/media-sound/strawberry/strawberry-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake flag-o-matic l10n virtualx xdg
-PLOCALES="cs de es fr hu id it ko nb pl ru"
+PLOCALES="cs de es fr hu id it ko nb pl ru sv"
DESCRIPTION="Modern music player and library organizer based on Clementine and Qt"
HOMEPAGE="https://www.strawbs.org/"
@@ -19,7 +19,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="cdda +dbus debug ipod mms mtp pulseaudio +udisks"
+IUSE="cdda +dbus debug +gstreamer ipod mtp pulseaudio +udisks vlc"
REQUIRED_USE="
udisks? ( dbus )
@@ -44,26 +44,30 @@ COMMON_DEPEND="
dev-qt/qtwidgets:5
media-libs/alsa-lib
media-libs/chromaprint:=
- media-libs/gstreamer:1.0
- media-libs/gst-plugins-base:1.0
>=media-libs/libmygpo-qt-1.0.9[qt5(+)]
>=media-libs/taglib-1.11.1_p20181028
- media-video/vlc
sys-libs/zlib
virtual/glu
x11-libs/libX11
cdda? ( dev-libs/libcdio:= )
dbus? ( dev-qt/qtdbus:5 )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ )
ipod? ( >=media-libs/libgpod-0.8.0 )
mtp? ( >=media-libs/libmtp-1.0.0 )
pulseaudio? ( media-sound/pulseaudio )
+ vlc? ( media-video/vlc )
"
# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway;
RDEPEND="${COMMON_DEPEND}
- media-plugins/gst-plugins-meta:1.0
- media-plugins/gst-plugins-soup:1.0
- media-plugins/gst-plugins-taglib:1.0
- mms? ( media-plugins/gst-plugins-libmms:1.0 )
+ gstreamer? (
+ media-plugins/gst-plugins-libmms:1.0
+ media-plugins/gst-plugins-meta:1.0
+ media-plugins/gst-plugins-soup:1.0
+ media-plugins/gst-plugins-taglib:1.0
+ )
mtp? ( gnome-base/gvfs[mtp] )
udisks? ( sys-fs/udisks:2 )
"
@@ -77,6 +81,14 @@ DEPEND="${COMMON_DEPEND}
DOCS=( Changelog README.md )
+REQUIRED_USE="
+ || ( gstreamer vlc )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.8.5-make_backends_optional.patch" #757780
+)
+
src_prepare() {
l10n_find_plocales_changes "src/translations" "" ".po"
@@ -98,7 +110,9 @@ src_configure() {
-DENABLE_LIBMTP="$(usex mtp)"
-DENABLE_LIBPULSE="$(usex pulseaudio)"
-DENABLE_UDISKS2="$(usex udisks)"
+ -DUSE_GSTREAMER="$(usex gstreamer)"
-DUSE_SYSTEM_TAGLIB=ON
+ -DUSE_VLC="$(usex vlc)"
-DWITH_QT6=OFF
)