1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 )
6 PYTHON_REQ_USE='threads(+)'
8 inherit flag-o-matic gnome2-utils waf-utils python-any-r1
10 DESCRIPTION="Modular patch bay for audio and MIDI systems"
11 HOMEPAGE="http://drobilla.net/software/patchage"
12 SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="alsa debug lash"
19 RDEPEND=">=media-libs/raul-0.7.0
20 >=x11-libs/flowcanvas-0.7.1
21 >=dev-cpp/gtkmm-2.11.12:2.4
22 >=dev-cpp/glibmm-2.14:2
23 >=dev-cpp/libglademm-2.6.0:2.4
24 dev-cpp/libgnomecanvasmm:2.6
26 alsa? ( media-libs/alsa-lib )
27 lash? ( dev-libs/dbus-glib )"
33 DOCS=( AUTHORS README ChangeLog )
36 "${FILESDIR}"/${P}-desktop.patch
40 append-cxxflags -std=c++11
41 waf-utils_src_configure \
42 $(use debug && echo "--debug") \
43 $(use alsa || echo "--no-alsa") \
44 $(use lash || echo "--no-lash")
48 gnome2_icon_cache_update
52 gnome2_icon_cache_update