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 863DA158043 for ; Tue, 26 Mar 2024 11:06:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5E32E2A1E; Tue, 26 Mar 2024 11:06: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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B08F5E2A1E for ; Tue, 26 Mar 2024 11:06: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0473C34300D for ; Tue, 26 Mar 2024 11:06:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DB93B29 for ; Tue, 26 Mar 2024 11:06:28 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1711451180.ca013469c4692182f51264a980af7b5688d34d15.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/htslib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/htslib/Manifest sci-libs/htslib/htslib-1.19.1.ebuild X-VCS-Directories: sci-libs/htslib/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: ca013469c4692182f51264a980af7b5688d34d15 X-VCS-Branch: master Date: Tue, 26 Mar 2024 11:06:28 +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: 62551d11-7baa-4911-8d14-d4ed6cf297e0 X-Archives-Hash: e58dc0b09803e9a4e253e920fe35ad6a commit: ca013469c4692182f51264a980af7b5688d34d15 Author: David Seifert gentoo org> AuthorDate: Tue Mar 26 11:06:20 2024 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Mar 26 11:06:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca013469 sci-libs/htslib: add 1.19.1 Signed-off-by: David Seifert gentoo.org> sci-libs/htslib/Manifest | 1 + sci-libs/htslib/htslib-1.19.1.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/sci-libs/htslib/Manifest b/sci-libs/htslib/Manifest index 38e157095820..23cea03c57b1 100644 --- a/sci-libs/htslib/Manifest +++ b/sci-libs/htslib/Manifest @@ -1 +1,2 @@ DIST htslib-1.17.tar.bz2 4619884 BLAKE2B c45591b3f1da4f6ddfdf5e1a20864583d57de2a460d42049715335fce7dafe1f5cd14403e6033fee4f9d0bfc75f8777b5835d2d01bf2cadff0155d9fc92b97d9 SHA512 624ab449d57713dab2d34399926c065f8cff8a45e6fbe68e0bb518c601421f587b613caeb095f8639b1d67cdb4a65d658c85f942173bcaa48da026fe15def5d3 +DIST htslib-1.19.1.tar.bz2 4775086 BLAKE2B 3af6770ade9505a3c71f6d522c0971eb77ea2549670043a539a2a4681e583554dc154b9b9fb33f1faa94be336a09945a28c57aa4bcfe0f39b03dd7585c49269a SHA512 a40de47ecae68756c158c1c7b578fa2a5c13bf6f98626e863af31a20d7880ffd415d966280c00bfe726f496d913eb0fcf014dd4beb8c1dbe36ed9735a48bd01e diff --git a/sci-libs/htslib/htslib-1.19.1.ebuild b/sci-libs/htslib/htslib-1.19.1.ebuild new file mode 100644 index 000000000000..2a38fa8634c8 --- /dev/null +++ b/sci-libs/htslib/htslib-1.19.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="C library for high-throughput sequencing data formats" +HOMEPAGE="http://www.htslib.org/" +SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0/3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+bzip2 curl +lzma" + +RDEPEND=" + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + curl? ( net-misc/curl ) + lzma? ( app-arch/xz-utils )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + # upstream injects LDFLAGS into the .pc file, + # which is a big nono for QA + sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \ + -i htslib.pc.in || die +} + +src_configure() { + econf \ + --disable-gcs \ + --disable-plugins \ + --disable-s3 \ + $(use_enable bzip2 bz2) \ + $(use_enable curl libcurl) \ + $(use_enable lzma) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + # doesn't use libtool, can't disable static libraries + find "${ED}" -name '*.a' -delete || die +}