diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/highway/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/highway/highway-1.3.0.ebuild | 38 | ||||
| -rw-r--r-- | dev-cpp/jwt-cpp/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/jwt-cpp/jwt-cpp-0.7.0.ebuild | 80 |
4 files changed, 39 insertions, 81 deletions
diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest index 1fc33321e2a3..35d44f030e10 100644 --- a/dev-cpp/highway/Manifest +++ b/dev-cpp/highway/Manifest @@ -3,3 +3,4 @@ DIST highway-1.0.3.tar.gz 1770704 BLAKE2B 5454f7e661270f25d1439a2a3d649a0f9970d7 DIST highway-1.0.5.tar.gz 2012129 BLAKE2B cd7673bc5e3a32551554c83c4e1beb31f9855d9ad9550f156be2fb9e93b20391bd98d4b3ed4d0edf0a2786e403dcca86f4a50d00c27f0e08242dc66e2e6b2262 SHA512 0886b60147b78807e40c4987438fe664b4fbc012c3c681a45f3043ee4077afa493cb75550bc18ae160d00e527bf15bcf1f14220ea8561a4baacb3317fc25e347 DIST highway-1.0.7.tar.gz 2055819 BLAKE2B da10291124dfdb5d9fd2b661f4d7e594c1e80e4159c9d704e1b4203facf7a0603e7ba808ffb1d8f1aba13d992df24abdb0ae89807329fffb67dee78b58574c28 SHA512 6ee5007ec13ac20b5d816b38a1b31c31a06678ca6d2ea090dd75e364f04cb2cf7ad8a82d1bdfff51079efa54b9a95fb554d62e6cc1bbf7d7e794cb272032d8f5 DIST highway-1.2.0.tar.gz 2234665 BLAKE2B b92f699c0f2f15fd9d223cf9546125b68a5c12ba9c84f8a3a990129f40bc56a266858e4f99eebe34e47c9904bd9164a138de1af8d405911d4b03bea67532489a SHA512 e94b9cc51c81157ccd6bf4d6163445b1acc1a2667dc2650d1c4aea0a5021989c08dafcb92564fcbecb9445ab2f1779051260be2f5b29c3932803b8a42ed2f824 +DIST highway-1.3.0.tar.gz 3634890 BLAKE2B c8db95b003c1d00e87b42f3d7bf06005873c225ef950f7cb32057f6f690f219a400dcf68220a0dbbb72cdb12f13afabcd9c1b8e9c7e5eb007734bfe4b617c347 SHA512 8b9f4fdc4fa60b6817417959853f5b55bf86aec9d35fc6664dda15179cc55e0a9940f3a46011a84b95263ba342dc47ca1cb93b04481ff4b63d724cce1815d7c6 diff --git a/dev-cpp/highway/highway-1.3.0.ebuild b/dev-cpp/highway/highway-1.3.0.ebuild new file mode 100644 index 000000000000..379a4e39f798 --- /dev/null +++ b/dev-cpp/highway/highway-1.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch" +HOMEPAGE="https://github.com/google/highway" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/highway.git" +else + SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="cpu_flags_arm_neon test" + +DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DHWY_CMAKE_ARM7=$(usex cpu_flags_arm_neon) + -DBUILD_TESTING=$(usex test) + -DHWY_ENABLE_TESTS=$(usex test) + -DHWY_WARNINGS_ARE_ERRORS=OFF + ) + + use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" ) + + cmake_src_configure +} diff --git a/dev-cpp/jwt-cpp/Manifest b/dev-cpp/jwt-cpp/Manifest index d7c46cc86fec..056eade7e21c 100644 --- a/dev-cpp/jwt-cpp/Manifest +++ b/dev-cpp/jwt-cpp/Manifest @@ -1,2 +1 @@ DIST jwt-cpp-0.6.0.tar.gz 275126 BLAKE2B 4bf9bed9b2aa9584b497b2ab4d1d2582d9b5e4ded402200ea3f70b0e6752338fd4e2ef9c5836c728a6907a0190209c7baeaecd26032ce64dc6bf12a23594f27b SHA512 b6d5ebb3a7eeb6fef9a1d41c707251d1ab05bf47920c280d5203f1b9ee5bf6f8e914cd2ffaed66550cfa6d78c34465d4cf86517a759d5f8739b429faf1c2c0ef -DIST jwt-cpp-0.7.0.tar.gz 133925 BLAKE2B 7f6ff1d23f60c555382e4ae4e9633954db638a93bb4f183efe057da8cc751be6f5a545e94cd8976e8b0260a6775a1ed82c7b2445401ba01fb46869489f289f38 SHA512 b6fdb93e3f2f065a2eb45fe16cb076a932b8d4bfad2251bd66d2be40d8afaf5c27a9cf17aaea61d8bfa3f5ff9ed3b45f90962dc14d72704ac5b9d717c12cc79f diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.7.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.7.0.ebuild deleted file mode 100644 index 2e12499bdce9..000000000000 --- a/dev-cpp/jwt-cpp/jwt-cpp-0.7.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git" -else - SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" -fi - -DESCRIPTION="header only library for creating and validating JSON Web Tokens in C++11" -HOMEPAGE="https://thalhammer.github.io/jwt-cpp/" - -LICENSE="MIT" -SLOT="0" -IUSE="doc +picojson test" - -DEPEND=" - dev-cpp/nlohmann_json - dev-libs/openssl - picojson? ( dev-cpp/picojson ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - doc? ( app-text/doxygen[dot] ) - test? ( dev-cpp/gtest ) -" -RESTRICT=" - !picojson? ( test ) - !test? ( test ) -" - -DOCS=( README.md docs/{faqs,ssl,traits}.md ) - -src_prepare() { - # Unbundle dev-cpp/nlohmann_json. - rm -vrf include/nhlomann || die - # Unbundle dev-cpp/picojson and fix include paths. - # See also: https://github.com/Thalhammer/jwt-cpp/issues/213 - rm -vrf include/picojson || die - find -name '*.h' -type f -print0 | xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die - # Prevent installation of bundled dev-cpp/picojson. - sed -i -e 's:^\s*install.*picojson/picojson\.h.*$::' CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DJWT_DISABLE_PICOJSON="$(usex !picojson)" - # Not useful for now, asks for non-existent CMake module. - #-DJWT_EXTERNAL_PICOJSON="$(usex picojson)" - # Examples are not installed and for development only. - -DJWT_BUILD_EXAMPLES=NO - -DJWT_BUILD_TESTS="$(usex test)" - -DJWT_CMAKE_FILES_INSTALL_DIR="${EPREFIX}"/usr/share/cmake - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - doxygen || die - fi -} - -src_test() { - "${BUILD_DIR}"/tests/jwt-cpp-test || die -} - -src_install() { - cmake_src_install - use doc && local HTML_DOCS=(doxy/html/.) - einstalldocs -} |
