[proaudio] [1376] bump jack, woohoo

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1376
Author:   gimpel
Date:     2008-12-08 15:14:58 +0100 (Mon, 08 Dec 2008)

Log Message:
-----------
bump jack, woohoo

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/ChangeLog
    trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-libs/celt/
    trunk/overlays/proaudio/media-libs/celt/ChangeLog
    trunk/overlays/proaudio/media-libs/celt/Manifest
    trunk/overlays/proaudio/media-libs/celt/celt-0.5.0.ebuild
    trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.1.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.101.1.ebuild
    trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.102.20.ebuild


Added: trunk/overlays/proaudio/media-libs/celt/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/celt/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/celt/ChangeLog	2008-12-08 14:14:58 UTC (rev 1376)
@@ -0,0 +1,7 @@
+# ChangeLog for media-libs/celt
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  08 Dec 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> +celt-0.5.0.ebuild:
+  initial ebuild
+

Added: trunk/overlays/proaudio/media-libs/celt/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/celt/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/celt/Manifest	2008-12-08 14:14:58 UTC (rev 1376)
@@ -0,0 +1,3 @@
+DIST celt-0.5.0.tar.gz 447365 RMD160 bb207fe024a2518204dba223b735a9c3da3cd339 SHA1 77558887d7c6cb587630bddd8f11f19e4a94bc2b SHA256 15a725b86441dbe49d3c3a343c95bebc619abe6b7866158fc81818a15daa9307
+EBUILD celt-0.5.0.ebuild 436 RMD160 21b2d33d45cb48a9e89bc9e268a8b658584dbc64 SHA1 23703f5fd38a06766ff3a38404616b8af590d4a1 SHA256 5f11ce994bf682f0c13ac6845055de3da4a1e6fce17142234c2cc12a4c80b1c7
+MISC ChangeLog 209 RMD160 558e9b31814e327ee085757cbc6aa4a46a3ddbeb SHA1 aa75829f12c8c8ed00dab101886d4a75915dac53 SHA256 24c6ceb5d66b20a0212a8f64d4d3012c0245f512cf92b07df0a0d35f5580dcb6

Added: trunk/overlays/proaudio/media-libs/celt/celt-0.5.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/celt/celt-0.5.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/celt/celt-0.5.0.ebuild	2008-12-08 14:14:58 UTC (rev 1376)
@@ -0,0 +1,19 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit base
+
+DESCRIPTION="The CELT ultra-low delay audio codec"
+HOMEPAGE="http://www.celt-codec.org/";
+SRC_URI="http://downloads.us.xiph.org/releases/${PN}/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libogg"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"

Modified: trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/ChangeLog	2008-12-07 18:14:25 UTC (rev 1375)
+++ trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/ChangeLog	2008-12-08 14:14:58 UTC (rev 1376)
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  08 Dec 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx>
+  +jack-audio-connection-kit-0.116.1.ebuild:
+  version bump
+
   12 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
   -jack-audio-connection-kit-0.100.7-r2.ebuild,
   -jack-audio-connection-kit-0.100.7-r3.ebuild,

Modified: trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/Manifest	2008-12-07 18:14:25 UTC (rev 1375)
+++ trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/Manifest	2008-12-08 14:14:58 UTC (rev 1376)
@@ -4,14 +4,12 @@
 AUX jack-audio-connection-kit-transport.patch 309 RMD160 7b7130dd922ed14988eb591059d643ece39f6757 SHA1 ed8f9d90ec62476643f41ff60735d4aaaee84886 SHA256 74f1d155f365deb1461d070b37ccd7836c32c521d31960a3f4e6c3f2e528bada
 AUX jack-transport-start-at-zero-fix.diff 1613 RMD160 aa2e1492841c4299647af812d68e9585ebd53b10 SHA1 9e18d8ed0fa755fcd4aa53e82693e03d71a94b7b SHA256 f836d29c3ee71624968e8befb3f9972c1906b926d4737e02499a6bec646b5a1f
 AUX jackmidi_01dec05.patch 34782 RMD160 151415df3439c7d7b6f4109559ed3b212316e6bb SHA1 60d8a3064f349fa0897c78ded0e7d14a64f0f533 SHA256 3c0d5097f7b2fda5c35c963224dd7a59b097181415956317cf6f161d5e48048a
