diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-10 22:28:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-10 22:28:10 +0100 |
commit | f2a91413828611d85d0496e98e1656e9b0e4528b (patch) | |
tree | b3998888d687ece7d9aabfa86c9b449e5438a513 /dev-cpp/cpp-httplib | |
parent | b98a1d0a0651765f29a8aeab25f904e730dfbf88 (diff) |
gentoo auto-resync : 10:07:2023 - 22:28:10
Diffstat (limited to 'dev-cpp/cpp-httplib')
-rw-r--r-- | dev-cpp/cpp-httplib/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/cpp-httplib/cpp-httplib-0.13.1.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-cpp/cpp-httplib/Manifest b/dev-cpp/cpp-httplib/Manifest index 4e651c54950f..542d8f62d86e 100644 --- a/dev-cpp/cpp-httplib/Manifest +++ b/dev-cpp/cpp-httplib/Manifest @@ -1,7 +1,9 @@ DIST cpp-httplib-0.12.3.tar.gz 639107 BLAKE2B 15db0056069cbda5359c6279ebc84520039e809f32cd8314c180dd761324a76fccaae0e80f39d0b69563903bd667799425c7e85708962b2763416a3c8bbd09bb SHA512 3465e5c843ad4087bababadf8fe9f3e6961213301540053bb47f242f958280f43c85b03b8cf6f955a6b91bf9511a81669feeb9989344caf2a1e42ff587b3a460 DIST cpp-httplib-0.12.6.tar.gz 641145 BLAKE2B 56a1a9c2d048a608664cce1ea3737d8633d6dbc124b4a5b2b5a33f81d678efdd2b8b0c79fb88c23dd861f1c6264eddba32349740142e3765d61f811dd50d9909 SHA512 63f0172bb7f4b02f3640634f25801bc1e34d85f53c9915e6402d825891793de26faa7551dff88a44c23af39e3592b7863454d9c070b5bd0e546cb987bca14885 DIST cpp-httplib-0.13.0.tar.gz 644021 BLAKE2B 9ed1d49819662dbb6af04c4ab8b1d1cfa68db07d5b147f64c8c20a6a61f61490f518d9c8e405f867a130f0b455e530582ec9685deaadfd4b9f34790becf6495f SHA512 8d91fe1f2780d2330112ebb3f3d3c6ac6526e8cb04902e15edefe6121d588495519551007c3c134e0d16f71460cba1680860e229b2318f8725ce651027a68a9a +DIST cpp-httplib-0.13.1.tar.gz 644015 BLAKE2B 99a9f58885c6313f18a459987c64ab2cdcca33238997117299016bb5a86e83383e24d01519ede831730fdad6ed8bec0fe0196cac5b53f680721e77883952aefa SHA512 4a70ebafd0920116a78ea18982606f0bec396e5cdcea9ba583c1da4fd77fa45c5bf30a6ac14eeee9424f3e445a882a560345d731a7113ab4e7dff88f4ef0a436 EBUILD cpp-httplib-0.12.3.ebuild 1299 BLAKE2B 169a7bab2da2458d63011390aef7b04a0de7fb9afa9623d1dd417568874dadfc0ef204eb011cd124552cdebd25e2552290531bcb5b9d238f70aa9a62d035c51a SHA512 b88d67230a591f154687e809a01057eff5fdb2da759ec235708078abe7ade9ab5164870efeb41867b94b5047add5bb557ae8a98cf7e5ff12abc3f557e3ee9feb EBUILD cpp-httplib-0.12.6.ebuild 1327 BLAKE2B e09d6cdd408bb9ffb78962fa7fef96e2256f687da0a283150ac206dd94b9e7e80a427d14f9c606a43d630e99d6ff2642070410c7f46f67b6bcbb1f2cbeacbcfb SHA512 6114909827834a3fb6f3599c842e7a2536dd06191758e75045b6c8a835fd9c0ed7c4c0dbdf8772213c024160ad6fc756b7dd2237acad7d8fedff8dd486780d8b EBUILD cpp-httplib-0.13.0.ebuild 1342 BLAKE2B 2246303a14ae4830a106eccc1b3edb0d4acdd401e118207c1f45124574bd55e2bf49c534ae4d4562d7a8401f046337abe9793e0be6dc201973093c09ea07d198 SHA512 d6e988dc4cf3d6a8b9b9034d98349689c3e86fd179b3d598775d00a1eed7161749e1f1829b2a2a4e5e91cd6e179ff496253e22394cb34cdd0115ca5d32dd90a6 +EBUILD cpp-httplib-0.13.1.ebuild 1342 BLAKE2B 2246303a14ae4830a106eccc1b3edb0d4acdd401e118207c1f45124574bd55e2bf49c534ae4d4562d7a8401f046337abe9793e0be6dc201973093c09ea07d198 SHA512 d6e988dc4cf3d6a8b9b9034d98349689c3e86fd179b3d598775d00a1eed7161749e1f1829b2a2a4e5e91cd6e179ff496253e22394cb34cdd0115ca5d32dd90a6 MISC metadata.xml 744 BLAKE2B c3cbea51dafa4c3faa9ad130a2cb493ec87489a574dea464d884b15188c54bd60cb9e6dc30fa8f453bff041d374a3e9ff3f20a78580bdc8fad2bf26b0e3b3c90 SHA512 361401b649e07b2a4d577788d8552fc744271fa8e14e8a53083fa5aeea8a39f183eb6c736c941e10878ef24700a1e2a80201bc36ed646406586835cacdeee1a2 diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.13.1.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.13.1.ebuild new file mode 100644 index 000000000000..d084d2656c17 --- /dev/null +++ b/dev-cpp/cpp-httplib/cpp-httplib-0.13.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake-multilib python-any-r1 toolchain-funcs + +DESCRIPTION="C++ HTTP/HTTPS server and client library" +HOMEPAGE="https://github.com/yhirose/cpp-httplib/" +SRC_URI="https://github.com/yhirose/cpp-httplib/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" # soversion +KEYWORDS="~amd64 ~loong ~x86" + +IUSE="brotli ssl test zlib" +REQUIRED_USE="test? ( brotli ssl zlib )" +RESTRICT="!test? ( test )" + +RDEPEND=" + brotli? ( app-arch/brotli:=[${MULTILIB_USEDEP}] ) + ssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +src_configure() { + local -a mycmakeargs=( + -DHTTPLIB_COMPILE=yes + -DBUILD_SHARED_LIBS=yes + -DHTTPLIB_USE_BROTLI_IF_AVAILABLE=no + -DHTTPLIB_USE_OPENSSL_IF_AVAILABLE=no + -DHTTPLIB_USE_ZLIB_IF_AVAILABLE=no + -DHTTPLIB_REQUIRE_BROTLI=$(usex brotli) + -DHTTPLIB_REQUIRE_OPENSSL=$(usex ssl) + -DHTTPLIB_REQUIRE_ZLIB=$(usex zlib) + -DPython3_EXECUTABLE="${PYTHON}" + ) + cmake-multilib_src_configure +} + +multilib_src_test() { + cp -p -R --reflink=auto "${S}/test" ./test || die + + GTEST_FILTER='-*.*_Online' emake -C test "CXX=$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} -I." +} |