blob: 88c21d07d3f0236ad321f762708ed9969a2cea35 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/freewheeling/freewheeling-0.6.ebuild,v 1.3 2010/07/29 22:44:06 ssuominen Exp $
EAPI=2
inherit autotools multilib
MY_P=fweelin-${PV/_}
DESCRIPTION="A live looping instrument using SDL and jack."
HOMEPAGE="http://freewheeling.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="fluidsynth"
RDEPEND="dev-libs/libxml2
media-libs/alsa-lib
media-libs/freetype:2
media-libs/libvorbis
media-libs/libsdl[audio,video,joystick]
media-libs/libsndfile
media-libs/sdl-gfx
media-libs/sdl-ttf
media-sound/jack-audio-connection-kit
net-libs/gnutls
x11-libs/libX11
fluidsynth? ( media-sound/fluidsynth )"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
sed -i -e 's:-L/usr/X11R6/lib::' configure.ac || die
sed -i \
-e '/CFLAGS/s:-g::' \
-e '/CFLAGS/s:-funroll-loops.*::' \
-e "s:local/lib/jack:$(get_libdir)/jack:" \
src/Makefile.am || die
eautoreconf
}
src_configure() {
econf \
$(use_enable fluidsynth) \
--disable-dependency-tracking
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TUNING
docinto examples
dodoc examples/*
}
|