44 lines
988 B
Bash
44 lines
988 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-8.ebuild,v 1.3 2013/06/25 18:43:29 ago Exp $
|
|
|
|
EAPI="4"
|
|
PYTHON_DEPEND="2"
|
|
NO_WAF_LIBDIR=1
|
|
|
|
inherit python toolchain-funcs waf-utils
|
|
|
|
DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
|
|
HOMEPAGE="http://home.gna.org/a2jmidid/"
|
|
SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="dbus"
|
|
|
|
RDEPEND="media-libs/alsa-lib
|
|
media-sound/jack-audio-connection-kit
|
|
dbus? ( sys-apps/dbus )"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
DOCS=(AUTHORS README NEWS internals.txt)
|
|
|
|
pkg_setup() {
|
|
python_set_active_version 2
|
|
python_pkg_setup
|
|
}
|
|
|
|
src_configure() {
|
|
if use dbus ; then
|
|
waf-utils_src_configure
|
|
else
|
|
waf-utils_src_configure --disable-dbus
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
waf-utils_src_install
|
|
python_convert_shebangs -r 2 "${ED}"
|
|
}
|