summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/dbmeasure')
-rw-r--r--media-sound/dbmeasure/Manifest1
-rw-r--r--media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild42
-rw-r--r--media-sound/dbmeasure/metadata.xml7
3 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/dbmeasure/Manifest b/media-sound/dbmeasure/Manifest
new file mode 100644
index 000000000000..7ec206146f75
--- /dev/null
+++ b/media-sound/dbmeasure/Manifest
@@ -0,0 +1 @@
+DIST dbmeasure-0.0.20100217-ed8105083ab72f9afac9d18b7563fbc3d6c1c925.tar.gz 6647 SHA256 8258db8cee11ca6da051033a6bc0db4c556deede712e31ebc02c72c64160c8d9 SHA512 d52a6d8d34625b3ddbeff70e712ddefabfb955ceedc525377d672b472b57163c1194df29ffcc23d881bfb7a5d38cd2850c09ee7c5e30e579414f5c599ad2b78b WHIRLPOOL 2f58741bf6b54073689354674fe51dc44d9708aacb54a40d380deb5bf98989a861032a9bb4bda94177c9d79dbb8a4bd03b0fb3fbac7f57a4088c89a798e1e215
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..06f53338956f
--- /dev/null
+++ b/media-sound/dbmeasure/dbmeasure-0.0.20100217.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GIT_COMMITID="ed8105083ab72f9afac9d18b7563fbc3d6c1c925"
+MY_PV="${PV}-${GIT_COMMITID}"
+MY_P="${PN}-${MY_PV}"
+
+inherit flag-o-matic toolchain-funcs
+
+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-1.0.26"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ tc-export CC
+ # 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 's:$(CC):& $(LDFLAGS):' \
+ -e '/^CFLAGS/s:=:+=:' \
+ -e '/^CFLAGS/s:-g -pipe::' \
+ Makefile || die
+}
+
+src_install() {
+ dobin db{measure,verify}
+ dodoc README
+}
diff --git a/media-sound/dbmeasure/metadata.xml b/media-sound/dbmeasure/metadata.xml
new file mode 100644
index 000000000000..d9cd2cad66c2
--- /dev/null
+++ b/media-sound/dbmeasure/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>maintainer-needed@gentoo.org</email>
+</maintainer>
+</pkgmetadata>