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 F2D20158003 for ; Fri, 4 Nov 2022 19:59:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ECE3E07E1; Fri, 4 Nov 2022 19:59:07 +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 2344CE07E1 for ; Fri, 4 Nov 2022 19:59:07 +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 3703634141E for ; Fri, 4 Nov 2022 19:59:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 753925F7 for ; Fri, 4 Nov 2022 19:59:04 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1667591917.914f6921ff3551389c45f681c43c18c45431b579.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/race64/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/race64/Manifest app-misc/race64/metadata.xml app-misc/race64/race64-1.0.0.ebuild X-VCS-Directories: app-misc/race64/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 914f6921ff3551389c45f681c43c18c45431b579 X-VCS-Branch: master Date: Fri, 4 Nov 2022 19:59:04 +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: 600e9a74-47ea-4c98-afb9-37415070f285 X-Archives-Hash: ed32d36e063fa4b8dafa209959985f4d commit: 914f6921ff3551389c45f681c43c18c45431b579 Author: Matthew Smith gentoo org> AuthorDate: Fri Nov 4 19:53:28 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Fri Nov 4 19:58:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914f6921 app-misc/race64: new package, add 1.0.0 Signed-off-by: Matthew Smith gentoo.org> app-misc/race64/Manifest | 1 + app-misc/race64/metadata.xml | 11 +++++++++++ app-misc/race64/race64-1.0.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/app-misc/race64/Manifest b/app-misc/race64/Manifest new file mode 100644 index 000000000000..19d5568adf71 --- /dev/null +++ b/app-misc/race64/Manifest @@ -0,0 +1 @@ +DIST race64-1.0.0.tar.xz 5828 BLAKE2B 4f7cd1267d95055bb239a53c2c6cb9087f67c8b1b10afaffe976f1067cfbb7e221336ba846607f39f1610feb1d40f819921fd6155dd9277d9a2a94065ce4b41d SHA512 fac875c86eace435dfd7e2e82988eaae77c642566346aa65f65398cc7ad2b4e776767a711d7fbc543cc8ce3605c4a0216e6e1d928d587904e65083b5826d608d diff --git a/app-misc/race64/metadata.xml b/app-misc/race64/metadata.xml new file mode 100644 index 000000000000..0e6b145389f8 --- /dev/null +++ b/app-misc/race64/metadata.xml @@ -0,0 +1,11 @@ + + + + + matthew@gentoo.org + Matthew Smith + + + skeeto/hastyhex + + diff --git a/app-misc/race64/race64-1.0.0.ebuild b/app-misc/race64/race64-1.0.0.ebuild new file mode 100644 index 000000000000..e81448929c7f --- /dev/null +++ b/app-misc/race64/race64-1.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="High performance base64 encoder and decoder" +HOMEPAGE="https://github.com/skeeto/race64" +SRC_URI="https://github.com/skeeto/${PN}/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_compile() { + use openmp && append-flags -fopenmp + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c || die +} + +src_test() { + ./test.sh || die 'test failed' +} + +src_install() { + dobin ${PN} + doman ${PN}.1 +}