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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28ECB158091 for ; Thu, 16 Jun 2022 16:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 710E7E0A0B; Thu, 16 Jun 2022 16:32:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 572ADE0A0B for ; Thu, 16 Jun 2022 16:32:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CA3F341A10 for ; Thu, 16 Jun 2022 16:32:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E60BD50B for ; Thu, 16 Jun 2022 16:32:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1655397121.0a31dc2cfb95fd8ba41654682c77716f9c7fe043.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/klick/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/klick/klick-0.12.2-r3.ebuild X-VCS-Directories: media-sound/klick/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0a31dc2cfb95fd8ba41654682c77716f9c7fe043 X-VCS-Branch: master Date: Thu, 16 Jun 2022 16:32:50 +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: 24e4788a-77a8-4538-90ce-60bc721887e2 X-Archives-Hash: 98cb8676c37fca78177a49be8fd772c6 commit: 0a31dc2cfb95fd8ba41654682c77716f9c7fe043 Author: Alexander Tsoy tsoy me> AuthorDate: Wed Jun 15 13:06:19 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jun 16 16:32:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a31dc2c media-sound/klick: add Python 3.10 support Also fix variable scope issue. Closes: https://bugs.gentoo.org/846074 Closes: https://bugs.gentoo.org/836078 Signed-off-by: Alexander Tsoy tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/25909 Signed-off-by: Sam James gentoo.org> media-sound/klick/klick-0.12.2-r3.ebuild | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/media-sound/klick/klick-0.12.2-r3.ebuild b/media-sound/klick/klick-0.12.2-r3.ebuild new file mode 100644 index 000000000000..dc5e78d639f9 --- /dev/null +++ b/media-sound/klick/klick-0.12.2-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit python-any-r1 scons-utils toolchain-funcs + +DESCRIPTION="An advanced command-line based metronome for JACK" +HOMEPAGE="http://das.nasophon.de/klick" +SRC_URI="http://das.nasophon.de/download/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug osc rubberband" + +RDEPEND="media-libs/libsamplerate + media-libs/libsndfile + virtual/jack + osc? ( media-libs/liblo ) + rubberband? ( media-libs/rubberband )" +DEPEND="${RDEPEND} + dev-libs/boost" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-sconstruct.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +HTML_DOCS=( doc/manual.html ) + +src_configure() { + MYSCONS=( + CXX="$(tc-getCXX)" + CXXFLAGS="${CXXFLAGS}" + LINKFLAGS="${LDFLAGS}" + PREFIX="${EPREFIX}/usr" + DEBUG=$(usex debug) + OSC=$(usex osc) + RUBBERBAND=$(usex rubberband) + ) +} + +src_compile() { + escons "${MYSCONS[@]}" +} + +src_install() { + escons "${MYSCONS[@]}" DESTDIR="${D}" install + einstalldocs +}