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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7963138334 for ; Fri, 26 Apr 2019 18:10:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB075E0995; Fri, 26 Apr 2019 18:10:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B52BE0997 for ; Fri, 26 Apr 2019 18:10:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD93D34298A for ; Fri, 26 Apr 2019 18:10:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A86FF560 for ; Fri, 26 Apr 2019 18:10:13 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1556302120.15f78cdd9dc6aabf20f1096e568cfbd3118ce561.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/clhpp/, licenses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/clhpp/Manifest dev-libs/clhpp/clhpp-2.0.10.ebuild dev-libs/clhpp/metadata.xml licenses/Khronos-CLHPP X-VCS-Directories: licenses/ dev-libs/clhpp/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 15f78cdd9dc6aabf20f1096e568cfbd3118ce561 X-VCS-Branch: master Date: Fri, 26 Apr 2019 18:10:13 +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: 996fc360-282b-4ac3-b47d-e0c77b4c0671 X-Archives-Hash: 8412055be196a7beef23d9a396b87a8d commit: 15f78cdd9dc6aabf20f1096e568cfbd3118ce561 Author: Jan Vesely gmail com> AuthorDate: Thu Apr 25 22:25:05 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Apr 26 18:08:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f78cdd dev-libs/clhpp: New package for Khronos OpenCL C++ bindings. Headers only. Add Khronos-CLHPP license. Signed-off-by: Jan Vesely gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11827 Signed-off-by: Matt Turner gentoo.org> dev-libs/clhpp/Manifest | 1 + dev-libs/clhpp/clhpp-2.0.10.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ dev-libs/clhpp/metadata.xml | 11 +++++++++ licenses/Khronos-CLHPP | 25 +++++++++++++++++++ 4 files changed, 86 insertions(+) diff --git a/dev-libs/clhpp/Manifest b/dev-libs/clhpp/Manifest new file mode 100644 index 00000000000..a7469dbbd76 --- /dev/null +++ b/dev-libs/clhpp/Manifest @@ -0,0 +1 @@ +DIST clhpp-2.0.10.tar.gz 129954 BLAKE2B 1beb9b41ce1ad8ec88d0ccfa5f1d7a7af931841fa64d79b9eb9db90538f1b43f3cee5c74dc015ba835ee4ded2e926967bc3aa00dcc6ec0f5b65a04f9618ea1a9 SHA512 4a4898540c55422ca0cc6ba7f0c5495b915fc34df50f8add90e7f06dd5ef1d01a767234ecdee3757292980aa2f938e773177bcc73f28ac9c1b42d386863dea58 diff --git a/dev-libs/clhpp/clhpp-2.0.10.ebuild b/dev-libs/clhpp/clhpp-2.0.10.ebuild new file mode 100644 index 00000000000..dcea074146d --- /dev/null +++ b/dev-libs/clhpp/clhpp-2.0.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_5 python3_6 python3_7 ) + +DESCRIPTION="Khronos OpenCL C++ bindings" +HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/" +SRC_URI="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Khronos-CLHPP" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +inherit python-any-r1 cmake-utils + +DEPEND="virtual/opencl" +RDEPEND="${DEPEND}" +BDEPEND="${PYTHON_DEPS}" + +src_unpack() { + unpack ${A} + # create symlink to change name + ln -s OpenCL-CLHPP-${PV} ${P} +} + +src_prepare() { + # User patches + QA + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/include" + -DBUILD_DOCS=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTS=OFF + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install +} diff --git a/dev-libs/clhpp/metadata.xml b/dev-libs/clhpp/metadata.xml new file mode 100644 index 00000000000..61f42884c3d --- /dev/null +++ b/dev-libs/clhpp/metadata.xml @@ -0,0 +1,11 @@ + + + + + x11@gentoo.org + X11 + + +Khronos (tm) provided headers for C++ bindings for OpenCL. + + diff --git a/licenses/Khronos-CLHPP b/licenses/Khronos-CLHPP new file mode 100644 index 00000000000..5c0255a8aaa --- /dev/null +++ b/licenses/Khronos-CLHPP @@ -0,0 +1,25 @@ +Copyright (c) 2008-2015 The Khronos Group Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and/or associated documentation files (the +"Materials"), to deal in the Materials without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Materials, and to +permit persons to whom the Materials are furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Materials. + +MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS +KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS +SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT + https://www.khronos.org/registry/ + +THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.