summaryrefslogtreecommitdiff
path: root/media-sound/galan/galan-0.3.0_beta7.ebuild
blob: 1ab365fd9a33cd1c62f8278ef07fa3689a2aa1ba (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit flag-o-matic toolchain-funcs

DESCRIPTION="gAlan - Graphical Audio Language"
HOMEPAGE="http://galan.sourceforge.net/"
SRC_URI="mirror://sourceforge/galan/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa jack opengl vorbis"

RDEPEND="
	media-libs/liblrdf:=
	media-libs/ladspa-sdk
	media-libs/audiofile:=
	media-libs/libsndfile:=
	sci-libs/fftw:2.1=
	x11-libs/gtk+:2
	alsa? ( media-libs/alsa-lib:= )
	jack? ( virtual/jack )
	opengl? (
		x11-libs/gtkglarea:2=
		virtual/glu
	)
	vorbis? ( media-sound/vorbis-tools )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default
	rm README.w32 || die
}

src_configure() {
	# Use lrdf.pc to get -I/usr/include/raptor2 (lrdf.h -> raptor.h)
	append-cppflags $($(tc-getPKG_CONFIG) --cflags lrdf)
	econf --disable-static
}

src_install() {
	default
	dodoc NOTES

	# no static archives
	find "${D}" -name '*.la' -delete || die
}