From 09222bd0523d448c79f1434b042f55e440097adf Mon Sep 17 00:00:00 2001 From: 0xd34df00d <0xd34df00d@gmail.com> Date: Sat, 25 Feb 2017 19:49:28 +0100 Subject: app-leechcraft: use Qt5, modernize the eclass and ebuilds Closes: https://github.com/gentoo/gentoo/pull/4079 --- app-leechcraft/lc-core/lc-core-9999.ebuild | 36 +++++++++++++++++------------- app-leechcraft/lc-core/metadata.xml | 10 ++++++--- 2 files changed, 27 insertions(+), 19 deletions(-) (limited to 'app-leechcraft/lc-core') diff --git a/app-leechcraft/lc-core/lc-core-9999.ebuild b/app-leechcraft/lc-core/lc-core-9999.ebuild index a89da19a8782..41d7d4926e78 100644 --- a/app-leechcraft/lc-core/lc-core-9999.ebuild +++ b/app-leechcraft/lc-core/lc-core-9999.ebuild @@ -2,12 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=6 EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git" -EGIT_PROJECT="leechcraft-${PV}" -inherit eutils leechcraft +inherit eutils confutils leechcraft DESCRIPTION="Core of LeechCraft, the modular network client" @@ -15,20 +14,25 @@ SLOT="0" KEYWORDS="" IUSE="debug doc +sqlite postgres +qwt" -COMMON_DEPEND=">=dev-libs/boost-1.46 - dev-qt/qtcore:4 - dev-qt/qtdbus:4 - dev-qt/qtdeclarative:4 - dev-qt/qtgui:4 - dev-qt/qtscript:4 - dev-qt/qtsql:4[postgres?,sqlite?] - dev-qt/qtwebkit:4 - dev-qt/qtdbus:4 - qwt? ( x11-libs/qwt:6 )" +COMMON_DEPEND=">=dev-libs/boost-1.62 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtxml:5 + dev-qt/qtdeclarative:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5[postgres?,sqlite?] + dev-qt/qtdbus:5 + dev-qt/qtwebkit:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtconcurrent:5 + dev-qt/linguist-tools:5 + qwt? ( x11-libs/qwt:6[qt5] )" DEPEND="${COMMON_DEPEND} doc? ( app-doc/doxygen )" RDEPEND="${COMMON_DEPEND} - dev-qt/qtsvg:4 + dev-qt/qtsvg:5 || ( kde-frameworks/oxygen-icons x11-themes/kfaenza @@ -39,8 +43,8 @@ REQUIRED_USE="|| ( postgres sqlite )" src_configure() { local mycmakeargs=( -DWITH_PLUGINS=False - $(cmake-utils_use_with doc DOCS) - $(cmake-utils_use_with qwt QWT) + -DWITH_DOCS=$(usex doc) + -DWITH_QWT=$(usex qwt) ) if [[ ${PV} != 9999 ]]; then mycmakeargs+=( -DLEECHCRAFT_VERSION=${PV} ) diff --git a/app-leechcraft/lc-core/metadata.xml b/app-leechcraft/lc-core/metadata.xml index 93047c9afa13..79bb4d800dab 100644 --- a/app-leechcraft/lc-core/metadata.xml +++ b/app-leechcraft/lc-core/metadata.xml @@ -1,11 +1,15 @@ + + 0xd34df00d@gmail.com + Georg Rudoy + - leechcraft@gentoo.org - LeechCraft + proxy-maint@gentoo.org + Proxy Maintainers - Core of LeechCraft, the opensource modular network client providing a full-featured web browser, BitTorrent client and much more. + Core of LeechCraft, the opensource modular network client providing a full-featured web browser, BitTorrent client and much more. Support for QML plotting item through x11-libs/qwt -- cgit v1.2.3-65-gdbad