diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-27 10:56:34 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-27 10:56:34 +0000 |
commit | 0925fe0e4700eb5ef9127a30fee5ac8b20d94801 (patch) | |
tree | f8a105a4c24add683e6feaef3b9ad23f9b057fa2 /media-sound/hydrogen/hydrogen-0.9.4.ebuild | |
parent | Marked ppc stable for bug #294958. (diff) | |
download | gentoo-2-0925fe0e4700eb5ef9127a30fee5ac8b20d94801.tar.gz gentoo-2-0925fe0e4700eb5ef9127a30fee5ac8b20d94801.tar.bz2 gentoo-2-0925fe0e4700eb5ef9127a30fee5ac8b20d94801.zip |
Version bump.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/hydrogen/hydrogen-0.9.4.ebuild')
-rw-r--r-- | media-sound/hydrogen/hydrogen-0.9.4.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/media-sound/hydrogen/hydrogen-0.9.4.ebuild b/media-sound/hydrogen/hydrogen-0.9.4.ebuild new file mode 100644 index 000000000000..5c7b9b2bdeea --- /dev/null +++ b/media-sound/hydrogen/hydrogen-0.9.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 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.ebuild,v 1.1 2009/12/27 10:56:34 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 flac jack ladspa lash oss" + +RDEPEND="x11-libs/qt-gui:4 + app-arch/libarchive + 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 )" +DEPEND="${RDEPEND} + dev-util/scons" + +src_prepare() { + sed -i \ + -e '/cppflags +=/d' \ + Sconstruct || die +} + +src_compile() { + export QTDIR="/usr/$(get_libdir)" + + local myconf="libarchive=1 portaudio=0 portmidi=0" + + use alsa || myconf="${myconf} alsa=0" + use flac || myconf="${myconf} flac=0" + use jack || myconf="${myconf} jack=0" + use ladspa || myconf="${myconf} lrdf=0" + use lash && myconf="${myconf} lash=1" + use oss || myconf="${myconf} oss=0" + + 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 +} |