summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-10 01:23:38 +0100
committerSam James <sam@gentoo.org>2021-08-10 01:23:53 +0100
commitcfa82d1798ef1adff3c6a742a6c988ef15d6c219 (patch)
tree1cf15237482fd78d02484d8ae5b5bb46b3185b68 /dev-libs/log4cplus
parentapp-crypt/libu2f-server: drop to maintainer-needed (diff)
downloadgentoo-cfa82d1798ef1adff3c6a742a6c988ef15d6c219.tar.gz
gentoo-cfa82d1798ef1adff3c6a742a6c988ef15d6c219.tar.bz2
gentoo-cfa82d1798ef1adff3c6a742a6c988ef15d6c219.zip
dev-libs/log4cplus: add 2.0.7
Closes: https://bugs.gentoo.org/807187 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/log4cplus')
-rw-r--r--dev-libs/log4cplus/Manifest1
-rw-r--r--dev-libs/log4cplus/log4cplus-2.0.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/log4cplus/Manifest b/dev-libs/log4cplus/Manifest
index a79d450f6776..5aa12aeaea4a 100644
--- a/dev-libs/log4cplus/Manifest
+++ b/dev-libs/log4cplus/Manifest
@@ -1,2 +1,3 @@
DIST log4cplus-1.2.0.tar.bz2 629119 BLAKE2B f1b4629f7b6184b3f34f9d702c17487e113548cba46f5a25bb0f4972d7f3ce207310b25c94abea8cc1360591f7d0ac3d466075e584f25ce1968fee9d5b5c543a SHA512 2c3f16645051a230f9ec9a6ac689421efc4b51d5f40cb772e552bd199d2ad13c39d7e577cc63d51617555941412da166a6cda8861ee219154a953d9926aae626
DIST log4cplus-2.0.6.tar.bz2 1197177 BLAKE2B cb2d4635b109690a81f2e228d48424a67addfccec6f5c6a1ef0e91b8f4ee24d41ba690e812d812a157688e2399ffefc0574111b7c6b38ce3551c11632acf76e9 SHA512 9dbbcff18fb50e7dd1a43076deb1be7d00343fc7ba590ef45a8098b544cb8421262f21fb9f319a570adac59b93960fceb2748e04902a39a8a90903b650de8cfd
+DIST log4cplus-2.0.7.tar.bz2 1210637 BLAKE2B 59e9c3c351c7893c7e9c39e9d12616579cff3b4dfdd3e069f0adb4b75fb2b46d6fe8efceea2b6103c5531a723f015518bf10ce6a581724b6ae5f49e994b74c72 SHA512 9d1b36d0c2347dd9d9ab8852114b8138f56063c51625eaab7f4c680ee852e1e6872c6712465b10057ec9e42305b83d956f6753100dfd3ec58518d6620cc4106c
diff --git a/dev-libs/log4cplus/log4cplus-2.0.7.ebuild b/dev-libs/log4cplus/log4cplus-2.0.7.ebuild
new file mode 100644
index 000000000000..899549eeb02e
--- /dev/null
+++ b/dev-libs/log4cplus/log4cplus-2.0.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="C++ port of the Log for Java (log4j) logging library"
+HOMEPAGE="http://log4cplus.sourceforge.net/ https://github.com/log4cplus/log4cplus"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.bz2"
+
+LICENSE="|| ( Apache-2.0 BSD-2 )"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="explicit-initialization iconv qt5 server test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="iconv? ( virtual/libiconv )
+ qt5? ( dev-qt/qtcore:5 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLOG4CPLUS_BUILD_LOGGINGSERVER=$(usex server)
+ -DWITH_UNIT_TESTS=$(usex test)
+ -DLOG4CPLUS_BUILD_TESTING=$(usex test)
+ -DLOG4CPLUS_ENABLE_THREAD_POOL=$(usex threads)
+ -DLOG4CPLUS_REQUIRE_EXPLICIT_INITIALIZATION=$(usex explicit-initialization)
+ -DWITH_ICONV=$(usex iconv)
+ -DLOG4CPLUS_QT5=$(usex qt5)
+ )
+
+ cmake_src_configure
+}