-DIST jack-audio-connection-kit-0.101.1.tar.gz 724598 RMD160 54bcb565419f032715a90ff79b056003e2fe7fef SHA1 0cd4c82402c944df83bad7110128020dad4772bc SHA256 4f0e89a83aaaf5b125389135ee4f321b22ffef19003749c138eb54974e2f5533
-DIST jack-audio-connection-kit-0.102.20.tar.gz 761792 RMD160 5a343fa8c54f629418f3e21165870d7e8a75a4a6 SHA1 97255192331f1189a9879d78b1aecbb42468dcf2 SHA256 e4506a9f46cd6fa4896e76482f17b7bddeeda3eb35add176d6db479e5c4f8530
 DIST jack-audio-connection-kit-0.109.2.tar.gz 831141 RMD160 1e382cf6751b4df3d5d4ea75be7ee94adbc7746a SHA1 5a23c9817fb72858d5bc7b3077224575140b7f55 SHA256 27a7a70e5be0dbcdd98ee1a505399e006e06b4f58fcd3b8cd25763aa7e43bfd4
+DIST jack-audio-connection-kit-0.116.1.tar.gz 943593 RMD160 a13ab20b747d0cfd8551e5e2874fd249184078d0 SHA1 2fb1e4bcc3fe8cf18024d3ead93eb4e4fcef5e69 SHA256 da3e6133e4f0305d8a0759563b074722ab97894a81b8925a058bc4714f7e4fd9
 DIST jackdbus-patches-0.9.tar.bz2 39305 RMD160 0e9c348211684fa6b52261adca2c43ad1b5200db SHA1 342137f9763da9a2aebd818434515cf3cc41682d SHA256 c37fe0811b49da0dbaeb5fbc8ed7eddc47f514eda6b9dc662cff8f80847526f2
 DIST netjack-0.12.tar.bz2 28044 RMD160 13d13f2a66c891da243f9a286833554f680937ff SHA1 f850ed654d0f115065d96bee34d9f7c05e8c5725 SHA256 c443bcb6ec2b477c52cab2fca75aef80fe2c2c91499e45ffdbb1c28ffaa7ee60
-EBUILD jack-audio-connection-kit-0.101.1.ebuild 3918 RMD160 d3681a610e4df228d8b9b49f8603d48d7546e99e SHA1 525499a53d01a8abd341735430dd33ec5d113a8c SHA256 782cf56e5b4d64e7e630075e32a1d726b9fa54bb0d0507d0c19b744988229964
-EBUILD jack-audio-connection-kit-0.102.20.ebuild 3922 RMD160 bf4f8285bf04df57e294d9912fb89ba076629846 SHA1 a89a307dd4562bd0647feb5424c6516be0117c92 SHA256 af8ba1b48c6cac09e0e5da8b8544f45aaf76be831b457aea75d8300d711b9e17
 EBUILD jack-audio-connection-kit-0.109.2-r2.ebuild 4769 RMD160 0da7e08bf67145fc6f3b3379c463e32dc75eb04b SHA1 65f27fc56207e67716a57b566daf3d6184ba1a52 SHA256 d2cfa38406eb3ed863232c565abf6127984b59520ad1d9e00b4e0ca72aa1d972
+EBUILD jack-audio-connection-kit-0.116.1.ebuild 3667 RMD160 c9fbdb98a2a71bcd1b40e3582561243af564e8c7 SHA1 5e39defe108236ef73c70e0ea7bcffbd6890b202 SHA256 47a42ce0ea83e1021802ed6d9ce4e31afed2360b54c19952adc885bfd01ca721
 EBUILD jack-audio-connection-kit-9999.ebuild 5446 RMD160 a143fdf36a9614d2ddf8305891ec4d6b02103503 SHA1 6c1b7850cc276fcb6d674537039217fa877db059 SHA256 596603e021ca8c23b77ba784824335b45e35a86504f954dab6470dba182de0f6
