commit:     878ddf6342383e9fa031062c421605914058d5e8
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Feb 26 07:48:04 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 07:48:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=878ddf63

dev-cpp/drogon: Version bump 1.7.5

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 dev-cpp/drogon/Manifest            |  1 +
 dev-cpp/drogon/drogon-1.7.5.ebuild | 73 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest
index cf2c861b4..e0dc74317 100644
--- a/dev-cpp/drogon/Manifest
+++ b/dev-cpp/drogon/Manifest
@@ -1,2 +1,3 @@
 DIST drogon-1.7.3.tar.gz 483306 BLAKE2B 
b5b89f678f285de6533480d403725f172b40f1c97057b3234dc5a9456c1e13f3d3b2a11769e78a16199495584a9a411ccdd375090b3770acdff24054bba75060
 SHA512 
20146bf59898704f3b44778fa46e919d9124ef8a33eb1cfcce7f437507c20920829a0074e1c9e2493a1764b8a36b1a91b03f117fd78e740253b15d2146dca628
 DIST drogon-1.7.4.tar.gz 498277 BLAKE2B 
dc8d4af959c2ea6e76bc1477b182a1fdae843d1a16c94524f570e4152c8c10f190bd02b80139e57887df6d032711fcf80475d7766042815c8195151f1b54b0ca
 SHA512 
ee2458e584beb1dc0e437cbdbdea211762aeac60acc7104d1a7bf6aa7629f70d0cc71a45978b27917373599806f6f183ec2494be7ec00c74694888a31e5fd5d1
+DIST drogon-1.7.5.tar.gz 500398 BLAKE2B 
9956542206119abd3fa8f2be61a59e09127c1c57019082a372b08e9e04f20d1361ae439118593078db13397e7c925ee5f904ff186dbb51c89f4e7245f4647f98
 SHA512 
8be77961026d13b55dbfcc2e43972b4fb8f1cd9a6bfb8098d5bdfc8b60ff67c2d3ede4bdb5815614a8233dc184cbf3aa363a9d33eed96b9f748544e20b15f2c7

diff --git a/dev-cpp/drogon/drogon-1.7.5.ebuild 
b/dev-cpp/drogon/drogon-1.7.5.ebuild
new file mode 100644
index 000000000..994e0b823
--- /dev/null
+++ b/dev-cpp/drogon/drogon-1.7.5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++14/17 based HTTP web application framework"
+HOMEPAGE="https://github.com/drogonframework/drogon";
+SRC_URI="https://github.com/drogonframework/drogon/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+brotli doc examples mariadb postgres redis sqlite +ssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-cpp/trantor-1.5.5
+       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 )
+       ssl? ( dev-libs/openssl:= )
+       elibc_Darwin? ( sys-libs/native-uuid )
+       elibc_SunOS? ( sys-libs/libuuid )
+       !elibc_Darwin? ( !elibc_SunOS? (
+               sys-apps/util-linux
+       ) )
+"
+DEPEND="${RDEPEND}
+       test? ( dev-cpp/gtest )
+"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md )
+
+src_prepare() {
+       cmake_comment_add_subdirectory "trantor"
+       sed -i '/${PROJECT_SOURCE_DIR}\/trantor\/trantor\/tests\/server.pem/d' \
+               lib/tests/CMakeLists.txt || die
+
+       use examples && DOCS+=( "${S}/examples" )
+
+       cmake_src_prepare
+}
+
+src_configure() {
+       local -a mycmakeargs=(
+               -DBUILD_DOC=$(usex doc)
+               -DBUILD_EXAMPLES=NO
+               -DBUILD_DROGON_SHARED=YES
+               -DBUILD_POSTGRESQL=$(usex postgres)
+               -DBUILD_MYSQL=$(usex mariadb)
+               -DBUILD_SQLITE=$(usex sqlite)
+               -DBUILD_REDIS=$(usex redis)
+               -DBUILD_TESTING=$(usex test)
+               -DBUILD_BROTLI=$(usex brotli)
+               $(cmake_use_find_package ssl OpenSSL)
+               $(cmake_use_find_package doc Doxygen)
+       )
+       use doc && HTML_DOCS=( "${BUILD_DIR}/docs/drogon/html/." )
+
+       cmake_src_configure
+}
+
+src_install() {
+       docompress -x /usr/share/doc/${PF}/examples
+       cmake_src_install
+}

Reply via email to