Gentoo Archives: gentoo-dev

From: Niels Dettenbach <nd@××××××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] contribution of ebuilds? Update for media-sound/darkice
Date: Thu, 01 Dec 2011 09:14:35
Message-Id: 1527076.rXs0X2aDv4@gongo
1 Dear Gentoo devels,
2
3
4 currently i wrote an update of the media-sound/darkice ebuild as attached
5 above. How can i check in / feed it into the public portage as a non developer
6 here?
7
8 I work very intensive with Gentoo since many years, did read the docs about
9 creating ebuilds and i'm interested in becoming a contributor for different
10 outdated or even new ebuilds in the future and as my time will allow it, but i
11 did not find any details about how i can apply (assume i did not find the
12 regarding docs, sorry).
13
14
15 many thanks in advance,
16
17
18 Niels.
19
20
21 media-sound/darkice/darkice-1.1.ebuild
22 --- snip ---
23 # Copyright 1999-2011 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Header: $
26
27 EAPI=4
28 inherit eutils
29
30 DESCRIPTION="A live audio streamer"
31 HOMEPAGE="http://code.google.com/p/darkice/"
32 SRC_URI="http://darkice.googlecode.com/files/${P}.tar.gz"
33
34 LICENSE="GPL-3"
35 SLOT="0"
36 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
37 IUSE="aac aacplus alsa jack libsamplerate mp3 twolame vorbis pulseaudio"
38
39 RDEPEND="aac? ( media-libs/faac )
40 amd64? ( aacplus? ( media-libs/libaacplus ) )
41 alsa? ( media-libs/alsa-lib )
42 pulseaudio? ( media-sound/pulseaudio )
43 jack? ( media-sound/jack-audio-connection-kit )
44 mp3? ( media-sound/lame )
45 twolame? ( media-sound/twolame )
46 vorbis? ( media-libs/libvorbis )
47 libsamplerate? ( media-libs/libsamplerate )
48 !mp3? ( !vorbis? ( !aac? ( !twolame? ( media-sound/lame ) ) ) )"
49 DEPEND="${RDEPEND}"
50
51 src_configure() {
52 local myconf
53
54 if ! use mp3 && ! use vorbis && ! use aac && ! use twolame; then
55 myconf="--with-lame"
56 fi
57
58 econf \
59 --disable-dependency-tracking \
60 $(use_with mp3 lame) \
61 $(use_with vorbis) \
62 $(use_with aac faac) \
63 $(use_with aacplus) \
64 $(use_with twolame) \
65 $(use_with alsa) \
66 $(use_with jack) \
67 $(use_with pulseaudio) \
68 $(use_with libsamplerate samplerate) \
69 ${myconf}
70 }
71
72 src_install() {
73 emake DESTDIR="${D}" install || die
74 dodoc AUTHORS ChangeLog FAQ NEWS README TODO
75 }
76
77 --- snap ---
78
79
80 --
81 ---
82 Niels Dettenbach
83 Syndicat IT&Internet
84 http://www.syndicat.com/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] contribution of ebuilds? Update for media-sound/darkice Dale <rdalek1967@×××××.com>