public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/drogon/
Date: Wed,  8 May 2024 16:50:28 +0000 (UTC)	[thread overview]
Message-ID: <1715186979.a6418c2611b2cc8f730613573df39db0b889bc1d.tastytea@gentoo> (raw)

commit:     a6418c2611b2cc8f730613573df39db0b889bc1d
Author:     tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed May  8 16:48:54 2024 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed May  8 16:49:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6418c26

dev-cpp/drogon: add 1.9.4

Signed-off-by: tastytea <gentoo <AT> tastytea.de>

 dev-cpp/drogon/Manifest            |  2 +
 dev-cpp/drogon/drogon-1.9.4.ebuild | 92 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest
index ebe27601d1..fe3bfae05d 100644
--- a/dev-cpp/drogon/Manifest
+++ b/dev-cpp/drogon/Manifest
@@ -1,4 +1,6 @@
 DIST drogon-1.9.1.tar.gz 567917 BLAKE2B 2da1c1a433c19388eb6ed9a474369309b02d9200ae275c513923bcef19d2e5a8955c9361467f581ad1b2b65b0d183214b728a2c4280b8ca2f1a36091d5a4e2e7 SHA512 05666166e0b03a6f349a3811ea1014f6e7d8a42a5e749e478502461722a647c6170f5538a4cba9820c3135551d577276094cd96eb0997946c3a37787b531ac49
 DIST drogon-1.9.3.tar.gz 611732 BLAKE2B a78a7f4e4e7bb3b650944f4ab2b50133e907d701df1cbb127ac646ea8006f441f05823254958ae8db3a3b3bc590d9b285d84679fb83e2228ab5a324825fcac6e SHA512 cb1ace1e6fcc9112c71c221d24b80dea62245b908037f5f1065b899c62142c568f0e3410a06210ddb599f7771b56ea8acd1c7b5070893f4effb07cfd4b61f8e4
+DIST drogon-1.9.4.tar.gz 612364 BLAKE2B d22d594f64423ee2db271f8b0b7242bffb0d9099e0aad9a6806e3d036d89f992da05dc26d3d2652bc5e2838524f031552913a32eb092ea49b4c9c656c687eae2 SHA512 0c58ed45aacbfd1916bbd9c52ecbd203abdc1032c7d6f908750a188443e293d749705d35c2b56eab54e30f36cc606b2437889e11a482ebda34d36035e8221499
 DIST trantor-1.5.15.tar.gz 153133 BLAKE2B a69e46072269a8664d33d3b3b6575de07c645151a97f60bfe350d52972cf2b48c062a342c7b2ca57566fa213cc56b585b2fdf34b6d0a5f9c533d1c3f6bab2ba6 SHA512 f08bba448229d8121534cade55b74ac0d9cf5deb1c1116794c21fee37f8f8c3b3d5e6618d0806942a9bcf5eb30c87879ddaf1104417fb3fe14de0827670e03e8
 DIST trantor-1.5.17.tar.gz 155603 BLAKE2B 25631b3d8882cec58ff8eea2b449e805f846653d79af41a87b6ead6fff5c32dfc40559cdc734f51505a8ca1100b215cb8d66fa5fc5bf5baa96d6a3e93499a330 SHA512 43202240968b90d0e6d211d3b7a918567587e4ad26c360848efee2661cc1d49d35de408db5e2ff7314be879faac99ffa29ffa1f3735f9606d95874130db05250
+DIST trantor-1.5.18.tar.gz 155626 BLAKE2B 7fdd5fdd310b783dbc23be7e3594fe3e4e5135c1fcd7c9c96e153ff28397e543a4be50153e54f4a4f648de21d6c9ca5ffa85518806b7e6d91485956f3b3627b3 SHA512 2dba27efad95155a76968959d9bd2510be8502b9424716493f385aebbce2481553cc8fae283076029aed4bef6f0aadb0bec3f9acb98fbca3ef4d49b936558f8c

