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 1C0041382C5 for ; Sun, 28 Jan 2018 23:20:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74C20E0C62; Sun, 28 Jan 2018 23:19:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 47CC4E0C62 for ; Sun, 28 Jan 2018 23:19:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 32A60335C3E for ; Sun, 28 Jan 2018 23:19:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25F571E3 for ; Sun, 28 Jan 2018 23:19:51 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1517181544.d431cc2483474e83efb49b660ca463791939dd82.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/jack2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/jack2/jack2-1.9.12-r1.ebuild X-VCS-Directories: media-sound/jack2/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d431cc2483474e83efb49b660ca463791939dd82 X-VCS-Branch: master Date: Sun, 28 Jan 2018 23:19:51 +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-Archives-Salt: 58fdcd7b-b286-42d8-b6a4-8725a46d22a3 X-Archives-Hash: 196ad4cd83cf0d8420601df89e8588e9 commit: d431cc2483474e83efb49b660ca463791939dd82 Author: Hector Martin marcan st> AuthorDate: Sat Jan 20 08:43:29 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 28 23:19:04 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d431cc24 media-sound/jack2-1.9.12-r1: Add USE ieee1394 Pulling in media-libs/libffado. Closes: https://github.com/gentoo/gentoo/pull/6911 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-sound/jack2/jack2-1.9.12-r1.ebuild | 91 ++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/media-sound/jack2/jack2-1.9.12-r1.ebuild b/media-sound/jack2/jack2-1.9.12-r1.ebuild new file mode 100644 index 00000000000..4856ae84043 --- /dev/null +++ b/media-sound/jack2/jack2-1.9.12-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" +inherit python-single-r1 waf-utils multilib-minimal + +DESCRIPTION="Jackdmp jack implemention for multi-processor machine" +HOMEPAGE="http://jackaudio.org/" + +if [[ "${PV}" = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jackaudio/${PN}.git" +else + MY_PV="${PV/_rc/-RC}" + MY_P="${PN}-${MY_PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/jackaudio/jack2/releases/download/v${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" +fi + +LICENSE="GPL-2" +SLOT="2" +IUSE="alsa celt +classic dbus doc ieee1394 libsamplerate opus pam readline sndfile" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( classic dbus )" + +CDEPEND="${PYTHON_DEPS} + media-libs/libsamplerate + media-libs/libsndfile + sys-libs/readline:0= + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + celt? ( media-libs/celt:0[${MULTILIB_USEDEP}] ) + dbus? ( + dev-libs/expat[${MULTILIB_USEDEP}] + sys-apps/dbus[${MULTILIB_USEDEP}] + ) + ieee1394? ( media-libs/libffado:=[${MULTILIB_USEDEP}] ) + opus? ( media-libs/opus[custom-modes,${MULTILIB_USEDEP}] )" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" +RDEPEND="${CDEPEND} + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + pam? ( sys-auth/realtime-base ) + !media-sound/jack-audio-connection-kit:0" + +DOCS=( ChangeLog README README_NETJACK2 TODO ) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + local mywafconfargs=( + --htmldir=/usr/share/doc/${PF}/html + $(usex dbus --dbus "") + $(usex classic --classic "") + --alsa=$(usex alsa yes no) + --celt=$(usex celt yes no) + --doxygen=$(multilib_native_usex doc yes no) + --firewire=$(usex ieee1394 yes no) + --freebob=no + --iio=no + --opus=$(usex opus yes no) + --portaudio=no + --readline=$(multilib_native_usex readline yes no) + --samplerate=$(multilib_native_usex libsamplerate yes no) + --sndfile=$(multilib_native_usex sndfile yes no) + --winmme=no + ) + + waf-utils_src_configure ${mywafconfargs[@]} +} + +multilib_src_compile() { + WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_compile +} + +multilib_src_install() { + WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_install +} + +multilib_src_install_all() { + python_fix_shebang "${ED}" +}