mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 15:14:38 +00:00
$ python3.13 -c 'import portage; print(portage.versions.vercmp("13.4.0", "13.4"))'
1
Bug: https://bugs.gentoo.org/964195
Signed-off-by: Sam James <sam@gentoo.org>
46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
ECM_QTHELP="true"
|
|
ECM_TEST="forceoptional"
|
|
KFMIN=6.16.0
|
|
QTMIN=6.8.1
|
|
inherit ecm plasma.kde.org toolchain-funcs
|
|
|
|
DESCRIPTION="Plasma screen management library"
|
|
|
|
LICENSE="GPL-2" # TODO: CHECK
|
|
SLOT="6/8"
|
|
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
|
|
IUSE=""
|
|
|
|
# requires running session
|
|
RESTRICT="test"
|
|
|
|
# slot op: Uses Qt::GuiPrivate for qtx11extras_p.h
|
|
RDEPEND="
|
|
dev-libs/wayland
|
|
>=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,wayland]
|
|
>=kde-frameworks/kconfig-${KFMIN}:6
|
|
x11-libs/libxcb:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-libs/plasma-wayland-protocols-1.18.0
|
|
"
|
|
RDEPEND+=" || ( >=dev-qt/qtbase-6.10:6[wayland] <dev-qt/qtwayland-6.10:6 )"
|
|
BDEPEND="
|
|
>=dev-qt/qttools-${QTMIN}:6[linguist]
|
|
>=dev-qt/qtbase-${QTMIN}:6[wayland]
|
|
dev-util/wayland-scanner
|
|
"
|
|
BDEPEND+=" || ( >=dev-qt/qtbase-6.10:6[wayland] <dev-qt/qtwayland-6.10:6 )"
|
|
|
|
pkg_pretend() {
|
|
[[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.4
|
|
}
|
|
|
|
pkg_setup() {
|
|
[[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.4
|
|
}
|