diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-libs/kreport/kreport-3.2.0.ebuild | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-libs/kreport/kreport-3.2.0.ebuild')
-rw-r--r-- | dev-libs/kreport/kreport-3.2.0.ebuild | 48 |
1 files changed, 27 insertions, 21 deletions
diff --git a/dev-libs/kreport/kreport-3.2.0.ebuild b/dev-libs/kreport/kreport-3.2.0.ebuild index 97555f856932..b19cd9dcd243 100644 --- a/dev-libs/kreport/kreport-3.2.0.ebuild +++ b/dev-libs/kreport/kreport-3.2.0.ebuild @@ -1,34 +1,40 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -KDE_QTHELP="true" -KDE_TEST="true" -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +ECM_QTHELP="true" +ECM_TEST="true" +PYTHON_COMPAT=( python3_{6,7,8} ) +KFMIN=5.60.0 +QTMIN=5.12.3 VIRTUALX_REQUIRED="test" -inherit kde5 python-any-r1 +inherit ecm kde.org python-any-r1 DESCRIPTION="Framework for creation and generation of reports in multiple formats" -[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" +HOMEPAGE="https://community.kde.org/KReport" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" + KEYWORDS="amd64 x86" +fi LICENSE="LGPL-2+" SLOT="5/4" -KEYWORDS="amd64 x86" IUSE="marble +scripting webkit" RDEPEND=" - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kguiaddons) - $(add_frameworks_dep kwidgetsaddons) - $(add_qt_dep qtgui) - $(add_qt_dep qtprintsupport) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtxml) >=dev-libs/kproperty-3.1.0:5= - marble? ( $(add_kdeapps_dep marble '' '' '5=') ) - scripting? ( $(add_qt_dep qtdeclarative) ) + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + marble? ( >=kde-apps/marble-19.04.3:5= ) + scripting? ( >=dev-qt/qtdeclarative-${QTMIN}:5 ) webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) " DEPEND="${RDEPEND} @@ -37,14 +43,14 @@ DEPEND="${RDEPEND} pkg_setup() { python-any-r1_pkg_setup - kde5_pkg_setup + ecm_pkg_setup } src_configure() { local mycmakeargs=( - $(cmake-utils_use_find_package marble Marble) - $(cmake-utils_use_find_package webkit Qt5WebKitWidgets) + $(cmake_use_find_package marble Marble) + $(cmake_use_find_package webkit Qt5WebKitWidgets) -DKREPORT_SCRIPTING=$(usex scripting) ) - kde5_src_configure + ecm_src_configure } |