diff --git a/dev-cpp/drogon/drogon-1.9.4.ebuild b/dev-cpp/drogon/drogon-1.9.4.ebuild
new file mode 100644
index 0000000000..63c95f85ad
--- /dev/null
+++ b/dev-cpp/drogon/drogon-1.9.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_TRANTOR_V="1.5.18" # NOTE: needs to be updated on each bump
+
+DESCRIPTION="C++14/17 based HTTP web application framework"
+HOMEPAGE="https://github.com/drogonframework/drogon"
+SRC_URI="
+	https://github.com/drogonframework/drogon/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	test? ( https://github.com/an-tao/trantor/archive/v${MY_TRANTOR_V}.tar.gz -> trantor-${MY_TRANTOR_V}.tar.gz )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+brotli doc examples mariadb postgres redis sqlite spdlog test +yaml"
+# REQUIRED_USE="test? ( postgres sqlite mariadb )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-cpp/trantor-${MY_TRANTOR_V}:=
+	dev-libs/jsoncpp:=
+	sys-libs/zlib
+	brotli? ( app-arch/brotli:= )
+	mariadb? ( dev-db/mariadb:= )
+	postgres? ( dev-db/postgresql:= )
+	redis? ( dev-libs/hiredis:= )
+	sqlite? ( dev-db/sqlite:3 )
+	elibc_Darwin? ( sys-libs/native-uuid )
+	elibc_SunOS? ( sys-libs/libuuid )
+	!elibc_Darwin? ( !elibc_SunOS? (
+		sys-apps/util-linux
+	) )
+	spdlog? (
+		dev-libs/spdlog:=
+		dev-libs/libfmt:=
+	)
+	yaml? ( dev-cpp/yaml-cpp:= )
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-cpp/gtest )
+"
+BDEPEND="doc? ( app-text/doxygen )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.4-fix-test-build.patch )
+
+DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md )
+
+src_unpack() {
+	default
+
+	# the cert is in the trantor submodule normally, but we unbundle that
+	if use test; then
+		mkdir -p ${P}/trantor/trantor/tests || die
+		cp -v trantor-${MY_TRANTOR_V}/trantor/tests/server.{crt,key} \
+			${P}/trantor/trantor/tests/ \
+			|| die "could not copy test certificate and/or key"
+	fi
+}
+
+src_configure() {
+	use doc && HTML_DOCS=( "${BUILD_DIR}/docs/drogon/html/." )
+
+	local -a mycmakeargs=(
+		-DBUILD_DOC=$(usex doc)
+		-DBUILD_EXAMPLES=NO
+		-DBUILD_POSTGRESQL=$(usex postgres)
+		-DBUILD_MYSQL=$(usex mariadb)
+		-DBUILD_SQLITE=$(usex sqlite)
+		-DBUILD_REDIS=$(usex redis)
+		-DBUILD_TESTING=$(usex test)
+		-DBUILD_BROTLI=$(usex brotli)
+		-DBUILD_YAML_CONFIG=$(usex yaml)
+		-DUSE_SUBMODULE=NO
+		$(cmake_use_find_package doc Doxygen)
+		-DUSE_SPDLOG=$(usex spdlog)
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	use examples && DOCS+=( "${S}/examples" )
+	docompress -x /usr/share/doc/${PF}/examples
+
+	cmake_src_install
+}


             reply	other threads:[~2024-05-08 16:50 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-08 16:50 Ronny Gutbrod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-21 15:16 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/drogon/ Ronny Gutbrod
2024-07-21 15:16 Ronny Gutbrod
2024-06-28  6:17 Ronny Gutbrod
2024-06-28  6:17 Ronny Gutbrod
2024-05-08 16:50 Ronny Gutbrod
2024-04-12 23:08 Ronny Gutbrod
2024-04-12 23:08 Ronny Gutbrod
2024-01-15 22:14 Ronny Gutbrod
2024-01-15 22:14 Ronny Gutbrod
2023-11-16 16:31 Ronny Gutbrod
2023-11-16 16:31 Ronny Gutbrod
2023-09-28 12:48 Ronny Gutbrod
2023-09-28 12:48 Ronny Gutbrod
2023-08-26 15:46 Ronny Gutbrod
2023-08-26 15:46 Ronny Gutbrod
2023-03-30 19:49 Ronny Gutbrod
2023-01-29 11:39 Ronny Gutbrod
2023-01-29 11:39 Ronny Gutbrod
2023-01-29 11:39 Ronny Gutbrod
2022-11-13  9:29 Ronny Gutbrod
2022-09-27 10:41 Ronny Gutbrod
2022-09-27 10:41 Ronny Gutbrod
2022-09-08  0:09 Ronny Gutbrod
2022-09-03 19:49 Ronny Gutbrod
2022-08-24 15:52 [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-08-19 15:49 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-08-19 15:49 Ronny Gutbrod
2022-02-26  8:06 Ronny Gutbrod
2022-02-26  8:06 Ronny Gutbrod
2021-12-12 15:28 Ronny Gutbrod
2021-12-12 15:28 Ronny Gutbrod
2021-12-01 11:52 Anna Vyalkova
2021-10-26 15:51 Ronny Gutbrod
2021-10-25 18:52 Ronny Gutbrod
2021-10-20 19:07 Ronny Gutbrod
2021-08-24 15:01 Ronny Gutbrod
2021-08-24 14:33 Ronny Gutbrod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1715186979.a6418c2611b2cc8f730613573df39db0b889bc1d.tastytea@gentoo \
    --to=gentoo@tastytea.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox