diff options
Diffstat (limited to 'dev-libs/log4cplus')
-rw-r--r-- | dev-libs/log4cplus/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/log4cplus/log4cplus-2.0.6.ebuild | 37 | ||||
-rw-r--r-- | dev-libs/log4cplus/metadata.xml | 8 |
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-libs/log4cplus/Manifest b/dev-libs/log4cplus/Manifest index 3384710de4a5..a79d450f6776 100644 --- a/dev-libs/log4cplus/Manifest +++ b/dev-libs/log4cplus/Manifest @@ -1 +1,2 @@ DIST log4cplus-1.2.0.tar.bz2 629119 BLAKE2B f1b4629f7b6184b3f34f9d702c17487e113548cba46f5a25bb0f4972d7f3ce207310b25c94abea8cc1360591f7d0ac3d466075e584f25ce1968fee9d5b5c543a SHA512 2c3f16645051a230f9ec9a6ac689421efc4b51d5f40cb772e552bd199d2ad13c39d7e577cc63d51617555941412da166a6cda8861ee219154a953d9926aae626 +DIST log4cplus-2.0.6.tar.bz2 1197177 BLAKE2B cb2d4635b109690a81f2e228d48424a67addfccec6f5c6a1ef0e91b8f4ee24d41ba690e812d812a157688e2399ffefc0574111b7c6b38ce3551c11632acf76e9 SHA512 9dbbcff18fb50e7dd1a43076deb1be7d00343fc7ba590ef45a8098b544cb8421262f21fb9f319a570adac59b93960fceb2748e04902a39a8a90903b650de8cfd diff --git a/dev-libs/log4cplus/log4cplus-2.0.6.ebuild b/dev-libs/log4cplus/log4cplus-2.0.6.ebuild new file mode 100644 index 000000000000..f299c1896cee --- /dev/null +++ b/dev-libs/log4cplus/log4cplus-2.0.6.ebuild @@ -0,0 +1,37 @@ +# 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 +} diff --git a/dev-libs/log4cplus/metadata.xml b/dev-libs/log4cplus/metadata.xml index ccbce42becd1..3505ffac3823 100644 --- a/dev-libs/log4cplus/metadata.xml +++ b/dev-libs/log4cplus/metadata.xml @@ -3,11 +3,17 @@ <pkgmetadata> <!-- maintainer-needed --> <use> + <flag name="explicit-initialization">Require explicit initialization</flag> + <flag name="iconv">Use inconv for wchar_t <-> char conversions. See also log4cplus's unicode.txt documentation</flag> + <flag name="server">Build the logging server</flag> <flag name="working-locale">Use C++'s std::locale for wchar_t <-> char conversions. See also log4cplus's unicode.txt documentation</flag> <flag name="working-c-locale">Use the C99 locale facilities for wchar_t <-> char conversions. See also log4cplus's unicode.txt documentation </flag> - <flag name="iconv">Use inconv for wchar_t <-> char conversions. See also log4cplus's unicode.txt documentation</flag> </use> + <slots> + <subslots>soname major version number</subslots> + </slots> <upstream> + <bugs-to>https://github.com/log4cplus/log4cplus/issues</bugs-to> <remote-id type="github">log4cplus/log4cplus</remote-id> <remote-id type="sourceforge">log4cplus</remote-id> </upstream> |