summaryrefslogtreecommitdiff
blob: 85d0b11793b77ad4a5044a42b2699ab205972def (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit eutils subversion

DESCRIPTION="GigaSampler instrument file editor"
HOMEPAGE="http://www.linuxsampler.org/"
ESVN_REPO_URI="https://svn.linuxsampler.org/svn/gigedit/trunk"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="doc static-libs"

RDEPEND="dev-cpp/gtkmm:3.0
	media-libs/libgig
	media-libs/libsndfile"
DEPEND="${RDEPEND}
	>=dev-util/intltool-0.35.0
	sys-devel/gettext
	virtual/pkgconfig
	doc? ( app-doc/doxygen )"

DOCS=( AUTHORS ChangeLog NEWS README )

src_configure() {
	emake -f Makefile.svn

	econf \
		$(! has static-libs && echo --enable-static=no)
}

src_compile() {
	default

	use doc && emake docs
}

src_install() {
	default

	! use static-libs && prune_libtool_files --modules
}