diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-29 19:20:43 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-29 20:29:39 +0200 |
commit | e9c1ffe356d51abc7e0af2cf81db15e9943c7340 (patch) | |
tree | 7d46789a0a852d8e150ad27906cb5997b4897052 /media-sound/darkice/darkice-1.4-r1.ebuild | |
parent | media-sound/audiotools: Switch IUSE=pulseaudio to media-libs/libpulse (diff) | |
download | gentoo-e9c1ffe356d51abc7e0af2cf81db15e9943c7340.tar.gz gentoo-e9c1ffe356d51abc7e0af2cf81db15e9943c7340.tar.bz2 gentoo-e9c1ffe356d51abc7e0af2cf81db15e9943c7340.zip |
media-sound/darkice: Switch IUSE=pulseaudio to media-libs/libpulse
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/darkice/darkice-1.4-r1.ebuild')
-rw-r--r-- | media-sound/darkice/darkice-1.4-r1.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/darkice/darkice-1.4-r1.ebuild b/media-sound/darkice/darkice-1.4-r1.ebuild new file mode 100644 index 000000000000..f369c85d6659 --- /dev/null +++ b/media-sound/darkice/darkice-1.4-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +DESCRIPTION="A live audio streamer" +HOMEPAGE="http://www.darkice.org/" +SRC_URI="https://github.com/rafael2k/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc sparc x86" +IUSE="aac alsa debug jack libsamplerate mp3 opus pulseaudio twolame vorbis" + +RDEPEND="aac? ( media-libs/faac ) + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + libsamplerate? ( media-libs/libsamplerate ) + mp3? ( media-sound/lame ) + opus? ( media-libs/opus ) + pulseaudio? ( media-libs/libpulse ) + twolame? ( media-sound/twolame ) + vorbis? ( media-libs/libvorbis )" +DEPEND="${RDEPEND}" + +REQUIRED_USE="|| ( aac mp3 opus twolame vorbis ) + || ( alsa jack pulseaudio )" + +DOCS=( AUTHORS ChangeLog FAQ NEWS README TODO ) + +PATCHES=( + "${FILESDIR}/${PN}-1.3-include.patch" +) + +src_configure() { + # bug #787161 + append-cxxflags -std=c++14 + + local myeconfargs=( + $(use_enable debug) + $(use_with aac faac) + --without-aacplus + $(use_with alsa) + $(use_with jack) + $(use_with libsamplerate samplerate) + $(use_with mp3 lame) + $(use_with opus) + $(use_with pulseaudio) + $(use_with twolame) + $(use_with vorbis) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + einstalldocs +} |