Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/dbmeasure: metadata.xml ChangeLog dbmeasure-0.0.20100217.ebuild
Date: Sat, 27 Feb 2010 01:11:44
Message-Id: E1NlBDa-0002FM-F3@stork.gentoo.org
1 robbat2 10/02/27 01:11:42
2
3 Added: metadata.xml ChangeLog
4 dbmeasure-0.0.20100217.ebuild
5 Log:
6 Initial commit. Ebuild by myself.
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-sound/dbmeasure/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/dbmeasure/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/dbmeasure/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>no-herd</herd>
21 <maintainer>
22 <email>robbat2@g.o</email>
23 </maintainer>
24 </pkgmetadata>
25
26
27
28 1.1 media-sound/dbmeasure/ChangeLog
29
30 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/dbmeasure/ChangeLog?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/dbmeasure/ChangeLog?rev=1.1&content-type=text/plain
32
33 Index: ChangeLog
34 ===================================================================
35 # ChangeLog for media-sound/dbmeasure
36 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
37 # $Header: /var/cvsroot/gentoo-x86/media-sound/dbmeasure/ChangeLog,v 1.1 2010/02/27 01:11:41 robbat2 Exp $
38
39 *dbmeasure-0.0.20100217 (27 Feb 2010)
40
41 27 Feb 2010; Robin H. Johnson <robbat2@g.o>
42 +dbmeasure-0.0.20100217.ebuild, +metadata.xml:
43 Initial commit. Ebuild by myself.
44
45
46
47
48 1.1 media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild?rev=1.1&content-type=text/plain
52
53 Index: dbmeasure-0.0.20100217.ebuild
54 ===================================================================
55 # Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild,v 1.1 2010/02/27 01:11:41 robbat2 Exp $
58
59 EAPI=3
60 GIT_COMMITID="ed8105083ab72f9afac9d18b7563fbc3d6c1c925"
61 MY_PV="${PV}-${GIT_COMMITID}"
62 MY_P="${PN}-${MY_PV}"
63
64 inherit flag-o-matic
65
66 DESCRIPTION="ALSA Volume Control Attenuation Measurement Tool"
67 HOMEPAGE="http://pulseaudio.org/wiki/BadDecibel"
68 SRC_URI="http://git.0pointer.de/?p=${PN}.git;a=snapshot;h=${GIT_COMMITID};sf=tgz -> ${MY_P}.tar.gz"
69
70 LICENSE="BSD" # need to confirm w/ upstream
71 SLOT="0"
72 KEYWORDS="~amd64 ~x86"
73 IUSE=""
74
75 RDEPEND="media-libs/alsa-lib"
76 DEPEND="media-sound/alsa-headers
77 dev-util/pkgconfig
78 ${RDEPEND}"
79
80 S="${WORKDIR}/${PN}"
81
82 src_prepare() {
83 # We drop the -g for debug output but we keep the -O0, as we don't want GCC
84 # to optimize out some critical math.
85 strip-flags
86 sed -i \
87 -e '/^CFLAGS/s,=,+=,g' \
88 -e '/^CFLAGS/s,-g,,g' \
89 Makefile || die "Failed to fix makefile"
90 }
91
92 src_install() {
93 dobin dbverify dbmeasure
94 dodoc README
95 }