commit:     accbe6041c05e88f730dab693db3a9473cd6359b
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 19 08:27:19 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Sep 19 12:11:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=accbe604

media-sound/jack-audio-connection-kit: bump to 0.125.0

Package-Manager: portage-2.3.1

 media-sound/jack-audio-connection-kit/Manifest     |  1 +
 ...jack-audio-connection-kit-0.125.0-freebsd.patch | 15 ++++
 .../jack-audio-connection-kit-0.125.0.ebuild       | 80 ++++++++++++++++++++++
 3 files changed, 96 insertions(+)

diff --git a/media-sound/jack-audio-connection-kit/Manifest 
b/media-sound/jack-audio-connection-kit/Manifest
index 69e0a17..0ece342 100644
--- a/media-sound/jack-audio-connection-kit/Manifest
+++ b/media-sound/jack-audio-connection-kit/Manifest
@@ -1,2 +1,3 @@
 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

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 00000000..376c65a
--- /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/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 00000000..6f21431
--- /dev/null
+++ 
b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 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/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}-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 \
+               $(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
+}

Reply via email to