summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-12 23:59:45 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-13 00:00:12 +0100
commit9eea36bc497a1c78db4523f6f6b997fce150aea4 (patch)
tree820a7aa3b9405aef96d26f2a4c42fb5d80a57634 /dev-libs/log4cplus/log4cplus-1.2.0.ebuild
parentapp-arch/brotli: keyworded 1.0.2 for ppc/ppc64, bug #643182 (diff)
downloadgentoo-9eea36bc497a1c78db4523f6f6b997fce150aea4.tar.gz
gentoo-9eea36bc497a1c78db4523f6f6b997fce150aea4.tar.bz2
gentoo-9eea36bc497a1c78db4523f6f6b997fce150aea4.zip
dev-libs/log4cplus: Switch to Qt5
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-libs/log4cplus/log4cplus-1.2.0.ebuild')
-rw-r--r--dev-libs/log4cplus/log4cplus-1.2.0.ebuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
index 20d7a8533148..2ba2caac6fc9 100644
--- a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
+++ b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
@@ -1,33 +1,36 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="C++ port of the Log for Java (log4j) logging library"
-HOMEPAGE="http://log4cplus.sourceforge.net/"
+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/1.2-5"
KEYWORDS="~amd64 ~x86"
-IUSE="iconv qt4 threads working-locale working-c-locale"
+IUSE="iconv qt5 threads working-locale working-c-locale"
REQUIRED_USE="?? ( iconv working-locale working-c-locale )"
-RDEPEND="iconv? ( virtual/libiconv )
- qt4? ( dev-qt/qtcore:4 )"
-DEPEND="virtual/pkgconfig
- ${RDEPEND}"
+RDEPEND="
+ iconv? ( virtual/libiconv )
+ qt5? ( dev-qt/qtcore:5 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
PATCHES=( "${FILESDIR}/${PN}-1.2.0-fix-c++14.patch" )
src_configure() {
econf \
--disable-static \
- $(use_enable threads) \
$(use_with iconv) \
+ $(use_with qt5) \
+ $(use_enable threads) \
$(use_with working-locale) \
- $(use_with working-c-locale) \
- $(use_with qt4 qt)
+ $(use_with working-c-locale)
}
src_test() {