summaryrefslogtreecommitdiff
path: root/media-sound/darkice
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/darkice
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/darkice')
-rw-r--r--media-sound/darkice/Manifest8
-rw-r--r--media-sound/darkice/darkice-1.2.ebuild55
-rw-r--r--media-sound/darkice/darkice-1.3.ebuild53
-rw-r--r--media-sound/darkice/files/darkice-1.2-gcc47.patch11
-rw-r--r--media-sound/darkice/metadata.xml17
5 files changed, 144 insertions, 0 deletions
diff --git a/media-sound/darkice/Manifest b/media-sound/darkice/Manifest
new file mode 100644
index 000000000000..c8612c10ae55
--- /dev/null
+++ b/media-sound/darkice/Manifest
@@ -0,0 +1,8 @@
+AUX darkice-1.2-gcc47.patch 236 SHA256 bcd7e2bd9d5901e1118971c3db02ef26206198a0a850421b8c155358f7df1d16 SHA512 4f77a2694f2bb574c600edfe1d2b88dd1d9c932ff8280e8fe0739c50f5ec346c284d49ac34993e351582c1a4909b9dd380073df7a16b62b8db71c66b0f1c7326 WHIRLPOOL e90bd4880e44bef724e5ea37f4c253b0eb4b865b002cc210eaa8605c5b7a3f3aaceb61651c778a4a5fa95cb04cf59301108e445ab012d63aa482c2e8d8930a08
+DIST darkice-1.2.tar.gz 357026 SHA256 b3fba9be2d9c72f36b0659cd9ce0652c8f973b5c6498407f093da9a364fdb254 SHA512 d8959819d70eb9b44a34d087fcf3897be5e4cb23681c049f8d88e251d83dfd86b90fdd37744fe27d861dfcbb6bb6e1521b48c5c7b4967bb061ede75596f0a823 WHIRLPOOL f12ff32ce31cf508f556146baeb64860b3a698edf0836675a62c817b34fa1df499c3a281a3e2a66a1db5be3eb89d5fc91438184c998f4a7a0ad24e27fd7fea1e
+DIST darkice-1.3.tar.gz 371411 SHA256 2c0d0faaa627c0273b2ce8b38775a73ef97e34ef866862a398f660ad8f6e9de6 SHA512 710dde580005e999e9b11981affdefab6c01868710e9de29d93fb0f40db3321dfe3ab6ed2dc1887bb22ac9a0789fe1648d948f4453c92feb312f7af97c253674 WHIRLPOOL 60cb890227303468a58fa1610fec84cf878b71fbbd3f199dbe0c8ea37971340b7e3f87db2731e2186f7e5e87789b942961e12acd16dc2fac6aac6ee35e108d69
+EBUILD darkice-1.2.ebuild 1431 SHA256 0c6cf26fdeed1fc926a79b3aa2adb1ea76bd69e45541b639d26bc3475e976041 SHA512 69f6c945a9aab85805bf3a55636f4f2f292fc29ab22bc3f92bd9aa081beceafed55affa811178d5568d8be62d70fbd5749294cbe8d0ab77b2f36808a279282ee WHIRLPOOL d2bf1c724fe23520045b01214e4ac5ea018fa19fb88099aff9d1457369f93bc4e93ec804291870c0121d593fa66498ea2b9bbced65257a2bcf738cb4b33a3a2b
+EBUILD darkice-1.3.ebuild 1309 SHA256 a5e2df0f3244473700aad2273d6e5f4ce3fee2cfc1134994b955924db64ac556 SHA512 923c2bca3c9d7e166b46c945a771745a874feb3ad8244863fb3857882dd64005dee846164a0628f62f25db15201611c188864a320fc838c0a9fba496ad7f3e4e WHIRLPOOL 8171525a522553e171049e81c080dbf557100cab230885ac6aeea776ed5da5c4dd4137ce5184557ada055ca2bb6d81ed1de6b5ce74fabb2024200bebe1f03535
+MISC ChangeLog 3372 SHA256 ab1919f1d0534e101858608493c33fb3f69acba95a55194d9b19054f135c5028 SHA512 f6c5696e1d85ba30db170d5b2626c27591a0f9c771b513ca70056c3bfc07ea8cdef087301ada2074d1c82b137ccfe8de1430349903e3681a4c5002dd7d3c8adb WHIRLPOOL debec628ac2ec5c6dca0c4545d8f9cc2e66d5a7636034e995cdf04253ea3851b298f243def89b6ab1913bc8c6903c66bf1cda8fbbd858149676e4a71fcb6c165
+MISC ChangeLog-2015 8906 SHA256 1d23ee17d82646c3d2918c01a2094929a9aea0288e37725ab496a0c82457c502 SHA512 dc84035208ca3dc4f03375f523e45d3e0b0dbd92e299c1f41ff2bfac4c5ebdf1462f284966f02fdef88c049e3d08b88fa445c2b122d63fde6880dc85102dd397 WHIRLPOOL 5e92e2d0dd4e64e25bfabd75a0b3a8cbb3e24ff0de78ab11538ae89b0b6198fbe5d0a4a73a2785161589eaec3bd3dedf341731e187b4439124d5515d1b09f40a
+MISC metadata.xml 583 SHA256 bd92c392cdb290b8326fe9c52eb76cabca7c423186116eaa3035e60e53eb356b SHA512 673e3a01b1a5bd92119ad87e56b85dae309fa3f7a9de66d21908557819887ed3804477566ce0a00c2a919ae760ea7896cf67b2d25e894fa52463110fa0e23ba8 WHIRLPOOL d5197492b72276d6e381585db629d1c6addaffab887c019e13d21b425ddc7138155adf881861f99bd191cb23418d215f621679f13c22a69db1afaabac69d1c27
diff --git a/media-sound/darkice/darkice-1.2.ebuild b/media-sound/darkice/darkice-1.2.ebuild
new file mode 100644
index 000000000000..3efe53015512
--- /dev/null
+++ b/media-sound/darkice/darkice-1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A live audio streamer"
+HOMEPAGE="http://www.darkice.org/"
+SRC_URI="https://darkice.googlecode.com/files/${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-2.0.0 )
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ 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}"
+
+# Version 1.2 doesn't check for opus as input codec (bug #593790).
+# This is fixed in version 1.3
+REQUIRED_USE="|| ( aac aacplus mp3 twolame vorbis )
+ || ( alsa jack pulseaudio )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc47.patch
+}
+
+src_configure() {
+ econf \
+ $(use_with aac faac) \
+ $(use_with aacplus) \
+ $(use_with alsa) \
+ $(use_with debug) \
+ $(use_with jack) \
+ $(use_with libsamplerate samplerate) \
+ $(use_with mp3 lame) \
+ $(use_with opus) \
+ $(use_with pulseaudio) \
+ $(use_with twolame) \
+ $(use_with vorbis)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog FAQ NEWS README TODO
+}
diff --git a/media-sound/darkice/darkice-1.3.ebuild b/media-sound/darkice/darkice-1.3.ebuild
new file mode 100644
index 000000000000..b3c01b466369
--- /dev/null
+++ b/media-sound/darkice/darkice-1.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="A live audio streamer"
+HOMEPAGE="http://www.darkice.org/"
+SRC_URI="mirror://sourceforge/${PN}/${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-2.0.0 )
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ 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 )"
+
+#PATCHES=(
+# "${FILESDIR}"/${PN}-1.2-gcc47.patch
+#)
+
+src_configure() {
+ econf \
+ $(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)
+}
+
+src_install() {
+ default
+ dodoc AUTHORS ChangeLog FAQ NEWS README TODO
+}
diff --git a/media-sound/darkice/files/darkice-1.2-gcc47.patch b/media-sound/darkice/files/darkice-1.2-gcc47.patch
new file mode 100644
index 000000000000..e10439f27e45
--- /dev/null
+++ b/media-sound/darkice/files/darkice-1.2-gcc47.patch
@@ -0,0 +1,11 @@
+--- darkice-1.2/src/PulseAudioDspSource.cpp
++++ darkice-1.2/src/PulseAudioDspSource.cpp
+@@ -43,6 +43,8 @@
+ #include "config.h"
+ #endif
+
++#include <stdio.h>
++
+ #include "Util.h"
+ #include "Exception.h"
+ #include "PulseAudioDspSource.h"
diff --git a/media-sound/darkice/metadata.xml b/media-sound/darkice/metadata.xml
new file mode 100644
index 000000000000..456878486386
--- /dev/null
+++ b/media-sound/darkice/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <use>
+ <flag name="aacplus">AAC+ encoding via media-libs/libaacplus</flag>
+ <flag name="opus">Enable Opus audio codec support</flag>
+ <flag name="twolame">Build with twolame support</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">darkice</remote-id>
+ <remote-id type="sourceforge">darkice</remote-id>
+ </upstream>
+</pkgmetadata>