Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: media-sound/whitenoise/
Date: Mon, 01 Aug 2011 04:38:15
Message-Id: 4f4f1e7a3fe371248d4b15ddd6afa34beb38bac4.sping@gentoo
1 commit: 4f4f1e7a3fe371248d4b15ddd6afa34beb38bac4
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Mon Aug 1 04:18:37 2011 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 04:18:37 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=4f4f1e7a
7
8 media-sound/whitenoise: 1.0.2
9
10 ---
11 media-sound/whitenoise/whitenoise-1.0.1.ebuild | 34 ------------------------
12 media-sound/whitenoise/whitenoise-1.0.2.ebuild | 30 +++++++++++++++++++++
13 2 files changed, 30 insertions(+), 34 deletions(-)
14
15 diff --git a/media-sound/whitenoise/whitenoise-1.0.1.ebuild b/media-sound/whitenoise/whitenoise-1.0.1.ebuild
16 deleted file mode 100644
17 index d34acbb..0000000
18 --- a/media-sound/whitenoise/whitenoise-1.0.1.ebuild
19 +++ /dev/null
20 @@ -1,34 +0,0 @@
21 -# Copyright 1999-2007 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Header: $
24 -
25 -inherit eutils
26 -
27 -DESCRIPTION="Small utility which turns your computer into an ambient random
28 -noise generator."
29 -HOMEPAGE="http://pessimization.com/software/whitenoise/"
30 -SRC_URI="http://pessimization.com/software/whitenoise/${P}.tar.gz"
31 -LICENSE="GPL-2"
32 -SLOT="0"
33 -KEYWORDS="~x86"
34 -IUSE="fftw arts doc"
35 -
36 -DEPEND="
37 - fftw? ( sci-libs/fftw )
38 - arts? ( kde-base/arts )
39 -"
40 -RDEPEND=""
41 -
42 -src_compile() {
43 - econf ${myconf} \
44 - $(use_enable fftw) \
45 - $(use_enable arts)
46 -
47 - emake || die "emake failed"
48 -}
49 -
50 -src_install() {
51 - into ${PREFIX}
52 - dobin whitenoise
53 - use doc && dodoc doc/manual.html doc/HACKING
54 -}
55
56 diff --git a/media-sound/whitenoise/whitenoise-1.0.2.ebuild b/media-sound/whitenoise/whitenoise-1.0.2.ebuild
57 new file mode 100644
58 index 0000000..387b0e5
59 --- /dev/null
60 +++ b/media-sound/whitenoise/whitenoise-1.0.2.ebuild
61 @@ -0,0 +1,30 @@
62 +# Copyright 1999-2011 Gentoo Foundation
63 +# Distributed under the terms of the GNU General Public License v2
64 +# $Header: $
65 +
66 +EAPI="3"
67 +
68 +inherit eutils
69 +
70 +DESCRIPTION="Small utility which turns your computer into an ambient random noise generator."
71 +HOMEPAGE="http://pessimization.com/software/whitenoise/"
72 +SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz"
73 +LICENSE="GPL-2"
74 +SLOT="0"
75 +KEYWORDS="~amd64 ~x86"
76 +IUSE="doc fftw"
77 +
78 +DEPEND="fftw? ( sci-libs/fftw )"
79 +RDEPEND="${DEPEND}"
80 +
81 +src_configure() {
82 + econf $(use_enable fftw) \
83 + --disable-arts
84 +}
85 +
86 +src_install() {
87 + dobin whitenoise || die
88 + if use doc ; then
89 + dodoc doc/manual.html doc/HACKING || die
90 + fi
91 +}