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 13F4E1581E7 for ; Mon, 29 Apr 2024 01:01:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A011CE2A1B; Mon, 29 Apr 2024 01:01:16 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80F26E2A1B for ; Mon, 29 Apr 2024 01:01:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F721335D75 for ; Mon, 29 Apr 2024 01:01:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1D8B16C0 for ; Mon, 29 Apr 2024 01:01:13 +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: <1714352389.e2460d536b1642f238e955c6f510b9da7bdd3944.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/liblc3/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/liblc3/Manifest media-sound/liblc3/liblc3-1.1.1.ebuild X-VCS-Directories: media-sound/liblc3/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e2460d536b1642f238e955c6f510b9da7bdd3944 X-VCS-Branch: master Date: Mon, 29 Apr 2024 01:01:13 +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: 7c1d5c2f-f84a-4600-8baf-358b99913a48 X-Archives-Hash: 48d167b5dbe515d22f59af977806b5e6 commit: e2460d536b1642f238e955c6f510b9da7bdd3944 Author: Sam James gentoo org> AuthorDate: Mon Apr 29 00:57:01 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Apr 29 00:59:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2460d53 media-sound/liblc3: add 1.1.1 We can drop the LTO override as the eclass handles it for us now. Signed-off-by: Sam James gentoo.org> media-sound/liblc3/Manifest | 1 + media-sound/liblc3/liblc3-1.1.1.ebuild | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-sound/liblc3/Manifest b/media-sound/liblc3/Manifest index f17fbc13524f..9c33a7e0c686 100644 --- a/media-sound/liblc3/Manifest +++ b/media-sound/liblc3/Manifest @@ -1,2 +1,3 @@ DIST liblc3-1.0.3.tar.gz 261702 BLAKE2B 5b4f6961eb0990e746c9659c18f8a5daf1841cf3035d78f15414dfd631c18d0a61d8fbffb602130cae42d4ad3d87cee2bf311cb7065c217b79cc25637f2337c6 SHA512 ba8e2515b88bdc2db5c6fca0189d0f03720af1e2c33c91ade586efbd6f402a4ff9af33b5235716cac8dce7c17a5a432471f9572c17641fbc7877855aa0c2c2b4 DIST liblc3-1.0.4.tar.gz 263276 BLAKE2B 8c4b5e23b3dafe2fa22812c688f1f57167369cebe565b097e554be693d49b0c196fb5e454f3db8e724410f8c04d4bb66bd7594ab46b2a1b91c277300e5c48dc2 SHA512 bc047aa26059f2b2a7f5275b580f39a9237ffdd6da03645c7e95957447ba7410768ae5c08fcf1e0ac16fac873be4cbf62695b2298ef72f54f09e577664c27255 +DIST liblc3-1.1.1.tar.gz 1658742 BLAKE2B a38f1bede375fb57ee64b6e8ee7b639b01a58049815585a4528b2d0dfd5bf118455708f90e964b4a7b0599eb72dd6ba21b98a8c80588e64111ad9669f2c7fc3d SHA512 cd424a46fe8bad3cd2d633ef957305538afeb86f211d8824cf21e5c47c7ed174674a33a4e1906b73ab478cac7ed747c730f2d71d0021a7027c1c28b63ba3e588 diff --git a/media-sound/liblc3/liblc3-1.1.1.ebuild b/media-sound/liblc3/liblc3-1.1.1.ebuild new file mode 100644 index 000000000000..8c34042ea3e6 --- /dev/null +++ b/media-sound/liblc3/liblc3-1.1.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +inherit meson python-any-r1 + +DESCRIPTION="LC3 is an efficient low latency audio codec" +HOMEPAGE="https://github.com/google/liblc3" +SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test tools" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + $(python_gen_any_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version "dev-python/numpy[${PYTHON_USEDEP}]" && + python_has_version "dev-python/scipy[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + use arm || rm -rf "test/arm" || die + use arm64 || rm -rf "test/neon" || die + default +} + +src_configure() { + local emesonargs=( + -Dpython=false + $(meson_use tools) + ) + meson_src_configure +} + +src_test() { + V= emake test CFLAGS:="${CPPFLAGS} ${CFLAGS} -I"$("${EPYTHON}" -c "import numpy;print(numpy.get_include())")"" +}