summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-08-08 20:27:29 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-08 20:27:29 +0200
commit839ac5c2503c6dd9f400550cad5bcafdbc61419a (patch)
tree88ac7fb5d0ebbf150e55f4d703c9ef8039a9fa1a /media-sound/darkice
parentapp-metrics/node_exporter: 1.0.0 rc cleanup (diff)
downloadgentoo-839ac5c2503c6dd9f400550cad5bcafdbc61419a.tar.gz
gentoo-839ac5c2503c6dd9f400550cad5bcafdbc61419a.tar.bz2
gentoo-839ac5c2503c6dd9f400550cad5bcafdbc61419a.zip
media-sound/darkice: bump to 1.4, eapi7, switch to virtual/jack
Closes: https://bugs.gentoo.org/736290 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/darkice')
-rw-r--r--media-sound/darkice/Manifest1
-rw-r--r--media-sound/darkice/darkice-1.4.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/darkice/Manifest b/media-sound/darkice/Manifest
index 58ac53cedf09..a47295ce7fc7 100644
--- a/media-sound/darkice/Manifest
+++ b/media-sound/darkice/Manifest
@@ -1,2 +1,3 @@
DIST darkice-1.2.tar.gz 357026 BLAKE2B 3553711a05631feca198de83387234dc1ca85429ee69424910352e32d3ec4f8037ff33fcb4946aef0f84f58deb59e073be007856fd9cbe01b1570d4a0244ba98 SHA512 d8959819d70eb9b44a34d087fcf3897be5e4cb23681c049f8d88e251d83dfd86b90fdd37744fe27d861dfcbb6bb6e1521b48c5c7b4967bb061ede75596f0a823
DIST darkice-1.3.tar.gz 371411 BLAKE2B 45684ba4a14dc7cc6271400af11f4aa610fe3d079d1f497f277af866fef92f58080efb6fa6d230288444e78ea93e5cd1257d441d75cbbb7a9ce1696091ed0fe0 SHA512 710dde580005e999e9b11981affdefab6c01868710e9de29d93fb0f40db3321dfe3ab6ed2dc1887bb22ac9a0789fe1648d948f4453c92feb312f7af97c253674
+DIST darkice-1.4.tar.gz 364782 BLAKE2B 6097ddc022c4ac8dfba2deea2b6ab6e6ad86e49cc542d573572643faf6091a2ed2996f0e5c24045c22a60e972e4222c2ecd80342b2641fae52610778b9775aee SHA512 708ab08a45e216dce350f6cd36374e10d4606f77f0cde4dfbf35675d9d0778fb7a013b49fd62d713039d5fcfb9e7d66e6b7ae14acf1e5f142685eecdf7a865bc
diff --git a/media-sound/darkice/darkice-1.4.ebuild b/media-sound/darkice/darkice-1.4.ebuild
new file mode 100644
index 000000000000..0c54f4f70ac0
--- /dev/null
+++ b/media-sound/darkice/darkice-1.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 aacplus alsa debug jack libsamplerate mp3 opus pulseaudio twolame vorbis"
+
+RDEPEND="aac? ( media-libs/faac )
+ aacplus? ( media-libs/libaacplus )
+ alsa? ( media-libs/alsa-lib )
+ jack? ( virtual/jack )
+ libsamplerate? ( media-libs/libsamplerate )
+ mp3? ( media-sound/lame )
+ opus? ( media-libs/opus )
+ pulseaudio? ( media-sound/pulseaudio )
+ twolame? ( media-sound/twolame )
+ vorbis? ( media-libs/libvorbis )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="|| ( aac aacplus mp3 opus twolame vorbis )
+ || ( alsa jack pulseaudio )"
+
+DOCS=( AUTHORS ChangeLog FAQ NEWS README TODO )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_with aac faac)
+ $(use_with 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
+}