diff options
author | Sam James <sam@gentoo.org> | 2021-08-10 01:23:38 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-10 01:23:53 +0100 |
commit | cfa82d1798ef1adff3c6a742a6c988ef15d6c219 (patch) | |
tree | 1cf15237482fd78d02484d8ae5b5bb46b3185b68 /dev-libs/log4cplus/log4cplus-2.0.7.ebuild | |
parent | app-crypt/libu2f-server: drop to maintainer-needed (diff) | |
download | gentoo-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/log4cplus-2.0.7.ebuild')
-rw-r--r-- | dev-libs/log4cplus/log4cplus-2.0.7.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |