summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-21 17:00:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-21 17:00:36 +0000
commita1994b704e47a65ea8c0f24fc0fc2fb8eb9a4c13 (patch)
tree1db92ec39e9e5e7d0061f2206d48680d2b0e9b25 /media-sound/bpmdetect
parentStable on ppc wrt bug 239341 (diff)
downloadgentoo-2-a1994b704e47a65ea8c0f24fc0fc2fb8eb9a4c13.tar.gz
gentoo-2-a1994b704e47a65ea8c0f24fc0fc2fb8eb9a4c13.tar.bz2
gentoo-2-a1994b704e47a65ea8c0f24fc0fc2fb8eb9a4c13.zip
Initial commit for bug 180878, thanks to Jürgen Prömer from #gentoo-media, Freenode for helping out.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-sound/bpmdetect')
-rw-r--r--media-sound/bpmdetect/ChangeLog10
-rw-r--r--media-sound/bpmdetect/bpmdetect-0.6.1.ebuild43
-rw-r--r--media-sound/bpmdetect/metadata.xml5
3 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/bpmdetect/ChangeLog b/media-sound/bpmdetect/ChangeLog
new file mode 100644
index 000000000000..b184205b4d9c
--- /dev/null
+++ b/media-sound/bpmdetect/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/bpmdetect
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bpmdetect/ChangeLog,v 1.1 2008/12/21 17:00:36 ssuominen Exp $
+
+*bpmdetect-0.6.1 (21 Dec 2008)
+
+ 21 Dec 2008; <ssuominen@gentoo.org> +bpmdetect-0.6.1.ebuild:
+ Initial commit for bug 180878, thanks to Jürgen Prömer from
+ #gentoo-media, Freenode for helping out.
+
diff --git a/media-sound/bpmdetect/bpmdetect-0.6.1.ebuild b/media-sound/bpmdetect/bpmdetect-0.6.1.ebuild
new file mode 100644
index 000000000000..a0a3bc5c1efd
--- /dev/null
+++ b/media-sound/bpmdetect/bpmdetect-0.6.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bpmdetect/bpmdetect-0.6.1.ebuild,v 1.1 2008/12/21 17:00:36 ssuominen Exp $
+
+EAPI=1
+
+inherit eutils multilib
+
+DESCRIPTION="Automatic BPM detection utility"
+HOMEPAGE="http://sourceforge.net/projects/bpmdetect"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="media-libs/taglib
+ media-libs/id3lib
+ media-libs/fmod:1
+ x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}
+ dev-util/scons
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s:-O2:${CXXFLAGS}:" "${S}"/src/SConscript || die "sed failed."
+}
+
+src_compile() {
+ export QTDIR="/usr/$(get_libdir)"
+ scons prefix=/usr || die "scons failed."
+}
+
+src_install() {
+ dobin build/${PN} || die "dobin failed."
+ doicon src/${PN}-icon.png
+ domenu src/${PN}.desktop
+ dodoc authors readme todo
+}
diff --git a/media-sound/bpmdetect/metadata.xml b/media-sound/bpmdetect/metadata.xml
new file mode 100644
index 000000000000..ae573a60407f
--- /dev/null
+++ b/media-sound/bpmdetect/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>