commit: 2c6e1f7a082aaa066a7ed66c6b64017981b13bd0 Author: sqrtd <v <AT> sqrtd <DOT> dev> AuthorDate: Tue Jul 25 21:04:02 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jul 26 02:47:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6e1f7a
media-sound/cmus: add sndio useflag Signed-off-by: sqrtd <v <AT> sqrtd.dev> Closes: https://github.com/gentoo/gentoo/pull/32039 Signed-off-by: Sam James <sam <AT> gentoo.org> media-sound/cmus/cmus-2.10.0-r1.ebuild | 6 ++++-- media-sound/cmus/cmus-9999.ebuild | 4 +++- media-sound/cmus/metadata.xml | 1 + 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>