blob: db9c3d6864e1f11ae16eb5d898c7ffb01a581cb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_QTHELP="true"
ECM_TEST="true"
KFMIN=5.249.0
QTMIN=6.6.2
inherit ecm kde.org
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Visual end user components for Kirigami-based applications"
HOMEPAGE="https://invent.kde.org/libraries/kirigami-addons"
LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) LGPL-2.1+"
SLOT="6"
IUSE=""
# would profit from VIRTUALX_REQUIRED=test, but then still requires
# org.qt-project.qt.mediaplayer service and fails, bug 911186
RESTRICT="test"
COMMON_DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[gui]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kirigami-${KFMIN}:6
"
RDEPEND="${COMMON_DEPEND}
>=dev-qt/qt5compat-${QTMIN}:6[qml]
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
kde-plasma/libplasma:6
"
DEPEND="${COMMON_DEPEND}
test? (
>=dev-qt/qtmultimedia-${QTMIN}:6[qml]
x11-themes/sound-theme-freedesktop
)
"
src_prepare() {
ecm_src_prepare
sed -e "/set(KF_MIN_VERSION/s/6.0.0/5.249.0/" -i CMakeLists.txt || die
}
|