| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/bristol/bristol-0.60.9.ebuild,v 1.5 2011/11/28 02:14:21 radhermit Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit eutils autotools-utils
|
| 8 |
|
| 9 |
DESCRIPTION="Synthesizer keyboard emulation package: Moog, Hammond and others"
|
| 10 |
HOMEPAGE="http://sourceforge.net/projects/bristol"
|
| 11 |
SRC_URI="mirror://sourceforge/bristol/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE="alsa oss static-libs"
|
| 17 |
# osc : configure option but no code it seems...
|
| 18 |
# jack: fails to build if disabled
|
| 19 |
|
| 20 |
RDEPEND=">=media-sound/jack-audio-connection-kit-0.109.2
|
| 21 |
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
| 22 |
x11-libs/libX11"
|
| 23 |
# osc? ( >=media-libs/liblo-0.22 )
|
| 24 |
DEPEND="${RDEPEND}
|
| 25 |
x11-proto/xproto
|
| 26 |
virtual/pkgconfig"
|
| 27 |
|
| 28 |
DOCS=( AUTHORS ChangeLog HOWTO NEWS README )
|
| 29 |
|
| 30 |
PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
|
| 31 |
|
| 32 |
src_prepare() {
|
| 33 |
autotools-utils_src_prepare
|
| 34 |
eautoreconf
|
| 35 |
}
|
| 36 |
|
| 37 |
src_configure() {
|
| 38 |
local myeconfargs=(
|
| 39 |
--disable-version-check
|
| 40 |
$(use_enable alsa)
|
| 41 |
$(use_enable oss)
|
| 42 |
#$(use_enable osc liblo)
|
| 43 |
)
|
| 44 |
autotools-utils_src_configure
|
| 45 |
}
|