diff options
author | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2021-12-12 14:57:51 +0100 |
---|---|---|
committer | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2021-12-12 14:57:51 +0100 |
commit | 3d92bd84c173fd76032b561e67698474c3d0d686 (patch) | |
tree | 459fc3920c986c6c2bb6b8e03c0530a8b2ee8cf1 /dev-cpp/drogon | |
parent | dev-cpp/trantor: Remove old ebuilds (diff) | |
download | guru-3d92bd84c173fd76032b561e67698474c3d0d686.tar.gz guru-3d92bd84c173fd76032b561e67698474c3d0d686.tar.bz2 guru-3d92bd84c173fd76032b561e67698474c3d0d686.zip |
dev-cpp/drogon: Version bump 1.7.4
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Diffstat (limited to 'dev-cpp/drogon')
-rw-r--r-- | dev-cpp/drogon/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/drogon/drogon-1.7.4.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest index d277ad961..880840e15 100644 --- a/dev-cpp/drogon/Manifest +++ b/dev-cpp/drogon/Manifest @@ -1,2 +1,3 @@ DIST drogon-1.7.2.tar.gz 475266 BLAKE2B dff7cdf76b4d30a7cd44f50efcf3b683eefe06e7b0be1fe167f1891370c55ee76b8f6e14582cbfdf0f2b129211301fd9b97e4dc4db313f28fccb21ca6271a57a SHA512 0546a7a6a1a1e9e1ec068cd45d747ccdd62a9bd9042db4941c004fbe795d051b8d115a71f8000352a2d284f141ebad9b66438dfabc255bb24c92bd5a3dc0ed8a DIST drogon-1.7.3.tar.gz 483306 BLAKE2B b5b89f678f285de6533480d403725f172b40f1c97057b3234dc5a9456c1e13f3d3b2a11769e78a16199495584a9a411ccdd375090b3770acdff24054bba75060 SHA512 20146bf59898704f3b44778fa46e919d9124ef8a33eb1cfcce7f437507c20920829a0074e1c9e2493a1764b8a36b1a91b03f117fd78e740253b15d2146dca628 +DIST drogon-1.7.4.tar.gz 498277 BLAKE2B dc8d4af959c2ea6e76bc1477b182a1fdae843d1a16c94524f570e4152c8c10f190bd02b80139e57887df6d032711fcf80475d7766042815c8195151f1b54b0ca SHA512 ee2458e584beb1dc0e437cbdbdea211762aeac60acc7104d1a7bf6aa7629f70d0cc71a45978b27917373599806f6f183ec2494be7ec00c74694888a31e5fd5d1 diff --git a/dev-cpp/drogon/drogon-1.7.4.ebuild b/dev-cpp/drogon/drogon-1.7.4.ebuild new file mode 100644 index 000000000..a7d796d7a --- /dev/null +++ b/dev-cpp/drogon/drogon-1.7.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 2021 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.4 + 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 +} |