diff options
-rw-r--r-- | media-sound/jack-audio-connection-kit/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.2.ebuild | 66 |
2 files changed, 74 insertions, 2 deletions
diff --git a/media-sound/jack-audio-connection-kit/ChangeLog b/media-sound/jack-audio-connection-kit/ChangeLog index efe0ac59ae58..6d1c1f6f8555 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.119 2008/12/20 14:36:56 nixnut Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.120 2009/02/19 08:04:02 aballier Exp $ + +*jack-audio-connection-kit-0.116.2 (19 Feb 2009) + + 19 Feb 2009; Alexis Ballier <aballier@gentoo.org> + +jack-audio-connection-kit-0.116.2.ebuild: + version bump, by Jouni Rinne <l33tmmx@gmail.com>, bug #259508 20 Dec 2008; nixnut <nixnut@gentoo.org> jack-audio-connection-kit-0.109.2-r1.ebuild: diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.2.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.2.ebuild new file mode 100644 index 000000000000..1448e8d7fa0e --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 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.116.2.ebuild,v 1.1 2009/02/19 08:04:02 aballier Exp $ + +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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="3dnow altivec alsa coreaudio doc debug examples mmx oss sse cpudetection" + +RDEPEND=">=media-libs/libsndfile-1.0.0 + sys-libs/ncurses + alsa? ( >=media-libs/alsa-lib-0.9.1 ) + media-libs/libsamplerate + !media-sound/jack-cvs" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-sparc-cpuinfo.patch" +} + +src_compile() { + 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" + emake || die "compilation 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 +} |