diff options
Diffstat (limited to 'media-sound/jack-audio-connection-kit')
8 files changed, 313 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..956adf576bbc --- /dev/null +++ b/media-sound/jack-audio-connection-kit/Manifest @@ -0,0 +1,12 @@ +AUX jack-audio-connection-kit-0.125.0-freebsd.patch 533 SHA256 eb5e9c5b89518daf1895197f8f12e6297cddc299aa5e31cc6880c91dfb73c88b SHA512 23ff3f34b7891d0725b32faf515a138fd1220199bba6aceebc232a9647be99658f922c6d4a42f1c3b6f98bb9619cf470e2ec213fe906a9189b43163d21f47316 WHIRLPOOL 35b19e0ad5b42a2e00cf7039960fbd0c62403274f1f89503d1a866523a6fab3f62985ac49a2d760c885826bb44fa1f37072231945a80d11e9ee1aef6c5641aeb +AUX jack-audio-connection-kit-freebsd.patch 496 SHA256 7834f5ec198f8e69e2ac119fc2c4ee349ed7e38d003e473fcb41257e7b605df8 SHA512 7c0cf60ddd3d07e12e036082ab10299308d1e112c6190d008a739ab0374c8ecf9e2dcb703055a58f8098e5187044e2351a1786271cecdeae23cbed72e6d68cd6 WHIRLPOOL 3d11baf0f4ebe0613c378d79efcb6b81f94c28e9070471b9a496dda5f0ba90a2eac1e789a621d7ec5d109f018a7f67b0adbd53bbce9e059f3e18b04ca4fb7cd1 +AUX jack-audio-connection-kit-sparc-cpuinfo.patch 659 SHA256 256d48109d32ce8af89042401508392fbb90c499d4cf8b056104dc1a47522fe5 SHA512 c5964413c99fb1dd20dfe52dd40f857dab1cef123b26f74500e2f5607eda870b563595d39c4e4e0684428971e7295c847253d045b2d9ba0183f358630cfa9888 WHIRLPOOL 01d88bfce0394628fab10c48a4b80f0a025b741c5785f05bd22658fd95594e472439f569a450043cf7cc53700149d0d8b785bb7adc74711474fd3f6bcbc6d66f +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 +DIST jack-audio-connection-kit-0.125.0.tar.gz 1217977 SHA256 3517b5bff82139a76b2b66fe2fd9a3b34b6e594c184f95a988524c575b11d444 SHA512 acdac0588c8a6b79763177677885b6e7bfa8ee3cd9556b33bfe09512bc1191414bb4f97eed62c3c71567b13b4eb69d95ec6b438e5a9d2e22a956c073d500c46f WHIRLPOOL 3771caa41e8b813e888959b377ec99a14c6ac16ba0e9d564706666a4d3c049ac5d97787715d00b40dd309039f892fd167285f216b71a07209ebce9b98065c88b +EBUILD jack-audio-connection-kit-0.121.3-r1.ebuild 2433 SHA256 3cf39f2a34f9a97ca5600ff30e804095941e3f61e2ff1b95c4d2a996cc035715 SHA512 e0aeef4456bcee0452c3cdff0489fa0616d350c41b0a311babfc3889a15795694dd3b68ede5a02725fbfeaad20471ee77647e714148380464c7464a09f80f0a5 WHIRLPOOL 2a8bde96e086f1c21bf57858036ae9b0158d0e4173ee0320e5c585fe624e1b1b4fe78500d3f5934edc5e051260a025991acbf95a7f560a3745df125cf7be81f2 +EBUILD jack-audio-connection-kit-0.124.1-r1.ebuild 2236 SHA256 0564f575167dd17b8a9835f263a0689135fea540bd3716eaf2639daf10dfc83b SHA512 16590aaef08b6aa3ecac4127ee773437f13fd1d549dd82ba97f2bbadc1d99a6804fe8018cf6d379f368e9ca53f8305b33608d9a82d4f6c61443de8d59b5b4d99 WHIRLPOOL 1587bc6e8d9266352976d71944e0128d2f841869125994528f076c2f97d50a500dea9615bcc7614c183c464d737fc41c2993da4c8b6d2a30d06bff6fb8fa4d98 +EBUILD jack-audio-connection-kit-0.125.0.ebuild 2208 SHA256 dded77488635339439adbb41a8535678bd44200af76acd3af513bdfe7db0a063 SHA512 daa74d4b5e7491b552fcd62f01db5c9a0cff3ae1f9807be72b664fdc5ddb2a692bb7f688d1713d0a8bde16d0d9fd2f2945f0d48de96de167bdaa09a1ee67569a WHIRLPOOL b4708a1103623eb1ed123572de41d18bfcf36e367b9ea56a1609bffd4de8af5d3eaffd239747287e67f233d1434bffa7391cb7a1d571eb4761de0af005d34cb3 +MISC ChangeLog 3590 SHA256 dbf0b325ea51bbce2f42fb488ba0e8ca02ca998cb77acf5aff7c5d48da17bfe2 SHA512 ea41d5cdcc65d0790e9ba8fce00c43fde842492f4679253bacb751dbd3fab4a6c87fbb65f76fc0880dff705b6e4d17666fb2d70eb835eb68226344cdb1301e11 WHIRLPOOL 801be96c57280320f890dc984cd11b5d7f9c3966fa8e865891efe7dcc2ed42e7b24e904ea0505771f17c8b20b6da2c38314f677e720a9b4f57a929ea06668718 +MISC ChangeLog-2015 31021 SHA256 c41d9867c910cb2caf1b3f73883663a9ea03e0078e8571f2c03c1ef023d42330 SHA512 803d6779fddedb4a340a738363b78b0150d2de43b991622c01ffefa584f9248a3c96c60560ce474b63759ccef87e8b6f768fb518f146691f50c8abc657d7e65a WHIRLPOOL 7ed64afc3e184b0d1d92e3b5aad0b21cf3fec608d8bcb05aeb18d5918b81129bd862b82b97bbc6b52f3b0383cd9b0edeb5e3b747ce03b7e562d6f521de3af708 +MISC metadata.xml 525 SHA256 baab8b45e4a077d340ea7950401328dc46b7207db7fc7291d3d62a1b248bd934 SHA512 7c51cb4ac632fa0eb529b3fb5044d50d75c66bd0f15ae36140c758e8410a58c61550104cf241000247cbd32c211f16e92f147801a5074a7d1e0cf1fd07927714 WHIRLPOOL 0cbcb7b9fb1c257be00635f82fce4c74ed7798574d066861938f69e3f979735271a0b91a7a8caad7d7d15f6ff590c7cb644c6987bd7a29c952dcff50b15ccde3 diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.125.0-freebsd.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.125.0-freebsd.patch new file mode 100644 index 000000000000..376c65a7464c --- /dev/null +++ b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.125.0-freebsd.patch @@ -0,0 +1,15 @@ +Index: jack-audio-connection-kit-0.125.0/configure +=================================================================== +--- jack-audio-connection-kit-0.125.0.orig/configure ++++ jack-audio-connection-kit-0.125.0/configure +@@ -15795,9 +15795,7 @@ HOST_DEFAULT_TMP_DIR=/dev/shm + USE_MD5SUM=1 + case "${host_os}" in + 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" ++ TRY_POSIX_SHM=yes + USE_MD5SUM=0 + ;; + openbsd*) 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..0046819ee8b8 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 \ + --disable-firewire \ + $(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-r1.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.124.1-r1.ebuild new file mode 100644 index 000000000000..aad1c0fff8f3 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.124.1-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/db[${MULTILIB_USEDEP}] + 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 \ + --disable-firewire \ + $(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.125.0.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0.ebuild new file mode 100644 index 000000000000..b4876415e731 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~arm64 ~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/db:=[${MULTILIB_USEDEP}] + sys-libs/readline:0= + >=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}-0.125.0-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 \ + --disable-firewire \ + $(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..b01bff8f965e --- /dev/null +++ b/media-sound/jack-audio-connection-kit/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> + </maintainer> + <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 realtime configuration via <pkg>sys-auth/realtime-base</pkg></flag> + </use> +</pkgmetadata> |