summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsqrtd <v@sqrtd.dev>2023-07-25 22:04:02 +0100
committerSam James <sam@gentoo.org>2023-07-26 03:47:09 +0100
commit2c6e1f7a082aaa066a7ed66c6b64017981b13bd0 (patch)
treecb51cd3f15214de35d2ab84288e9d62e4507d842 /media-sound/cmus
parentdev-util/cmake: add 3.27.1 (diff)
downloadgentoo-2c6e1f7a082aaa066a7ed66c6b64017981b13bd0.tar.gz
gentoo-2c6e1f7a082aaa066a7ed66c6b64017981b13bd0.tar.bz2
gentoo-2c6e1f7a082aaa066a7ed66c6b64017981b13bd0.zip
media-sound/cmus: add sndio useflag
Signed-off-by: sqrtd <v@sqrtd.dev> Closes: https://github.com/gentoo/gentoo/pull/32039 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/cmus')
-rw-r--r--media-sound/cmus/cmus-2.10.0-r1.ebuild6
-rw-r--r--media-sound/cmus/cmus-9999.ebuild4
-rw-r--r--media-sound/cmus/metadata.xml1
3 files changed, 8 insertions, 3 deletions
diff --git a/media-sound/cmus/cmus-2.10.0-r1.ebuild b/media-sound/cmus/cmus-2.10.0-r1.ebuild
index 6851ecd7f35d..db9395714548 100644
--- a/media-sound/cmus/cmus-2.10.0-r1.ebuild
+++ b/media-sound/cmus/cmus-2.10.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ HOMEPAGE="https://cmus.github.io/"
LICENSE="GPL-2"
SLOT="0"
IUSE="aac alsa ao cddb cdio debug discid elogind examples ffmpeg +flac jack libsamplerate
- +mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio systemd tremor +unicode
+ +mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio sndio systemd tremor +unicode
+vorbis wavpack"
REQUIRED_USE="?? ( elogind systemd )"
@@ -47,6 +47,7 @@ DEPEND="
musepack? ( media-sound/musepack-tools )
opus? ( media-libs/opusfile )
pulseaudio? ( media-sound/pulseaudio )
+ sndio? ( media-sound/sndio )
systemd? ( sys-apps/systemd )
tremor? ( media-libs/tremor )
!tremor? ( vorbis? ( media-libs/libvorbis ) )
@@ -108,6 +109,7 @@ src_configure() {
my_config pulseaudio CONFIG_PULSE
my_config alsa CONFIG_ALSA
my_config jack CONFIG_JACK
+ my_config sndio CONFIG_SNDIO
my_config libsamplerate CONFIG_SAMPLERATE
my_config ao CONFIG_AO
my_config oss CONFIG_OSS
diff --git a/media-sound/cmus/cmus-9999.ebuild b/media-sound/cmus/cmus-9999.ebuild
index b0dfa1095e31..fc4d20a5eac3 100644
--- a/media-sound/cmus/cmus-9999.ebuild
+++ b/media-sound/cmus/cmus-9999.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://cmus.github.io/"
LICENSE="GPL-2"
SLOT="0"
IUSE="aac alsa ao cddb cdio debug discid elogind examples ffmpeg +flac jack libsamplerate
- +mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio systemd tremor +unicode
+ +mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio sndio systemd tremor +unicode
+vorbis wavpack"
REQUIRED_USE="?? ( elogind systemd )"
@@ -47,6 +47,7 @@ DEPEND="
musepack? ( media-sound/musepack-tools )
opus? ( media-libs/opusfile )
pulseaudio? ( media-libs/libpulse )
+ sndio? ( media-sound/sndio )
systemd? ( sys-apps/systemd )
tremor? ( media-libs/tremor )
!tremor? ( vorbis? ( media-libs/libvorbis ) )
@@ -108,6 +109,7 @@ src_configure() {
my_config pulseaudio CONFIG_PULSE
my_config alsa CONFIG_ALSA
my_config jack CONFIG_JACK
+ my_config sndio CONFIG_SNDIO
my_config libsamplerate CONFIG_SAMPLERATE
my_config ao CONFIG_AO
my_config oss CONFIG_OSS
diff --git a/media-sound/cmus/metadata.xml b/media-sound/cmus/metadata.xml
index 4e3d46faac49..ec0ba5eef581 100644
--- a/media-sound/cmus/metadata.xml
+++ b/media-sound/cmus/metadata.xml
@@ -10,6 +10,7 @@
<flag name="discid">Enable reading the ID of the inserted CD</flag>
<flag name="elogind">Enable MPRIS support via <pkg>sys-auth/elogind</pkg></flag>
<flag name="pidgin">Install support script for <pkg>net-im/pidgin</pkg></flag>
+ <flag name="sndio">Add support for <pkg>media-sound/sndio</pkg></flag>
<flag name="systemd">Enable MPRIS support via <pkg>sys-apps/systemd</pkg></flag>
<flag name="tremor">Use libivorbis from <pkg>media-libs/tremor</pkg> instead of <pkg>media-libs/libvorbis</pkg></flag>
</use>