diff options
author | Torben Hohn <torbenh@gentoo.org> | 2003-07-24 15:56:35 +0000 |
---|---|---|
committer | Torben Hohn <torbenh@gentoo.org> | 2003-07-24 15:56:35 +0000 |
commit | aeebe76058598657f757b5c7d9ad2472e7cbe4cf (patch) | |
tree | 94848f37016d7de7d65c1ff600d9d4000d892370 /media-sound | |
parent | added support for -march (diff) | |
download | historical-aeebe76058598657f757b5c7d9ad2472e7cbe4cf.tar.gz historical-aeebe76058598657f757b5c7d9ad2472e7cbe4cf.tar.bz2 historical-aeebe76058598657f757b5c7d9ad2472e7cbe4cf.zip |
added support for -march
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/jack-cvs/Manifest | 5 | ||||
-rw-r--r-- | media-sound/jack-cvs/files/digest-jack-cvs-0.7-r2 | 0 | ||||
-rw-r--r-- | media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild | 82 |
3 files changed, 84 insertions, 3 deletions
diff --git a/media-sound/jack-cvs/Manifest b/media-sound/jack-cvs/Manifest index f1f472a75257..4304d9b3feec 100644 --- a/media-sound/jack-cvs/Manifest +++ b/media-sound/jack-cvs/Manifest @@ -1,9 +1,8 @@ -MD5 9da47eea5b52fbd589752238f134cf8b ChangeLog 1874 +MD5 8fbf364cb9e39b7a21d40eec7b1da5db ChangeLog 2032 MD5 645fb96df0eea89e5b83863b480a9548 jack-cvs-0.6.ebuild 1603 -MD5 d41d8cd98f00b204e9800998ecf8427e 1 0 MD5 84dd702756657a36dfb4a66dc2473f86 jack-cvs-0.7.ebuild 1484 MD5 ae3a07bbc22a313bcd1a746dbea630cb metadata.xml 218 -MD5 64f34b516c8eba4ce80102887f3ea12a jack-cvs-0.7-r2.ebuild 1825 +MD5 48d91434e34ec1de381f9c2ee8842974 jack-cvs-0.7-r2.ebuild 1836 MD5 e1f6fe73f6cc069bd1dabffa84a671dd jack-cvs-0.7-r1.ebuild 1562 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jack-cvs-0.6 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jack-cvs-0.7 0 diff --git a/media-sound/jack-cvs/files/digest-jack-cvs-0.7-r2 b/media-sound/jack-cvs/files/digest-jack-cvs-0.7-r2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/media-sound/jack-cvs/files/digest-jack-cvs-0.7-r2 diff --git a/media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild b/media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild new file mode 100644 index 000000000000..6adf555ae3d3 --- /dev/null +++ b/media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild,v 1.1 2003/07/24 15:56:25 torbenh Exp $ + +IUSE="doc jack-tmpfs debug" + +inherit cvs +inherit flag-o-matic + +DESCRIPTION="A low-latency audio server - cvs version" +HOMEPAGE="http://jackit.sourceforge.net/" + +ECVS_SERVER="cvs.sourceforge.net:/cvsroot/jackit" +ECVS_MODULE="jack" +ECVS_TOP_DIR="${DISTDIR}/cvs-src/jackit" + +SRC_URI="" + +# libjack is LGPL, the rest is GPL +SLOT="0" +LICENSE="GPL-2 LGPL-2.1" +KEYWORDS="~x86 ~ppc" + +DEPEND="$DEPEND + >=media-libs/alsa-lib-0.9.1 + >=media-libs/libsndfile-1.0.0 + dev-libs/glib + dev-util/pkgconfig + sys-libs/ncurses + doc? ( app-doc/doxygen ) + !media-sound/jack-audio-connection-kit" + +PROVIDE="virtual/jack" + +S="${WORKDIR}/${PN/-cvs/}" + +src_compile() { + export WANT_AUTOCONF_2_5=1 + sh autogen.sh + + local myconf + local myarch + + myarch=`get-flag -march` + + cd $S + sed -i "s/^CFLAGS=\$JACK_CFLAGS/CFLAGS=\"\$JACK_CFLAGS $myarch\"/" configure + + use doc \ + && myconf="--with-html-dir=/usr/share/doc/${PF}/html" \ + || myconf="--without-html-dir" + + use jack-tmpfs && myconf="${myconf} --with-default-tmpdir=/dev/shm" + use debug && myconf="${myconf} --enable-debug" + + myconf="${myconf} --enable-optimize --with-gnu-ld" + + econf ${myconf} || die "configure failed" + emake || die "parallel make failed" +} + +src_install() { + + use doc && dodir /usr/share/doc/${PF}/html + + make DESTDIR=${D} \ + datadir=${D}/usr/share \ + install || die + + use doc && mv \ + ${D}/usr/share/jack-audio-connection-kit/reference/html/* \ + ${D}/usr/share/doc/${PF}/html + + use doc && rm -rf ${D}/usr/share/jack-audio-connection-kit +} + +pkg_postinst() { + + einfo "" + einfo "Remember to re-emerge jack-cvs before re-emerging ardour-cvs" + einfo "" +} |