diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-04-08 11:11:50 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-04-08 11:11:50 +0000 |
commit | 16850d57de37b21a46d1efb3fce5096e9e2d68b3 (patch) | |
tree | 04d75b606a622d63435377519439ec9fbd460375 /media-sound/hydrogen | |
parent | Non-maintainer fix; Respect CC; Respect LDFLAGS, #356049; Respect multilib (diff) | |
download | gentoo-2-16850d57de37b21a46d1efb3fce5096e9e2d68b3.tar.gz gentoo-2-16850d57de37b21a46d1efb3fce5096e9e2d68b3.tar.bz2 gentoo-2-16850d57de37b21a46d1efb3fce5096e9e2d68b3.zip |
version bump
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r-- | media-sound/hydrogen/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/hydrogen/hydrogen-0.9.5.ebuild | 61 |
2 files changed, 68 insertions, 2 deletions
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog index 897f5f8e120c..d53ac7204166 100644 --- a/media-sound/hydrogen/ChangeLog +++ b/media-sound/hydrogen/ChangeLog @@ -1,6 +1,11 @@ # 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.94 2010/10/24 16:41:45 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.95 2011/04/08 11:11:50 aballier Exp $ + +*hydrogen-0.9.5 (08 Apr 2011) + + 08 Apr 2011; Alexis Ballier <aballier@gentoo.org> +hydrogen-0.9.5.ebuild: + version bump 24 Oct 2010; Raúl Porcel <armin76@gentoo.org> hydrogen-0.9.4.ebuild, hydrogen-0.9.4.2.ebuild: diff --git a/media-sound/hydrogen/hydrogen-0.9.5.ebuild b/media-sound/hydrogen/hydrogen-0.9.5.ebuild new file mode 100644 index 000000000000..4e1f99d28ac1 --- /dev/null +++ b/media-sound/hydrogen/hydrogen-0.9.5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.5.ebuild,v 1.1 2011/04/08 11:11:50 aballier 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 ~x86" +IUSE="alsa +archive jack ladspa lash oss portaudio" + +RDEPEND="x11-libs/qt-gui:4 x11-libs/qt-core:4 + archive? ( app-arch/libarchive ) + !archive? ( >=dev-libs/libtar-1.2.11-r3 ) + >=media-libs/libsndfile-1.0.18 + alsa? ( media-libs/alsa-lib ) + 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 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 +} |