Diff qtcharts-5.15.10 with a qtcharts-6.5.2-r1
/usr/portage/dev-qt/qtcharts/qtcharts-6.5.2-r1.ebuild 2023-10-09 14:52:30.408368373 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 2021-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit qt5-build |
|
6 |
inherit qt6-build |
|
7 | 7 | |
8 |
DESCRIPTION="Chart component library for the Qt5 framework" |
|
9 |
LICENSE="GPL-3" |
|
8 |
DESCRIPTION="Chart component library for the Qt6 framework" |
|
10 | 9 | |
11 |
if [[ ${QT5_BUILD_TYPE} == release ]]; then |
|
12 |
KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" |
|
10 |
if [[ ${QT6_BUILD_TYPE} == release ]]; then |
|
11 |
KEYWORDS="amd64" |
|
13 | 12 |
fi |
14 | 13 | |
15 |
IUSE="qml" |
|
14 |
IUSE="gles2-only qml" |
|
16 | 15 | |
17 |
DEPEND=" |
|
18 |
=dev-qt/qtcore-${QT5_PV}* |
|
19 |
=dev-qt/qtgui-${QT5_PV}* |
|
20 |
=dev-qt/qtwidgets-${QT5_PV}* |
|
21 |
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* ) |
|
16 |
RDEPEND=" |
|
17 |
~dev-qt/qtbase-${PV}:6[gles2-only=,gui,opengl,widgets] |
|
18 |
qml? ( ~dev-qt/qtdeclarative-${PV}:6[opengl] ) |
|
22 | 19 |
" |
23 |
RDEPEND="${DEPEND}" |
|
20 |
DEPEND="${RDEPEND}" |
|
24 | 21 | |
25 |
src_prepare() { |
|
26 |
qt_use_disable_mod qml quick \ |
|
27 |
src/src.pro |
|
22 |
src_configure() { |
|
23 |
local mycmakeargs=( |
|
24 |
$(cmake_use_find_package qml Qt6Qml) |
|
25 |
) |
|
28 | 26 | |
29 |
qt5-build_src_prepare |
|
27 |
qt6-build_src_configure |
|
30 | 28 |
} |