blob: 85aad1a35eeb30a8e0286de3c609a82acab7f160 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit autotools eutils
DESCRIPTION="An audio sequencer for Linux"
HOMEPAGE="http://www.samalyse.com/jackbeat/"
SRC_URI="http://www.samalyse.com/${PN}/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jack pulseaudio"
RDEPEND="dev-libs/glib:2
>=dev-libs/libxml2-2.6:2
gnome-base/libglade:2.0
>=media-libs/liblo-0.22
>=media-libs/libsamplerate-0.1.2
>=media-libs/libsndfile-1.0.15
media-libs/alsa-lib
media-libs/portaudio
jack? ( >=media-sound/jack-audio-connection-kit-0.101 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.10 )
x11-libs/cairo
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-2.12:2
x11-libs/pango"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-automagic-pulse.patch \
"${FILESDIR}"/${P}-underlinking.patch
# Don't install license file
sed -i -e 's:help::' pkgdata/Makefile.am || die
eautoreconf
}
src_configure() {
econf \
$(use_with jack) \
$(use_with pulseaudio pulse)
}
|