blob: 1d8b7ac2214f7f54c6ae2b5ab0f961057f3a059b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libhydrogen/libhydrogen-0.8.0.ebuild,v 1.13 2004/08/07 23:21:41 slarti Exp $
inherit libtool
DESCRIPTION="Linux Drum Machine - Library"
HOMEPAGE="http://hydrogen.sourceforge.net"
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/hydrogen/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE="alsa"
RDEPEND="virtual/x11 \
>=media-libs/audiofile-0.2.3 \
alsa? ( media-libs/alsa-lib ) \
media-sound/jack-audio-connection-kit"
DEPEND="$RDEPEND >=sys-devel/autoconf-2.58"
src_compile() {
einfo "Reconfiguring..."
export WANT_AUTOCONF=2.5
aclocal
autoconf
automake
elibtoolize
sed -i "s/driver = new JackDriver(audioEngine_process);/driver = new JackDriver((JackProcessCallback) audioEngine_process);/" ${S}/src/Hydrogen.cpp
econf || die "econf failed"
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS BUGS ChangeLog FAQ README TODO
}
|