diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/jack-audio-connection-kit | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/jack-audio-connection-kit')
6 files changed, 204 insertions, 0 deletions
diff --git a/media-sound/jack-audio-connection-kit/Manifest b/media-sound/jack-audio-connection-kit/Manifest new file mode 100644 index 000000000000..69e0a173fbca --- /dev/null +++ b/media-sound/jack-audio-connection-kit/Manifest @@ -0,0 +1,2 @@ +DIST jack-audio-connection-kit-0.121.3.tar.gz 1083545 SHA256 b7095d3deabeecd19772b37241e89c6c79de6afd6c031ba7567513cfe51beafa SHA512 57323393d5209baefe73cc0cd9a0e818b1cfd260cf9aa36cd6ad800252e22e3ddb7fc46649c54b8e840696878147c2d06c8d39fd7300b5bb92aeb69f44ed710f WHIRLPOOL a256cfb7c3546cb06d6003313802b02812d8da9c13671be9b0341a10442cd348a8b3f7fe65e8d27cc47b4e29ded799fa6cc0efa51d81d01f342c7c8eefbc9c55 +DIST jack-audio-connection-kit-0.124.1.tar.gz 1113456 SHA256 eb42df6065576f08feeeb60cb9355dce4eb53874534ad71534d7aa31bae561d6 SHA512 9c885da516f2ca246edba94db26c851229d063f1557ea91ec76ca57d675a510d16cc4baad5adb316cf46aaaa8b8d7579b484a53b9a803b34fc9bb34c983a8fe2 WHIRLPOOL 41232400d99a72b29a75f4d781c373a7f453c704a52b0a669cab71296574881b0a99b21b86628d02db8c3d7a64bec6a259ae1ba0a4c721867e19283139cee824 diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch new file mode 100644 index 000000000000..a884ac6881e1 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch @@ -0,0 +1,13 @@ +--- jack-audio-connection-kit-0.121.3/configure.old 2012-05-29 11:10:22.000000000 -0400 ++++ jack-audio-connection-kit-0.121.3/configure 2012-05-29 11:10:46.000000000 -0400 +@@ -14903,7 +14903,9 @@ + freebsd*) + # current FreeBSD header files conflict with the OSS driver's + # barrier code, this may be fixed in 5.3, stay tuned. +- USE_BARRIER="no" ++ # USE_BARRIER="no" ++ TRY_POSIX_SHM=yes ++ HOST_DEFAULT_TMP_DIR=/tmp + ;; + openbsd*) + # pthread_barrier* not implemented diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch new file mode 100644 index 000000000000..8017f90ebe93 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch @@ -0,0 +1,17 @@ +On Linux/SPARC, /proc/cpuinfo doesn't include "Cpu0Bogo" anymore, +use "Cpu0ClkTck" instead to determine the processor speed. + +linux upstream commit 8b99cfb8cc51adae7f5294c8962a026c63100959 + +--- old/config/os/gnu-linux/time.c ++++ new/config/os/gnu-linux/time.c +@@ -152,7 +152,8 @@ + defined(__x86_64__) + ret = sscanf(buf, "cpu MHz : %" SCNu64, &mhz); + #elif defined( __sparc__ ) +- ret = sscanf(buf, "Cpu0Bogo : %" SCNu64, &mhz); ++ ret = sscanf(buf, "Cpu0ClkTck : %" PRIx16, &mhz); ++ mhz = mhz / 1000 / 1000; // hz -> mhz + #elif defined( __mc68000__ ) + ret = sscanf(buf, "Clocking: %" SCNu64, &mhz); + #elif defined( __s390__ ) diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r1.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r1.ebuild new file mode 100644 index 000000000000..e8ce9bf247a7 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic eutils multilib multilib-minimal + +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 ~amd64-fbsd" +IUSE="cpu_flags_x86_3dnow altivec alsa coreaudio doc debug examples cpu_flags_x86_mmx oss cpu_flags_x86_sse cpudetection pam" + +# readline: only used for jack_transport -> useless for non native ABIs +# libsndfile: ditto for jackrec +RDEPEND=" + sys-libs/readline + >=media-libs/libsndfile-1.0.0 + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + >=media-libs/libsamplerate-0.1.8-r1[${MULTILIB_USEDEP}] + !media-sound/jack-cvs + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r7 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" +RDEPEND="${RDEPEND} + alsa? ( sys-process/lsof ) + pam? ( sys-auth/realtime-base )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-sparc-cpuinfo.patch" + epatch "${FILESDIR}/${PN}-freebsd.patch" +} + +DOCS=( AUTHORS TODO README ) + +multilib_src_configure() { + local myconf="" + + # CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse. + if use cpudetection && use cpu_flags_x86_3dnow && use cpu_flags_x86_mmx && use cpu_flags_x86_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_SOURCE="${S}" econf \ + $(use_enable altivec) \ + $(use_enable alsa) \ + $(use_enable coreaudio) \ + $(use_enable debug) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable oss) \ + --disable-portaudio \ + $(use_enable cpu_flags_x86_sse sse) \ + --with-html-dir=/usr/share/doc/${PF} \ + --disable-dependency-tracking \ + --libdir=/usr/$(get_libdir) \ + ${myconf} + + if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then + for i in tools man ; do + sed -i -e "s/ ${i}//" Makefile || die + done + fi +} + +multilib_src_install_all() { + einstalldocs + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${S}/example-clients" + docompress -x /usr/share/doc/${PF}/example-clients + fi +} diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.124.1.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.124.1.ebuild new file mode 100644 index 000000000000..7cec76766fe8 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.124.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic eutils multilib multilib-minimal + +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 ~amd64-fbsd" +IUSE="cpu_flags_x86_3dnow altivec alsa coreaudio doc debug examples oss cpu_flags_x86_sse pam" + +# readline: only used for jack_transport -> useless for non native ABIs +# libsndfile: ditto for jackrec +RDEPEND=" + sys-libs/readline + >=media-libs/libsndfile-1.0.0 + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + >=media-libs/libsamplerate-0.1.8-r1[${MULTILIB_USEDEP}] + !media-sound/jack-cvs + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r7 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" +RDEPEND="${RDEPEND} + alsa? ( sys-process/lsof ) + pam? ( sys-auth/realtime-base )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-sparc-cpuinfo.patch" + epatch "${FILESDIR}/${PN}-freebsd.patch" +} + +DOCS=( AUTHORS TODO README ) + +multilib_src_configure() { + local myconf="" + + # Disabling CPU Detection (dynsimd) disables optimized asm routines (3dnow + # or sse) + if use cpu_flags_x86_3dnow || use cpu_flags_x86_sse ; then + myconf="${myconf} --enable-dynsimd" + fi + + use doc || export ac_cv_prog_HAVE_DOXYGEN=false + + ECONF_SOURCE="${S}" econf \ + $(use_enable altivec) \ + $(use_enable alsa) \ + $(use_enable coreaudio) \ + $(use_enable debug) \ + $(use_enable oss) \ + --disable-portaudio \ + $(use_enable cpu_flags_x86_sse sse) \ + --with-html-dir=/usr/share/doc/${PF} \ + --disable-dependency-tracking \ + --libdir=/usr/$(get_libdir) \ + ${myconf} + + if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then + for i in tools man ; do + sed -i -e "s/ ${i}//" Makefile || die + done + fi +} + +multilib_src_install_all() { + einstalldocs + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${S}/example-clients" + docompress -x /usr/share/doc/${PF}/example-clients + fi +} diff --git a/media-sound/jack-audio-connection-kit/metadata.xml b/media-sound/jack-audio-connection-kit/metadata.xml new file mode 100644 index 000000000000..63276d7c70ea --- /dev/null +++ b/media-sound/jack-audio-connection-kit/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <use> + <flag name="coreaudio">Build the CoreAudio driver on Mac OS X systems</flag> + <flag name="cpudetection">Enables runtime cpudetection</flag> + <flag name="pam">Add basic realime configuration via <pkg>sys-auth/realtime-base</pkg></flag> + </use> +</pkgmetadata> |