From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-sound/darkice/Manifest | 1 + media-sound/darkice/darkice-1.2.ebuild | 54 +++++++++++++++++++++++ media-sound/darkice/files/darkice-1.2-gcc47.patch | 11 +++++ media-sound/darkice/metadata.xml | 13 ++++++ 4 files changed, 79 insertions(+) create mode 100644 media-sound/darkice/Manifest create mode 100644 media-sound/darkice/darkice-1.2.ebuild create mode 100644 media-sound/darkice/files/darkice-1.2-gcc47.patch create mode 100644 media-sound/darkice/metadata.xml (limited to 'media-sound/darkice') diff --git a/media-sound/darkice/Manifest b/media-sound/darkice/Manifest new file mode 100644 index 000000000000..2ba504249141 --- /dev/null +++ b/media-sound/darkice/Manifest @@ -0,0 +1 @@ +DIST darkice-1.2.tar.gz 357026 SHA256 b3fba9be2d9c72f36b0659cd9ce0652c8f973b5c6498407f093da9a364fdb254 SHA512 d8959819d70eb9b44a34d087fcf3897be5e4cb23681c049f8d88e251d83dfd86b90fdd37744fe27d861dfcbb6bb6e1521b48c5c7b4967bb061ede75596f0a823 WHIRLPOOL f12ff32ce31cf508f556146baeb64860b3a698edf0836675a62c817b34fa1df499c3a281a3e2a66a1db5be3eb89d5fc91438184c998f4a7a0ad24e27fd7fea1e diff --git a/media-sound/darkice/darkice-1.2.ebuild b/media-sound/darkice/darkice-1.2.ebuild new file mode 100644 index 000000000000..e1522fe55218 --- /dev/null +++ b/media-sound/darkice/darkice-1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="A live audio streamer" +HOMEPAGE="http://code.google.com/p/darkice/" +SRC_URI="http://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}" + +REQUIRED_USE="|| ( aac aacplus mp3 opus 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/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 ++ + #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..73e5d357f4e0 --- /dev/null +++ b/media-sound/darkice/metadata.xml @@ -0,0 +1,13 @@ + + + + sound + + AAC+ encoding via media-libs/libaacplus + Enable Opus audio codec support + Build with twolame support + + + darkice + + -- cgit v1.2.3-65-gdbad