-MISC ChangeLog 3423 RMD160 2c5ea72de2649a28f68b0ef8abd8c99da641b194 SHA1 5f64004855fd625db84684754d41d4e50a98df95 SHA256 0ca0032297bd559145323abcbef356baf75567f0dc1d52a75e9e289225017960
+MISC ChangeLog 3539 RMD160 b086e2d0d85010139008f643f1cff9a734edb3fc SHA1 cbf8a1a6526b0d6512001cf978ce67f1b47178c4 SHA256 37ff9acc8c3112600739b86c6e0c0310794675d18ab1b341c541d08e82f47922
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Deleted: trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.101.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.101.1.ebuild	2008-12-07 18:14:25 UTC (rev 1375)
+++ trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.101.1.ebuild	2008-12-08 14:14:58 UTC (rev 1376)
@@ -1,167 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit flag-o-matic eutils multilib
-
-RESTRICT="nomirror"
-NETJACK="netjack-0.12"
-
-DESCRIPTION="A low-latency audio server"
-HOMEPAGE="http://www.jackaudio.org";
-SRC_URI="mirror://sourceforge/jackit/${P}.tar.gz
-	netjack? ( mirror://sourceforge/netjack/${NETJACK}.tar.bz2 )"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
-
-IUSE="altivec alsa caps coreaudio doc debug jack-tmpfs mmx oss portaudio sndfile sse netjack jackmidi"
-
-RDEPEND="dev-util/pkgconfig
-	jackmidi? ( media-libs/alsa-lib )
-	netjack? ( !media-sound/netjack )
-	sndfile? ( >=media-libs/libsndfile-1.0.0 )
-	sys-libs/ncurses
-	caps? ( sys-libs/libcap )
-	portaudio? ( =media-libs/portaudio-18* )
-	alsa? ( >=media-libs/alsa-lib-0.9.1 )
-	netjack? ( dev-util/scons )
-	!media-sound/jack-audio-connection-kit-svn"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )"
-
-pkg_setup() {
-	if ! use sndfile ; then
-		ewarn "sndfile not in USE flags. jack_rec will not be installed!"
-	fi
-
-	if use caps; then
-		if [[ "${KV:0:3}" == "2.4" ]]; then
-			einfo "will build jackstart for 2.4 kernel"
-		else
-			einfo "using compatibility symlink for jackstart"
-		fi
-	fi
-
-}
-
-src_unpack() {
-	unpack ${A}
-	use netjack && unpack ${NETJACK}.tar.bz2
-	cd ${S}
-
-	# the docs option is in upstream, I'll leave the pentium2 foobage
-	# for the x86 folks...... kito@xxxxxxxxxx
-
-	# Add doc option and fix --march=pentium2 in caps test
-	#epatch ${FILESDIR}/${PN}-doc-option.patch
-
-	# compile and install jackstart, see #92895, #94887
-	#if use caps ; then
-	#	epatch ${FILESDIR}/${PN}-0.99.0-jackstart.patch
-	#fi
-
-	epatch ${FILESDIR}/${PN}-transport.patch
-	epatch ${FILESDIR}/${PN}-mmap_complex.patch
-	if use jackmidi; then
-		epatch ${FILESDIR}/jackmidi_01dec05.patch || die
-	fi
-}
-
-src_compile() {
-	local myconf
-
-	sed -i "s/^CFLAGS=\$JACK_CFLAGS/CFLAGS=\"\$JACK_CFLAGS $(get-flag -march)\"/" configure
-
-	use doc && myconf="--with-html-dir=/usr/share/doc/${PF}"
-
-	if use jack-tmpfs; then
-		myconf="${myconf} --with-default-tmpdir=/dev/shm"
-	else
-		myconf="${myconf} --with-default-tmpdir=/var/run/jack"
-	fi
-
-	if use userland_Darwin ; then
-		append-flags -fno-common
-		use altivec && append-flags -force_cpusubtype_ALL \
-			-maltivec -mabi=altivec -mhard-float -mpowerpc-gfxopt
-	fi
-
-	if use jackmidi; then
-		aclocal
-		automake
-	fi
-
-
-	use sndfile && \
-		export SNDFILE_CFLAGS="-I/usr/include" \
-		export SNDFILE_LIBS="-L/usr/$(get_libdir) -lsndfile"
-
-	econf \
-		$(use_enable altivec) \
-		$(use_enable alsa) \
-		$(use_enable caps capabilities) $(use_enable caps stripped-jackd) \
-		$(use_enable coreaudio) \
-		$(use_enable debug) \
-		$(use_enable doc html-docs) \
-		$(use_enable mmx) \
-		$(use_enable oss) \
-		$(use_enable portaudio) \
-		$(use_enable sse)  \
-		$(use_enable 3dnow dynsimd) \
-		--with-pic \
-		${myconf} || die "configure failed"
-	emake || die "compilation failed"
-
-	if use caps && [[ "${KV:0:3}" == "2.4" ]]; then
-		einfo "Building jackstart for 2.4 kernel"
-		cd ${S}/jackd
-		emake jackstart || die "jackstart build failed."
-	fi
-
-	if use netjack; then
-		cd ${WORKDIR}/${NETJACK}
-		scons jack_source_dir=${S}
-	fi
-
-}
-
-src_install() {
-	make DESTDIR=${D} datadir=/usr/share/doc install || die
-
-	if use caps; then
-		if [[ "${KV:0:3}" == "2.4" ]]; then
-			cd ${S}/jackd
-			dobin jackstart
-		else
-			dosym /usr/bin/jackd /usr/bin/jackstart
-		fi
-	fi
-
-	if ! use jack-tmpfs; then
-		keepdir /var/run/jack
-		chmod 4777 ${D}/var/run/jack
-	fi
-
-	if use doc; then
-		mv ${D}/usr/share/doc/${PF}/reference/html \
-		   ${D}/usr/share/doc/${PF}/
-
-		insinto /usr/share/doc/${PF}
-		doins -r ${S}/example-clients
-	else
-		rm -rf ${D}/usr/share/doc
-	fi
-
-	rm -rf ${D}/usr/share/doc/${PF}/reference
-
-	if use netjack; then
-		cd ${WORKDIR}/${NETJACK}
-		dobin alsa_in
-		dobin alsa_out
-		dobin jacknet_client
-		insinto /usr/lib/jack
-		doins jack_net.so
-	fi
-}

Deleted: trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.102.20.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.102.20.ebuild	2008-12-07 18:14:25 UTC (rev 1375)
+++ trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.102.20.ebuild	2008-12-08 14:14:58 UTC (rev 1376)
@@ -1,167 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit flag-o-matic eutils multilib
-
-RESTRICT="nomirror"
-NETJACK="netjack-0.12"
-
-DESCRIPTION="A low-latency audio server"
-HOMEPAGE="http://www.jackaudio.org";
-SRC_URI="mirror://sourceforge/jackit/${P}.tar.gz
-	netjack? ( mirror://sourceforge/netjack/${NETJACK}.tar.bz2 )"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
-
-IUSE="altivec alsa caps coreaudio doc debug jack-tmpfs mmx oss portaudio sndfile sse netjack jackmidi"
-
-RDEPEND="dev-util/pkgconfig
-	jackmidi? ( media-libs/alsa-lib )
-	netjack? ( !media-sound/netjack )
-	sndfile? ( >=media-libs/libsndfile-1.0.0 )
-	sys-libs/ncurses
-	caps? ( sys-libs/libcap )
-	portaudio? ( =media-libs/portaudio-18* )
-	alsa? ( >=media-libs/alsa-lib-0.9.1 )
-	netjack? ( dev-util/scons )
-	!media-sound/jack-audio-connection-kit-svn"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )"
-
-pkg_setup() {
-	if ! use sndfile ; then
-		ewarn "sndfile not in USE flags. jack_rec will not be installed!"
-	fi
-
-	if use caps; then
-		if [[ "${KV:0:3}" == "2.4" ]]; then
-			einfo "will build jackstart for 2.4 kernel"
-		else
-			einfo "using compatibility symlink for jackstart"
-		fi
-	fi
-
-}
-
-src_unpack() {
-	unpack ${A}
-	use netjack && unpack ${NETJACK}.tar.bz2
-	cd ${S}
-
-	# the docs option is in upstream, I'll leave the pentium2 foobage
-	# for the x86 folks...... kito@xxxxxxxxxx
-
-	# Add doc option and fix --march=pentium2 in caps test
-	#epatch ${FILESDIR}/${PN}-doc-option.patch
-
-	# compile and install jackstart, see #92895, #94887
-	#if use caps ; then
-	#	epatch ${FILESDIR}/${PN}-0.99.0-jackstart.patch
-	#fi
-
-	epatch ${FILESDIR}/${PN}-transport.patch
-	#epatch ${FILESDIR}/${PN}-mmap_complex.patch
-	#if use jackmidi; then
-	#	epatch ${FILESDIR}/jackmidi_01dec05.patch || die
-	#fi
-}
-
-src_compile() {
-	local myconf
-
-	sed -i "s/^CFLAGS=\$JACK_CFLAGS/CFLAGS=\"\$JACK_CFLAGS $(get-flag -march)\"/" configure
-
-	use doc && myconf="--with-html-dir=/usr/share/doc/${PF}"
-
-	if use jack-tmpfs; then
-		myconf="${myconf} --with-default-tmpdir=/dev/shm"
-	else
-		myconf="${myconf} --with-default-tmpdir=/var/run/jack"
-	fi
-
-	if use userland_Darwin ; then
-		append-flags -fno-common
-		use altivec && append-flags -force_cpusubtype_ALL \
-			-maltivec -mabi=altivec -mhard-float -mpowerpc-gfxopt
-	fi
-
-	if use jackmidi; then
-		aclocal
-		automake
-	fi
-
-
-	use sndfile && \
-		export SNDFILE_CFLAGS="-I/usr/include" \
-		export SNDFILE_LIBS="-L/usr/$(get_libdir) -lsndfile"
-
-	econf \
-		$(use_enable altivec) \
-		$(use_enable alsa) \
-		$(use_enable caps capabilities) $(use_enable caps stripped-jackd) \
-		$(use_enable coreaudio) \
-		$(use_enable debug) \
-		$(use_enable doc html-docs) \
-		$(use_enable mmx) \
-		$(use_enable oss) \
-		$(use_enable portaudio) \
-		$(use_enable sse)  \
-		$(use_enable 3dnow dynsimd) \
-		--with-pic \
-		${myconf} || die "configure failed"
-	emake || die "compilation failed"
-
-	if use caps && [[ "${KV:0:3}" == "2.4" ]]; then
-		einfo "Building jackstart for 2.4 kernel"
-		cd ${S}/jackd
-		emake jackstart || die "jackstart build failed."
-	fi
-
-	if use netjack; then
-		cd ${WORKDIR}/${NETJACK}
-		scons jack_source_dir=${S}
-	fi
-
-}
-
-src_install() {
-	make DESTDIR=${D} datadir=/usr/share/doc install || die
-
-	if use caps; then
-		if [[ "${KV:0:3}" == "2.4" ]]; then
-			cd ${S}/jackd
-			dobin jackstart
-		else
-			dosym /usr/bin/jackd /usr/bin/jackstart
-		fi
-	fi
-
-	if ! use jack-tmpfs; then
-		keepdir /var/run/jack
-		chmod 4777 ${D}/var/run/jack
-	fi
-
-	if use doc; then
-		mv ${D}/usr/share/doc/${PF}/reference/html \
-		   ${D}/usr/share/doc/${PF}/
-
-		insinto /usr/share/doc/${PF}
-		doins -r ${S}/example-clients
-	else
-		rm -rf ${D}/usr/share/doc
-	fi
-
-	rm -rf ${D}/usr/share/doc/${PF}/reference
-
-	if use netjack; then
-		cd ${WORKDIR}/${NETJACK}
-		dobin alsa_in
-		dobin alsa_out
-		dobin jacknet_client
-		insinto /usr/lib/jack
-		doins jack_net.so
-	fi
-}

Added: trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.116.1.ebuild	2008-12-08 14:14:58 UTC (rev 1376)
@@ -0,0 +1,133 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit flag-o-matic eutils multilib linux-info autotools
+
+DESCRIPTION="A low-latency audio server"
+HOMEPAGE="http://www.jackaudio.org";
+SRC_URI="http://jackaudio.org/downloads/${P}.tar.gz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="3dnow altivec alsa caps celt coreaudio cpudetection doc debug ieee1394
+jack-tmpfs mmx netjack oss portaudio sse freebob"
+
+RDEPEND="
+	>=media-libs/libsndfile-1.0.0
+	sys-libs/ncurses
+	caps? ( sys-libs/libcap )
+	celt? ( >=media-libs/celt-0.5.0 )
+	portaudio? ( =media-libs/portaudio-18* )
+	alsa? ( >=media-libs/alsa-lib-0.9.1 )
+	freebob? ( sys-libs/libfreebob )
+	ieee1394? ( media-libs/libffado )
+	netjack? ( media-libs/libsamplerate )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? ( app-doc/doxygen )"
+
+pkg_setup() {
+	if use caps; then
+		if kernel_is 2 4 ; then
+			einfo "will build jackstart for 2.4 kernel"
+		else
+			einfo "using compatibility symlink for jackstart"
+		fi
+	fi
+}
+
+src_compile() {
+	# building docs isn't configureable anymore, they are build if doxygen is
+	# installed
+	local myconf="--with-html-dir=/usr/share/doc/${PF}"
+
+	if use jack-tmpfs; then
+		myconf="${myconf} --with-default-tmpdir=/dev/shm"
+	else
+		myconf="${myconf} --with-default-tmpdir=/var/run/jack"
+	fi
+
+	if use dbus; then
+		myconf="${myconf} --enable-dbus --enable-pkg-config-dbus-service-dir"
+	fi
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		append-flags -fno-common
+		use altivec && append-flags -force_cpusubtype_ALL \
+			-maltivec -mabi=altivec -mhard-float -mpowerpc-gfxopt
+	fi
+
+	# CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse.
+	# Also, without -O2 it will not compile as well.
+	# we test if it is present before enabling the configure flag.
+	if use cpudetection ; then
+		if (! grep 3dnow /proc/cpuinfo >/dev/null) ; then
+			ewarn "Can't build cpudetection (dynsimd) without cpu 3dnow support. see bug #136565."
+		elif (! grep sse /proc/cpuinfo >/dev/null) ; then
+			ewarn "Can't build cpudetection (dynsimd) without cpu sse support. see bug #136565."
+		elif (! grep mmx /proc/cpuinfo >/dev/null) ; then
+			ewarn "Can't build cpudetection (dynsimd) without cpu mmx support. see bug #136565."
+		else
+			einfo "Enabling cpudetection (dynsimd). Adding -mmmx, -msse, -m3dnow and -O2 to CFLAGS."
+			myconf="${myconf} --enable-dynsimd"
+
+			filter-flags -O*
+			append-flags -mmmx -msse -m3dnow -O2
+		fi
+	fi
+
+	econf \
+		$(use_enable freebob) \
+		$(use_enable ieee1394 firewire) \
+		$(use_enable altivec) \
+		$(use_enable alsa) \
+		$(use_enable caps capabilities) $(use_enable caps stripped-jackd) \
+		$(use_enable coreaudio) \
+		$(use_enable debug) \
+		$(use_enable mmx) \
+		$(use_enable oss) \
+		$(use_enable portaudio) \
+		$(use_enable sse)  \
+		$(use_enable 3dnow dynsimd) \
+		--disable-dependency-tracking \
+		${myconf} || die "configure failed"
+	emake || die "compilation failed"
+
+	if use caps && kernel_is 2 4 ; then
+		einfo "Building jackstart for 2.4 kernel"
+		cd "${S}"/jackd
+		emake jackstart || die "jackstart build failed."
+	fi
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "install failed"
+
+	if use caps; then
+		if kernel_is 2 4 ; then
+			cd "${S}/jackd"
+			dobin jackstart
+		else
+			dosym /usr/bin/jackd /usr/bin/jackstart
+		fi
+	fi
+
+	if ! use jack-tmpfs; then
+		keepdir /var/run/jack
+		chmod 4777 ${D}/var/run/jack
+	fi
+
+	if use doc; then
+		mv ${D}/usr/share/doc/${PF}/reference/html \
+		   ${D}/usr/share/doc/${PF}/
+
+		insinto /usr/share/doc/${PF}
+		doins -r "${S}/example-clients"
+	else
+		rm -rf ${D}/usr/share/doc
+	fi
+
+	rm -rf ${D}/usr/share/doc/${PF}/reference
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/