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 2F6C815802F for ; Fri, 24 Feb 2023 22:07:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A3A1E08F1; Fri, 24 Feb 2023 22:07:57 +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 3E965E08F1 for ; Fri, 24 Feb 2023 22:07:57 +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 32AB3340F76 for ; Fri, 24 Feb 2023 22:07:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1351D8BC for ; Fri, 24 Feb 2023 22:07:53 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1677276466.ccd63d8ff7db2dd307156794a3c70b111c9412c8.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/clhpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/clhpp/Manifest dev-libs/clhpp/clhpp-2023.02.06.ebuild X-VCS-Directories: dev-libs/clhpp/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: ccd63d8ff7db2dd307156794a3c70b111c9412c8 X-VCS-Branch: master Date: Fri, 24 Feb 2023 22:07:53 +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: ddd45c39-af18-4191-a114-9c2ed8107566 X-Archives-Hash: abd57e765d05dd7791a9c6dc05774827 commit: ccd63d8ff7db2dd307156794a3c70b111c9412c8 Author: Marek Szuba gentoo org> AuthorDate: Fri Feb 24 22:06:44 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Feb 24 22:07:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd63d8f dev-libs/clhpp: add 2023.02.06 Signed-off-by: Marek Szuba gentoo.org> dev-libs/clhpp/Manifest | 1 + dev-libs/clhpp/clhpp-2023.02.06.ebuild | 64 ++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-libs/clhpp/Manifest b/dev-libs/clhpp/Manifest index 167ed1854c50..e22363c95f2a 100644 --- a/dev-libs/clhpp/Manifest +++ b/dev-libs/clhpp/Manifest @@ -1 +1,2 @@ DIST clhpp-2.0.19.tar.gz 106871 BLAKE2B e8c94f3e242d272a7eedbb13f7ead89cacaffdeca8b837fab29eb023e60efc7eb730b3966702474168071e7c884801fa24f0eedad95f6ea866f27dddb3af4a4e SHA512 f2d37eaee7a46b505844ddf45ae94f5f94241dea0b8f03f6bf4ba7524d7556c9ed19cc2f702cdd9becc469816ffa3d8371ae3561aebff5486cae9b623a10f58b +DIST clhpp-2023.02.06.tar.gz 106874 BLAKE2B c57cdff048fe80b8fd95f14a77883f0d3eb7a64f7b9fea2661e0127172783ece911f908d7b6597e1b1b2cdfc86c1d841a3047d295a85408ba4c25cb5c8a262f8 SHA512 30252a832287375d550a5e184779881d5b22207a636298c7f52f277c219d3a1ae6983259cfea7bf4f90f0840fec114ee0e7a8c1e6a6fe48c24fd3b5119e7a7f8 diff --git a/dev-libs/clhpp/clhpp-2023.02.06.ebuild b/dev-libs/clhpp/clhpp-2023.02.06.ebuild new file mode 100644 index 000000000000..c87a653da5d2 --- /dev/null +++ b/dev-libs/clhpp/clhpp-2023.02.06.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" +RUBY_OPTIONAL="yes" + +inherit cmake ruby-ng + +MY_PN="OpenCL-CLHPP" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Khronos OpenCL C++ bindings" +HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Khronos-CLHPP" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# Tests require CMock (NOT cmocka), which is currently unpackaged +RESTRICT="test" + +RDEPEND="virtual/opencl" +DEPEND="${RDEPEND} + >=dev-util/opencl-headers-${PV}" +BDEPEND="test? ( $(ruby_implementations_depend) )" + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + use test && ruby-ng_pkg_setup +} + +src_unpack() { + # suppress ruby-ng export + default +} + +src_prepare() { + # suppress ruby-ng export + cmake_src_prepare +} + +src_compile() { + # suppress ruby-ng export + cmake_src_compile +} + +src_install() { + # suppress ruby-ng export + cmake_src_install +} + +src_configure() { + local mycmakeargs=( + -DBUILD_DOCS=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +}