From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 5EC90158B20 for ; Sun, 02 Feb 2025 08:21:27 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E67F1343011 for ; Sun, 02 Feb 2025 08:20:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D90EE1103B6; Sun, 02 Feb 2025 08:20:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 bobolink.gentoo.org (Postfix) with ESMTPS id CF9E91103B6 for ; Sun, 02 Feb 2025 08:20:54 +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 84371343006 for ; Sun, 02 Feb 2025 08:20:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D377518F6 for ; Sun, 02 Feb 2025 08:20:52 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1738484383.588a9222ed96b4e9fb11f76aa9e2b92cb82aea77.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xxhash/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xxhash/Manifest dev-libs/xxhash/xxhash-0.8.3.ebuild X-VCS-Directories: dev-libs/xxhash/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 588a9222ed96b4e9fb11f76aa9e2b92cb82aea77 X-VCS-Branch: master Date: Sun, 02 Feb 2025 08:20:52 +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: a83d1262-2771-4c66-96c5-a0aaf25344c3 X-Archives-Hash: 1c19be09a55b503cc9de3ec7091310ff commit: 588a9222ed96b4e9fb11f76aa9e2b92cb82aea77 Author: Guilherme Amadio gentoo org> AuthorDate: Sun Feb 2 08:15:49 2025 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Sun Feb 2 08:19:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588a9222 dev-libs/xxhash: add 0.8.3 Please note that dispatch is now enabled automatically. See https://github.com/Cyan4973/xxHash/releases/tag/v0.8.3 Closes: https://bugs.gentoo.org/831975 Closes: https://bugs.gentoo.org/947902 Signed-off-by: Guilherme Amadio gentoo.org> dev-libs/xxhash/Manifest | 1 + dev-libs/xxhash/xxhash-0.8.3.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-libs/xxhash/Manifest b/dev-libs/xxhash/Manifest index be3b82a468e2..21b2673f12c4 100644 --- a/dev-libs/xxhash/Manifest +++ b/dev-libs/xxhash/Manifest @@ -1,2 +1,3 @@ DIST xxhash-0.8.1.tar.gz 171552 BLAKE2B c0efc1aabf68130d7028a6e43fb04826de4ec485bfb5e915bd9dad823149b970f964784e14c35babd46b9811b961ce3d0be49feb1640e00780decf037427f5fc SHA512 12feedd6a1859ef55e27218dbd6dcceccbb5a4da34cd80240d2f7d44cd246c7afdeb59830c2d5b90189bb5159293532208bf5bb622250102e12d6e1bad14a193 DIST xxhash-0.8.2.tar.gz 1141188 BLAKE2B 735408256240760778fa516e01bed428f04837eb4e059c512e924f13e4a96db6cacbbefb04dea65a37b0f25b52cf13c4927a6e7870dc8c0d45b1b955d4ba3da1 SHA512 3e3eef21432fe88bc4dd9940ccad0308fdea3537b06fa5ac0e74c1bde53413dff29c8b3fc617a8a42b9ce88fcf213311d338a31b1ce73b3729342c9e68f06c78 +DIST xxhash-0.8.3.tar.gz 1147630 BLAKE2B 75923c7c5df3490062791fa02ccddfb7281b3646e2b3e4b4a0c0d611c339e07c8d9cb656777fd0fcec9cda484f7b33edf080116bb011f70d6b8299cda63afa4e SHA512 8b5c8b9aad4e869f28310b12cc314037feda81d92f26c23eaecdb35dc65042ca2e65f2e9606033e62a31bcc737a9a950500ffcbdb8677d6ab20e820ea14f2b79 diff --git a/dev-libs/xxhash/xxhash-0.8.3.ebuild b/dev-libs/xxhash/xxhash-0.8.3.ebuild new file mode 100644 index 000000000000..ea7c8a6d21a2 --- /dev/null +++ b/dev-libs/xxhash/xxhash-0.8.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="Extremely fast non-cryptographic hash algorithm" +HOMEPAGE="https://xxhash.com/" +SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/xxHash-${PV} + +LICENSE="BSD-2 GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_compile() { + emake AR="$(tc-getAR)" CC="$(tc-getCC)" +} + +multilib_src_test() { + emake CC="$(tc-getCC)" check +} + +multilib_src_install() { + local emakeargs=( + DESTDIR="${D}" + PREFIX="${EPREFIX}"/usr + LIBDIR="${EPREFIX}"/usr/$(get_libdir) + ) + + emake "${emakeargs[@]}" install + einstalldocs + + rm "${ED}"/usr/$(get_libdir)/libxxhash.a || die +}