mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
62 lines
1.6 KiB
Bash
62 lines
1.6 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
KFMIN=6.18.0
|
|
QTMIN=6.9.1
|
|
inherit ecm plasma.kde.org xdg
|
|
|
|
DESCRIPTION="Qt Platform Theme integration plugins for the Plasma workspaces"
|
|
|
|
LICENSE="LGPL-2+"
|
|
SLOT="6"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
IUSE=""
|
|
|
|
# requires running kde environment
|
|
RESTRICT="test"
|
|
|
|
# slot ops: qdbus*_p.h and Qt6::GuiPrivate for qtx11extras_p.h
|
|
COMMON_DEPEND="
|
|
dev-libs/wayland
|
|
>=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,wayland,widgets]
|
|
>=dev-qt/qtdeclarative-${QTMIN}:6
|
|
>=kde-frameworks/kcolorscheme-${KFMIN}:6
|
|
>=kde-frameworks/kcompletion-${KFMIN}:6
|
|
>=kde-frameworks/kconfig-${KFMIN}:6
|
|
>=kde-frameworks/kcoreaddons-${KFMIN}:6
|
|
>=kde-frameworks/kguiaddons-${KFMIN}:6
|
|
>=kde-frameworks/ki18n-${KFMIN}:6
|
|
>=kde-frameworks/kiconthemes-${KFMIN}:6
|
|
>=kde-frameworks/kio-${KFMIN}:6
|
|
>=kde-frameworks/kjobwidgets-${KFMIN}:6
|
|
>=kde-frameworks/knotifications-${KFMIN}:6
|
|
>=kde-frameworks/kstatusnotifieritem-${KFMIN}:6
|
|
>=kde-frameworks/kwindowsystem-${KFMIN}:6
|
|
>=kde-frameworks/kxmlgui-${KFMIN}:6
|
|
x11-libs/libXcursor
|
|
x11-libs/libxcb
|
|
"
|
|
DEPEND="${COMMON_DEPEND}
|
|
>=dev-libs/plasma-wayland-protocols-1.19.0
|
|
"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
!<${CATEGORY}/${PN}-6.5.0:5
|
|
media-fonts/hack
|
|
media-fonts/noto
|
|
media-fonts/noto-emoji
|
|
"
|
|
RDEPEND+=" || ( >=dev-qt/qtbase-6.10:6[wayland] <dev-qt/qtwayland-6.10:6 )"
|
|
PDEPEND=">=kde-plasma/xdg-desktop-portal-kde-${KDE_CATV}:6"
|
|
BDEPEND=">=dev-qt/qtbase-${QTMIN}:6[wayland]"
|
|
BDEPEND+=" || ( >=dev-qt/qtbase-6.10:6[wayland] <dev-qt/qtwayland-6.10:6 )"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_QT6=ON
|
|
-DBUILD_QT5=OFF
|
|
)
|
|
ecm_src_configure
|
|
}
|