summaryrefslogtreecommitdiff
path: root/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-29 19:00:44 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-29 19:00:44 +0000
commit5e57d2b387148ab942c22849d50e0e660168bf58 (patch)
treeba309ab406957738c4a9c6b5b47d939bce7f811b /dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild
parent6318c36da93108c6cfcd5d709504ac7483fbdbe9 (diff)
downloadsrcux-5e57d2b387148ab942c22849d50e0e660168bf58.tar.gz
srcux-5e57d2b387148ab942c22849d50e0e660168bf58.tar.xz
srcux-5e57d2b387148ab942c22849d50e0e660168bf58.zip
Adding metadata
Diffstat (limited to 'dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild')
-rw-r--r--dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild
new file mode 100644
index 000000000000..3b30f8534084
--- /dev/null
+++ b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A Microsoft project for cloud-based client-server communication."
+HOMEPAGE="https://github.com/microsoft/cpprestsdk"
+SRC_URI="https://github.com/microsoft/cpprestsdk/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-libs/openssl-1.1.1q
+ >=dev-libs/boost-1.80.0-r1
+ >=sys-libs/zlib-1.2.13-r1"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ app-alternatives/ninja
+ >=sys-devel/gcc-11.3.0
+ >=virtual/pkgconfig-2-r1
+ >=dev-cpp/websocketpp-0.8.2
+"
+
+PATCHES=(
+ "${FILESDIR}"/cpprestsdk-${PV}-warnings.patch
+ "${FILESDIR}"/cpprestsdk-${PV}-disabl-int-tests.patch
+ "${FILESDIR}"/cpprestsdk-${PV}-disable-werror-default.patch
+ "${FILESDIR}"/cpprestsdk-${PV}-boost-1.87-compat.patch
+)
+
+src_configure() {
+ local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release )
+ cmake_src_configure
+}