summaryrefslogtreecommitdiff
blob: 0e4c532ec2c3a51f4292cd8a135d4edae6ef7c2b (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/denemo/denemo-0.8.16.ebuild,v 1.3 2011/10/08 18:49:41 armin76 Exp $

EAPI=2

DESCRIPTION="A music notation editor"
HOMEPAGE="http://www.denemo.org/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"

LICENSE="GPL-2 OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jack nls"

COMMON_DEPEND="x11-libs/gtk+:2
	>=dev-scheme/guile-1.8
	>=media-libs/aubio-0.3.2
	>=media-libs/portaudio-19_pre
	>=dev-libs/libxml2-2.3.10:2
	>=sci-libs/fftw-3.1.2
	>=x11-libs/gtksourceview-2:2.0
	>=media-sound/fluidsynth-1.0.8
	>=media-libs/libsamplerate-0.1.2
	media-libs/alsa-lib
	jack? ( >=media-sound/jack-audio-connection-kit-0.102 )"
RDEPEND="${COMMON_DEPEND}
	media-sound/lilypond
	gnome-base/librsvg:2"
DEPEND="${COMMON_DEPEND}
	|| ( dev-util/yacc sys-devel/bison )
	sys-devel/flex
	dev-util/pkgconfig
	nls? ( sys-devel/gettext )"

src_configure() {
	econf \
		--disable-dependency-tracking \
		$(use_enable nls) \
		$(use_enable jack)
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog doc/{DESIGN*,GOALS,TODO} NEWS README* || die
}