summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/Manifest.gzbin14114 -> 14118 bytes
-rw-r--r--dev-cpp/cpp-httplib/Manifest6
-rw-r--r--dev-cpp/cpp-httplib/cpp-httplib-0.12.4.ebuild (renamed from dev-cpp/cpp-httplib/cpp-httplib-0.12.6.ebuild)0
-rw-r--r--dev-cpp/cpp-httplib/cpp-httplib-0.12.5.ebuild50
4 files changed, 54 insertions, 2 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz
index e59287c3fdbb..ba3f7d33e222 100644
--- a/dev-cpp/Manifest.gz
+++ b/dev-cpp/Manifest.gz
Binary files differ
diff --git a/dev-cpp/cpp-httplib/Manifest b/dev-cpp/cpp-httplib/Manifest
index b75badf783e4..a72d8adab280 100644
--- a/dev-cpp/cpp-httplib/Manifest
+++ b/dev-cpp/cpp-httplib/Manifest
@@ -1,7 +1,9 @@
DIST cpp-httplib-0.12.2.tar.gz 638460 BLAKE2B 91d039d39a43a73f052d63d0e1073350965bfa3b9653f0cab7d9353ed2d1acf91d2e3c20415f2a9398e64776baaedcb498b9de90046e785637de5382c41bb9ed SHA512 dda47f76eaf5b4daa35f1295e482f1d81dd8823ae06339b9f4c93e4fbe7b54ae28760d3083b5d5cff212f1a679616adfa47dbb9d06c6810fac4b58197f575429
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.12.4.tar.gz 639390 BLAKE2B 7c245930994934b5859d87e9dc192a4c43349d72ab45da2c4f31ec997b3a85b8babcd4abc552957f194834ca560339eb7b76dd92c86f7aa13d478cef6f742263 SHA512 3935e55f4b02bab51cae167381c6692577ff22f717387146187eafae1b015915078813b5f74521e92b4e6e6fe418f378d3059cf4850458c4f20946ad6910ecc6
+DIST cpp-httplib-0.12.5.tar.gz 639439 BLAKE2B 7456ec4324d6e46a6de8551adcab2d4c4c9424ef340f34b8e37432593680a9750e92a676fdd29a34d06ce434cefb6b503f69f1a33c4ae88706ee5d3eafe9e5c1 SHA512 3fec5f93cd72359e56b9a04a5f27fd68aaebbc6c6ab5c33ba13fad19b8e78ec752ba265edf14864954b84036653d00671a4f675359bb2eac2791aa43066c671d
EBUILD cpp-httplib-0.12.2.ebuild 1314 BLAKE2B 0808b2ca95a457f39219d3916999a61e1dc78d45984a20c34cbe0e04c0aa2305356644958a5ad3f363247ef597e400c64f55b940db8dba952398e32dd507f95d SHA512 e171b800ca1164e6e00765956456af2ee3d9de2f0b702b05c6b2ab23faad97b1ad8950a25a0ff206b61af123ab6106042da49486adf3242f011b28bba8223d03
EBUILD cpp-httplib-0.12.3.ebuild 1315 BLAKE2B fdba99c8ecda5a9fda38f501bb844326574273b75e8e6fad5a69fff7c1e35574867d778b910be3f08c6f6b5d7141439f8a0d72f5083d2f8e3afd23eafe42a3fb SHA512 0205304ec89b3341ac3deab628ae08133358ef8d92cf0a5fb5f872f64145b4158b3ae1f05cd0694595414b69fab6a0b8ac7391c83d73aa6f5346491fe4cceb02
-EBUILD cpp-httplib-0.12.6.ebuild 1342 BLAKE2B baf94a8a18db413a4e2c7feeb6b372df4b386d36eefe82e08ef229f366264495f421ce541a105e281b3991a44d99b23e2061795f799f84312a4896408eca2328 SHA512 13bfa258c952f86c3469b6e2a794aa57bf6acc47bb52354a33e97df078c3f3b88bd8ab153f46f25211c12feac2866a9f9a1353e8104eb7c93b779d6cd2c851ee
+EBUILD cpp-httplib-0.12.4.ebuild 1342 BLAKE2B baf94a8a18db413a4e2c7feeb6b372df4b386d36eefe82e08ef229f366264495f421ce541a105e281b3991a44d99b23e2061795f799f84312a4896408eca2328 SHA512 13bfa258c952f86c3469b6e2a794aa57bf6acc47bb52354a33e97df078c3f3b88bd8ab153f46f25211c12feac2866a9f9a1353e8104eb7c93b779d6cd2c851ee
+EBUILD cpp-httplib-0.12.5.ebuild 1342 BLAKE2B baf94a8a18db413a4e2c7feeb6b372df4b386d36eefe82e08ef229f366264495f421ce541a105e281b3991a44d99b23e2061795f799f84312a4896408eca2328 SHA512 13bfa258c952f86c3469b6e2a794aa57bf6acc47bb52354a33e97df078c3f3b88bd8ab153f46f25211c12feac2866a9f9a1353e8104eb7c93b779d6cd2c851ee
MISC metadata.xml 744 BLAKE2B c3cbea51dafa4c3faa9ad130a2cb493ec87489a574dea464d884b15188c54bd60cb9e6dc30fa8f453bff041d374a3e9ff3f20a78580bdc8fad2bf26b0e3b3c90 SHA512 361401b649e07b2a4d577788d8552fc744271fa8e14e8a53083fa5aeea8a39f183eb6c736c941e10878ef24700a1e2a80201bc36ed646406586835cacdeee1a2
diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.12.6.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.12.4.ebuild
index d0d8042448a0..d0d8042448a0 100644
--- a/dev-cpp/cpp-httplib/cpp-httplib-0.12.6.ebuild
+++ b/dev-cpp/cpp-httplib/cpp-httplib-0.12.4.ebuild
diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.12.5.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.12.5.ebuild
new file mode 100644
index 000000000000..d0d8042448a0
--- /dev/null
+++ b/dev-cpp/cpp-httplib/cpp-httplib-0.12.5.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..11} )
+
+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."
+}