You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
1 year ago
|
# Copyright 1999-2023 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
3 years ago
|
inherit flag-o-matic
|
||
|
|
||
4 years ago
|
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"
|
||
4 years ago
|
KEYWORDS="amd64 ~hppa ppc sparc x86"
|
||
2 years ago
|
IUSE="aac alsa debug jack libsamplerate mp3 opus pulseaudio twolame vorbis"
|
||
4 years ago
|
|
||
|
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 )
|
||
1 year ago
|
pulseaudio? ( media-libs/libpulse )
|
||
4 years ago
|
twolame? ( media-sound/twolame )
|
||
|
vorbis? ( media-libs/libvorbis )"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
|
||
2 years ago
|
REQUIRED_USE="|| ( aac mp3 opus twolame vorbis )
|
||
4 years ago
|
|| ( alsa jack pulseaudio )"
|
||
|
|
||
|
DOCS=( AUTHORS ChangeLog FAQ NEWS README TODO )
|
||
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-1.3-include.patch"
|
||
|
)
|
||
|
|
||
4 years ago
|
src_configure() {
|
||
3 years ago
|
# bug #787161
|
||
|
append-cxxflags -std=c++14
|
||
|
|
||
4 years ago
|
local myeconfargs=(
|
||
|
$(use_enable debug)
|
||
|
$(use_with aac faac)
|
||
2 years ago
|
--without-aacplus
|
||
4 years ago
|
$(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
|
||
|
}
|