From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C838138359 for ; Tue, 11 Aug 2020 09:19:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AC60E07F6; Tue, 11 Aug 2020 09:19:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C68BE07F6 for ; Tue, 11 Aug 2020 09:19:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2BBCF34EDF6 for ; Tue, 11 Aug 2020 09:19:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4866258 for ; Tue, 11 Aug 2020 09:19:04 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1597137513.1e27169759baa897f7c7031e36846643e21bd861.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/jack-audio-connection-kit/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0-r1.ebuild X-VCS-Directories: media-sound/jack-audio-connection-kit/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 1e27169759baa897f7c7031e36846643e21bd861 X-VCS-Branch: master Date: Tue, 11 Aug 2020 09:19:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 63fe50c1-712f-4402-9af9-15f70a5934bc X-Archives-Hash: 94255725ede40a5cfbea1a1ceafca6d1 commit: 1e27169759baa897f7c7031e36846643e21bd861 Author: Stephan Hartmann googlemail com> AuthorDate: Mon Aug 10 07:09:22 2020 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Aug 11 09:18:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e271697 media-sound/jack-audio-connection-kit: add zita support Closes: https://bugs.gentoo.org/704404 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Stephan Hartmann googlemail.com> Signed-off-by: Miroslav Šulc gentoo.org> .../jack-audio-connection-kit-0.125.0-r1.ebuild | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0-r1.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0-r1.ebuild new file mode 100644 index 00000000000..53a0cf89653 --- /dev/null +++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.125.0-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic eutils multilib-minimal + +DESCRIPTION="A low-latency audio server" +HOMEPAGE="http://www.jackaudio.org" +SRC_URI="https://github.com/jackaudio/jack1/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~s390" +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 +# zita: ditto for jackd +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/zita-resampler + media-libs/zita-alsa-pcmi + ) + >=media-libs/libsamplerate-0.1.8-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +RDEPEND="${RDEPEND} + alsa? ( sys-process/lsof ) + pam? ( sys-auth/realtime-base )" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS=( AUTHORS TODO README ) + +PATCHES=( + "${FILESDIR}/${PN}-0.125.0-freebsd.patch" +) + +src_prepare() { + default + multilib_copy_sources +} + +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 + + if multilib_is_native_abi ; then + myconf="${myconf} $(use_enable alsa zalsa)" + else + myconf="${myconf} --disable-zalsa" + fi + + use doc || export ac_cv_prog_HAVE_DOXYGEN=false + + 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} \ + ${myconf} + + if ! multilib_is_native_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 + dodoc -r "${S}/example-clients" + docompress -x /usr/share/doc/${PF}/example-clients + fi +}