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 AEAB4158041 for ; Sat, 24 Feb 2024 12:40:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88789E2A25; Sat, 24 Feb 2024 12:40:30 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6A08AE2A23 for ; Sat, 24 Feb 2024 12:40:30 +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 96177343068 for ; Sat, 24 Feb 2024 12:40:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1DD514C6 for ; Sat, 24 Feb 2024 12:40:27 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1708778396.4e2eddf6d3a55c4e23808446d9268e8fff4b2851.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/npth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/npth/Manifest dev-libs/npth/npth-1.7.ebuild X-VCS-Directories: dev-libs/npth/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 4e2eddf6d3a55c4e23808446d9268e8fff4b2851 X-VCS-Branch: master Date: Sat, 24 Feb 2024 12:40:27 +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: 0c8e730c-31ce-45dd-a309-dfef53a58d52 X-Archives-Hash: 58b5af4e7260fd3df3bab871c247877f commit: 4e2eddf6d3a55c4e23808446d9268e8fff4b2851 Author: Jakov Smolić gentoo org> AuthorDate: Sat Feb 24 12:04:04 2024 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Sat Feb 24 12:39:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2eddf6 dev-libs/npth: add 1.7 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/npth/Manifest | 1 + dev-libs/npth/npth-1.7.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-libs/npth/Manifest b/dev-libs/npth/Manifest index 3092cac1227f..528f8a186b80 100644 --- a/dev-libs/npth/Manifest +++ b/dev-libs/npth/Manifest @@ -1 +1,2 @@ DIST npth-1.6.tar.bz2 300486 BLAKE2B 665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10c9f8be47c4af5f3bf5968f709637ab3f4878bb68609752fbb6ce1364e109fdfeba64e4db258733a33f3fc SHA512 2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2 +DIST npth-1.7.tar.bz2 313213 BLAKE2B 39bc5857fb61a4264bef6ff23c28755d2a3b3ceef93034aefd5cf1c2ad905adf696c6753ebd5cea5e0a875df4ecb97db03e023a50a27f51ec0641bbc36b54089 SHA512 8893023bcf953a3f7c490cf8116bed323a9d4af2bea35277e919f437916fda8b8e68ded28ec1777717cf9187c504892556159cbdb8bc02ed4a8b30b3d897d244 diff --git a/dev-libs/npth/npth-1.7.ebuild b/dev-libs/npth/npth-1.7.ebuild new file mode 100644 index 000000000000..71d952cdae8c --- /dev/null +++ b/dev-libs/npth/npth-1.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="New GNU Portable Threads Library" +HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + econf $(use_enable test tests) +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +}