diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-06 04:25:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-06 04:25:47 +0100 |
commit | f5d9305cc82b2e211fdaba92618c07829ffb2c48 (patch) | |
tree | 430648fb68a5308f8831702d5a970e476ca4e91c /dev-libs/clhpp | |
parent | 0234994edb2122d4508c5a07122e774bcab9195b (diff) |
gentoo auto-resync : 06:09:2022 - 04:25:47
Diffstat (limited to 'dev-libs/clhpp')
-rw-r--r-- | dev-libs/clhpp/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/clhpp/clhpp-2.0.17.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/clhpp/Manifest b/dev-libs/clhpp/Manifest index 04d870114575..fdaf6edb7b5c 100644 --- a/dev-libs/clhpp/Manifest +++ b/dev-libs/clhpp/Manifest @@ -1,3 +1,5 @@ DIST clhpp-2.0.15.tar.gz 99826 BLAKE2B de5f6cab05d21199ffea37bbbcc5d312a4b812b602ce091d8fa22cb615060ce08454de1341881792996dd5c06378657a297505ff25ac159d85b59995e924bca5 SHA512 d24c035425c8204099e5264e61939c568e85b64e94d5ed3c58fe9430f4516495a974080a684b742f5aea1351455a0755efccd14317c20cd34885880cf1d8133b +DIST clhpp-2.0.17.tar.gz 106799 BLAKE2B bccbbbc07e83609f49253636eb08a4da19f92c7188dad71759fa9cceaad571291c05595b8f2a7cc427ea0df658f1b7133ef0fdbbfed3ca3c29c85629b005d541 SHA512 af21fac8856a1a7d5de6ccde64dee9518740f75503808488312e226ae441e013e7340a7089f273b021a8d1e34c17dad9df51953c742eef8f8c470657a7816fe2 EBUILD clhpp-2.0.15.ebuild 582 BLAKE2B 136db303f1a442c414151dda935ef39401f9e25608336af16bf94600777d4b8da2de0686070b7f2cd04b7ff0932e8ab51f1c36d57b601f90a3de8fdfd9b75d44 SHA512 c3d4bfdceb1250ff9ad1b5b7d1539cbc584ccb461de72178dc3eb721c0cd0d807a16f3907b697b5109f7b681eb707081725de72b69637e343a3e63b8bca3bb8a +EBUILD clhpp-2.0.17.ebuild 1274 BLAKE2B 111c6648443f3efb4e90117c8ece4bcf9a2bbe32c89455d75d068273e35523fa5ff6f5cd087dd12a211d72e5498f0b38c3da8c22558f747b0ba49f062dc1a971 SHA512 e02206fc13a65fe0298d4265074ae528d20fdbbaca688e8563893e2dd2af3ecf874790030feded2e9ba0155d11f06fbe107eacb5407ca025c0825fff33433f00 MISC metadata.xml 333 BLAKE2B 3cc0969695eaaef765ef2fcf3b7a529324f4e73e80e51c120a18f21f1a3fa4ad41329d61e89a1eea6a1e175f23441d615a341034edc7d924262e1b0b1ccde29d SHA512 8a62b0bd67dcc8bc40ed01b590863e748e56abf19f4a4ea2b44c0747cb017c111246f6e5b30255304ee57dd9446e61e9a193138acdc776d4d615223dc2ccfc0d diff --git a/dev-libs/clhpp/clhpp-2.0.17.ebuild b/dev-libs/clhpp/clhpp-2.0.17.ebuild new file mode 100644 index 000000000000..5855e92bc4f9 --- /dev/null +++ b/dev-libs/clhpp/clhpp-2.0.17.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 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_PV="2022.05.18" +MY_P="${MY_PN}-${MY_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${MY_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" +# Need an opencl-headers ebuild which installs cmake package configs +DEPEND="${RDEPEND} + >=dev-util/opencl-headers-2022.05.18-r1" +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 +} |