summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-29 01:44:39 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-29 01:44:39 +0000
commit0a49c9397d6b2d2f6a57772ba48dbf53c2d8fc53 (patch)
treef3584279241d3cd8e5359f96fc1c359abccf57db /media-sound/hydrogen
parentAdd judy on sci-electronics/gtkwave to p.use.mask (diff)
downloadgentoo-2-0a49c9397d6b2d2f6a57772ba48dbf53c2d8fc53.tar.gz
gentoo-2-0a49c9397d6b2d2f6a57772ba48dbf53c2d8fc53.tar.bz2
gentoo-2-0a49c9397d6b2d2f6a57772ba48dbf53c2d8fc53.zip
Version bump wrt #338592 by Diego E. Pettenò.
(Portage version: 2.2_rc87/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r--media-sound/hydrogen/ChangeLog8
-rw-r--r--media-sound/hydrogen/hydrogen-0.9.4.2.ebuild63
2 files changed, 70 insertions, 1 deletions
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog
index 25139dee416c..8a543391d96c 100644
--- a/media-sound/hydrogen/ChangeLog
+++ b/media-sound/hydrogen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/hydrogen
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.92 2010/05/03 18:02:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.93 2010/09/29 01:44:39 ssuominen Exp $
+
+*hydrogen-0.9.4.2 (29 Sep 2010)
+
+ 29 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +hydrogen-0.9.4.2.ebuild:
+ Version bump wrt #338592 by Diego E. Pettenò.
*hydrogen-0.9.4-r1 (03 May 2010)
diff --git a/media-sound/hydrogen/hydrogen-0.9.4.2.ebuild b/media-sound/hydrogen/hydrogen-0.9.4.2.ebuild
new file mode 100644
index 000000000000..4945f9686827
--- /dev/null
+++ b/media-sound/hydrogen/hydrogen-0.9.4.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.4.2.ebuild,v 1.1 2010/09/29 01:44:39 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib
+
+DESCRIPTION="Advanced drum machine"
+HOMEPAGE="http://www.hydrogen-music.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="alsa +archive flac jack ladspa lash oss portaudio"
+
+RDEPEND="x11-libs/qt-gui:4
+ archive? ( app-arch/libarchive )
+ !archive? ( >=dev-libs/libtar-1.2.11-r3 )
+ media-libs/libsndfile
+ alsa? ( media-libs/alsa-lib )
+ flac? ( media-libs/flac[cxx] )
+ jack? ( media-sound/jack-audio-connection-kit )
+ ladspa? ( media-libs/liblrdf )
+ lash? ( media-sound/lash )
+ portaudio? ( >=media-libs/portaudio-19_pre )"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+src_prepare() {
+ sed -i -e '/cppflags +=/d' Sconstruct || die
+ epatch patches/portaudio.patch
+}
+
+src_compile() {
+ export QTDIR="/usr/$(get_libdir)"
+ local myconf='portmidi=0' #90614
+
+ use alsa || myconf+=' alsa=0'
+ use archive && myconf+=' libarchive=1'
+ use flac || myconf+=' flac=0'
+ use jack || myconf+=' jack=0'
+ use ladspa || myconf+=' lrdf=0'
+ use lash && myconf+=' lash=1'
+ use oss || myconf+=' oss=0'
+ use portaudio && myconf+=' portaudio=1'
+
+ scons \
+ prefix=/usr \
+ DESTDIR="${D}" \
+ optflags="${CXXFLAGS}" \
+ ${myconf} || die
+}
+
+src_install() {
+ dobin hydrogen || die
+ insinto /usr/share/hydrogen
+ doins -r data || die
+ doicon data/img/gray/h2-icon.svg
+ domenu hydrogen.desktop
+ dosym /usr/share/hydrogen/data/doc /usr/share/doc/${PF}/html
+ dodoc AUTHORS ChangeLog README.txt
+}