diff options
Diffstat (limited to 'media-sound')
3 files changed, 75 insertions, 1 deletions
diff --git a/media-sound/jack-audio-connection-kit/ChangeLog b/media-sound/jack-audio-connection-kit/ChangeLog index a7307c2b0640..6b6ba5b172c3 100644 --- a/media-sound/jack-audio-connection-kit/ChangeLog +++ b/media-sound/jack-audio-connection-kit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/jack-audio-connection-kit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.127 2011/04/03 13:31:33 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.128 2011/06/09 19:08:52 aballier Exp $ + +*jack-audio-connection-kit-0.120.2 (09 Jun 2011) + + 09 Jun 2011; Alexis Ballier <aballier@gentoo.org> + +jack-audio-connection-kit-0.120.2.ebuild, metadata.xml: + version bump, install sys-auth/realtime-base for basic realtime setup via pam *jack-audio-connection-kit-0.120.1 (03 Apr 2011) diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.120.2.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.120.2.ebuild new file mode 100644 index 000000000000..2ff21b6e99cf --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.120.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.120.2.ebuild,v 1.1 2011/06/09 19:08:52 aballier Exp $ + +EAPI=2 + +inherit flag-o-matic eutils multilib multilib + +DESCRIPTION="A low-latency audio server" +HOMEPAGE="http://www.jackaudio.org" +SRC_URI="http://www.jackaudio.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="3dnow altivec alsa coreaudio doc debug examples mmx oss sse cpudetection pam" + +RDEPEND=">=media-libs/libsndfile-1.0.0 + sys-libs/ncurses + alsa? ( >=media-libs/alsa-lib-1.0.18 ) + media-libs/libsamplerate + !media-sound/jack-cvs" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" +RDEPEND="${RDEPEND} + pam? ( sys-auth/realtime-base )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-sparc-cpuinfo.patch" +} + +src_configure() { + local myconf="" + + # CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse. + if use cpudetection && use 3dnow && use mmx && use sse ; then + einfo "Enabling cpudetection (dynsimd). Adding -mmmx, -msse, -m3dnow and -O2 to CFLAGS." + myconf="${myconf} --enable-dynsimd" + append-flags -mmmx -msse -m3dnow -O2 + fi + + use doc || export ac_cv_prog_HAVE_DOXYGEN=false + + econf \ + $(use_enable altivec) \ + $(use_enable alsa) \ + $(use_enable coreaudio) \ + $(use_enable debug) \ + $(use_enable mmx) \ + $(use_enable oss) \ + --disable-portaudio \ + $(use_enable sse) \ + --with-html-dir=/usr/share/doc/${PF} \ + --disable-dependency-tracking \ + ${myconf} || die "configure failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS TODO README + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${S}/example-clients" + fi +} diff --git a/media-sound/jack-audio-connection-kit/metadata.xml b/media-sound/jack-audio-connection-kit/metadata.xml index e1255d00b059..7d8d867dca58 100644 --- a/media-sound/jack-audio-connection-kit/metadata.xml +++ b/media-sound/jack-audio-connection-kit/metadata.xml @@ -6,5 +6,6 @@ <flag name="coreaudio">Build the CoreAudio driver on Mac OS X systems</flag> <flag name="cpudetection">Enables runtime cpudetection</flag> <flag name="netjack">Build with support for Realtime Audio Transport over generic IP</flag> + <flag name="pam">Add basic realime configuration via <pkg>sys-auth/realtime-base</pkg></flag> </use> </pkgmetadata> |