summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-05-23 03:05:55 +0000
committerJon Hood <squinky86@gentoo.org>2004-05-23 03:05:55 +0000
commit36830db643c89dd4e8f63a84d0a6be35aa27ba24 (patch)
treea60cc6ea8cccb42e835009adbfe17e1a4ab9e32f /media-sound
parentdev-util/dialog added as a DEPEND for alsaconf to work. (diff)
downloadhistorical-36830db643c89dd4e8f63a84d0a6be35aa27ba24.tar.gz
historical-36830db643c89dd4e8f63a84d0a6be35aa27ba24.tar.bz2
historical-36830db643c89dd4e8f63a84d0a6be35aa27ba24.zip
add better tempdir support irt #50231
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/jack-audio-connection-kit/ChangeLog8
-rw-r--r--media-sound/jack-audio-connection-kit/files/digest-jack-audio-connection-kit-0.98.1-r11
-rw-r--r--media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.98.1-r1.ebuild69
3 files changed, 77 insertions, 1 deletions
diff --git a/media-sound/jack-audio-connection-kit/ChangeLog b/media-sound/jack-audio-connection-kit/ChangeLog
index ddc1b27125dd..2795a3d178b1 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 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.32 2004/05/05 04:10:17 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.33 2004/05/23 03:05:55 squinky86 Exp $
+
+*jack-audio-connection-kit-0.98.1-r1 (22 May 2004)
+
+ 22 May 2004; Jon Hood <squinky86@gentoo.org>
+ +jack-audio-connection-kit-0.98.1-r1.ebuild:
+ add better tempdir support irt #50231
*jack-audio-connection-kit-0.98.1 (04 May 2004)
diff --git a/media-sound/jack-audio-connection-kit/files/digest-jack-audio-connection-kit-0.98.1-r1 b/media-sound/jack-audio-connection-kit/files/digest-jack-audio-connection-kit-0.98.1-r1
new file mode 100644
index 000000000000..3df2e43f269f
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/files/digest-jack-audio-connection-kit-0.98.1-r1
@@ -0,0 +1 @@
+MD5 6ebd659a431e75b841fa5e0c397372ee jack-audio-connection-kit-0.98.1.tar.gz 706100
diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.98.1-r1.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.98.1-r1.ebuild
new file mode 100644
index 000000000000..dbb18cb2317e
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.98.1-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# 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.98.1-r1.ebuild,v 1.1 2004/05/23 03:05:55 squinky86 Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="A low-latency audio server"
+HOMEPAGE="http://jackit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jackit/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~alpha ~ia64"
+IUSE="doc debug jack-tmpfs caps"
+
+DEPEND=">=media-libs/alsa-lib-0.9.1
+ >=media-libs/libsndfile-1.0.0
+ dev-libs/glib
+ dev-util/pkgconfig
+ sys-libs/ncurses
+ caps? ( sys-libs/libcap )
+ doc? ( app-doc/doxygen )
+ sys-devel/autoconf
+ !media-sound/jack-cvs"
+PROVIDE="virtual/jack"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Add doc option and fix --march=pentium2 in caps test
+ epatch ${FILESDIR}/${P}-configure.patch
+ autoconf || die "Couldn't regenerate configure file, failing"
+}
+
+src_compile() {
+ local myconf
+ local myarch
+
+ myarch=`get-flag -march`
+
+ sed -i "s/^CFLAGS=\$JACK_CFLAGS/CFLAGS=\"\$JACK_CFLAGS $myarch\"/" configure
+ use doc \
+ && myconf="--enable-html-docs --with-html-dir=/usr/share/doc/${PF}" \
+ || myconf="--disable-html-docs"
+
+ use jack-tmpfs && myconf="${myconf} --with-default-tmpdir=/dev/shm" || myconf="${myconf} --with-default-tmpdir=/var/run/jack"
+ use caps && myconf="${myconf} --enable-capabilities --enable-stripped-jackd"
+ use debug && myconf="${myconf} --enable-debug"
+
+ myconf="${myconf} --enable-optimize --with-gnu-ld"
+
+ econf ${myconf} || die "configure failed"
+ emake || die "compilation failed"
+}
+
+src_install() {
+ make DESTDIR=${D} \
+ datadir=${D}/usr/share \
+ install || die
+
+ use jack-tmpfs || keepdir /var/run/jack && chmod 4777 ${D}/var/run/jack
+
+ if use doc; then
+ mv ${D}/usr/share/doc/${PF}/reference/html \
+ ${D}/usr/share/doc/${PF}/
+ rm -rf ${D}/usr/share/doc/${PF}/reference
+ fi
+}