blob: ce38767c1e0c481ee4942127c64b75c89f1757a4 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='threads(+)'
inherit python-any-r1 waf-utils xdg
MY_P="${PN}2-${PV}"
DESCRIPTION="Virtual guitar amplifier for Linux"
HOMEPAGE="http://guitarix.org/"
SRC_URI="mirror://sourceforge/guitarix/guitarix/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="bluetooth debug lv2 nls +standalone zeroconf"
REQUIRED_USE="|| ( lv2 standalone )"
COMMON_DEPEND="dev-cpp/eigen:3
dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-libs/glib:2
>=media-libs/libsndfile-1.0.17
>=media-libs/zita-convolver-3:=
media-libs/zita-resampler
>=net-misc/curl-7.26.0
>=sci-libs/fftw-3.1.2:3.0=
x11-libs/gtk+:2
lv2? ( media-libs/lv2 )
standalone? (
dev-libs/boost:=
media-libs/liblrdf
media-libs/lilv
virtual/jack
bluetooth? ( net-wireless/bluez )
zeroconf? ( net-dns/avahi )
)
"
# clearlooks gtk engine and roboto fonts are required for correct ui rendering
RDEPEND="${COMMON_DEPEND}
x11-themes/gtk-engines
standalone? (
media-fonts/roboto
)
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
nls? ( dev-util/intltool )
"
DOCS=( changelog README )
src_configure() {
local myconf=(
--cxxflags-debug=""
--cxxflags-release="-DNDEBUG"
--ldflags="${LDFLAGS}"
--enable-lfs
--lib-dev
--no-desktop-update
--no-faust
--no-ldconfig
--shared-lib
$(use_enable nls)
$(usex bluetooth "" "--no-bluez")
$(usex debug "--debug" "")
$(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" "--no-lv2 --no-lv2-gui")
$(usex standalone "" "--no-standalone")
$(usex zeroconf "" "--no-avahi")
)
waf-utils_src_configure "${myconf[@]}"
}
|