/[gentoo-x86]/media-sound/hydrogen/hydrogen-0.9.4_rc2.ebuild
Gentoo

Contents of /media-sound/hydrogen/hydrogen-0.9.4_rc2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 27 10:56:34 2009 UTC (10 years, 11 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.4_rc2.ebuild,v 1.3 2009/08/31 10:56:23 ssuominen Exp $
4
5 EAPI=2
6 MY_P=${P/_/-}
7 inherit eutils multilib
8
9 DESCRIPTION="Advanced Drum Machine"
10 HOMEPAGE="http://www.hydrogen-music.org/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
12
13 LICENSE="GPL-2 ZLIB"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
16 IUSE="alsa oss jack lash ladspa flac"
17
18 RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
19 alsa? ( media-libs/alsa-lib )
20 lash? ( media-sound/lash )
21 flac? ( media-libs/flac[cxx] )
22 ladspa? ( media-libs/liblrdf )
23 app-arch/libarchive
24 x11-libs/qt-core:4
25 x11-libs/qt-gui:4
26 x11-libs/qt-opengl:4
27 x11-libs/qt-script:4
28 x11-libs/qt-qt3support:4"
29 DEPEND="${RDEPEND}
30 dev-util/scons"
31
32 S=${WORKDIR}/${MY_P}
33
34 src_compile() {
35 export QTDIR="/usr/$(get_libdir)"
36 local myconf="prefix=/usr libarchive=1"
37 use oss || myconf="${myconf} oss=0"
38 use alsa || myconf="${myconf} alsa=0"
39 use jack || myconf="${myconf} jack=0"
40 use lash || myconf="${myconf} lash=0"
41 use ladspa || myconf="${myconf} lrdf=0"
42 use flac || myconf="${myconf} flac=0"
43 scons ${myconf} || die "scons failed"
44 }
45
46 src_install() {
47 dobin hydrogen || die
48 insinto /usr/share/hydrogen
49 doins -r data || die
50 doicon data/img/gray/h2-icon.svg
51 domenu hydrogen.desktop
52 dosym /usr/share/hydrogen/data/doc /usr/share/doc/${PF}/html
53 dodoc AUTHORS ChangeLog README.txt
54 }

  ViewVC Help
Powered by ViewVC 1.1.20