summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-02-27 01:11:41 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-02-27 01:11:41 +0000
commit7b0aaf8ee88f9b3e98c80e1748f906637abfdc5c (patch)
tree12b824886ed5110fae986d38f05b03c4b5921b9d
parentBump, changed ikvm dep to ikvm-bin until ikvm is fixed (diff)
downloadgentoo-2-7b0aaf8ee88f9b3e98c80e1748f906637abfdc5c.tar.gz
gentoo-2-7b0aaf8ee88f9b3e98c80e1748f906637abfdc5c.tar.bz2
gentoo-2-7b0aaf8ee88f9b3e98c80e1748f906637abfdc5c.zip
Initial commit. Ebuild by myself.
(Portage version: 2.2_rc63/cvs/Linux x86_64)
-rw-r--r--media-sound/dbmeasure/ChangeLog10
-rw-r--r--media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild41
-rw-r--r--media-sound/dbmeasure/metadata.xml8
3 files changed, 59 insertions, 0 deletions
diff --git a/media-sound/dbmeasure/ChangeLog b/media-sound/dbmeasure/ChangeLog
new file mode 100644
index 000000000000..0f294957a42c
--- /dev/null
+++ b/media-sound/dbmeasure/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/dbmeasure
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/dbmeasure/ChangeLog,v 1.1 2010/02/27 01:11:41 robbat2 Exp $
+
+*dbmeasure-0.0.20100217 (27 Feb 2010)
+
+ 27 Feb 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +dbmeasure-0.0.20100217.ebuild, +metadata.xml:
+ Initial commit. Ebuild by myself.
+
diff --git a/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild b/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild
new file mode 100644
index 000000000000..6a691413c599
--- /dev/null
+++ b/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild,v 1.1 2010/02/27 01:11:41 robbat2 Exp $
+
+EAPI=3
+GIT_COMMITID="ed8105083ab72f9afac9d18b7563fbc3d6c1c925"
+MY_PV="${PV}-${GIT_COMMITID}"
+MY_P="${PN}-${MY_PV}"
+
+inherit flag-o-matic
+
+DESCRIPTION="ALSA Volume Control Attenuation Measurement Tool"
+HOMEPAGE="http://pulseaudio.org/wiki/BadDecibel"
+SRC_URI="http://git.0pointer.de/?p=${PN}.git;a=snapshot;h=${GIT_COMMITID};sf=tgz -> ${MY_P}.tar.gz"
+
+LICENSE="BSD" # need to confirm w/ upstream
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/alsa-lib"
+DEPEND="media-sound/alsa-headers
+ dev-util/pkgconfig
+ ${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ # We drop the -g for debug output but we keep the -O0, as we don't want GCC
+ # to optimize out some critical math.
+ strip-flags
+ sed -i \
+ -e '/^CFLAGS/s,=,+=,g' \
+ -e '/^CFLAGS/s,-g,,g' \
+ Makefile || die "Failed to fix makefile"
+}
+
+src_install() {
+ dobin dbverify dbmeasure
+ dodoc README
+}
diff --git a/media-sound/dbmeasure/metadata.xml b/media-sound/dbmeasure/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/media-sound/dbmeasure/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>