mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 17:05:49 +02:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
ECM_TEST="true"
|
|
KFMIN=6.10.0
|
|
QTMIN=6.8.1
|
|
inherit ecm flag-o-matic plasma.kde.org
|
|
|
|
DESCRIPTION="Qt-style API to interact with the wayland-client API"
|
|
HOMEPAGE="https://invent.kde.org/frameworks/kwayland"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="6"
|
|
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
|
IUSE=""
|
|
|
|
# All failing, I guess we need a virtual wayland server
|
|
RESTRICT="test"
|
|
|
|
# slot ops: includes qpa/qplatformnativeinterface.h, surface_p.h
|
|
RDEPEND="
|
|
>=dev-libs/wayland-1.15.0
|
|
>=dev-qt/qtbase-${QTMIN}:6=[concurrent,gui,opengl,wayland]
|
|
media-libs/libglvnd
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-libs/plasma-wayland-protocols-1.16.0
|
|
>=dev-libs/wayland-protocols-1.15
|
|
sys-kernel/linux-headers
|
|
"
|
|
RDEPEND+=" || ( >=dev-qt/qtbase-6.10:6[wayland] <dev-qt/qtwayland-6.10:6 )"
|
|
BDEPEND="
|
|
>=dev-qt/qtbase-${QTMIN}:6[wayland]
|
|
>=dev-util/wayland-scanner-1.19.0
|
|
"
|
|
BDEPEND+=" || ( >=dev-qt/qtbase-6.10:6[wayland] <dev-qt/qtwayland-6.10:6 )"
|
|
|
|
src_configure() {
|
|
filter-lto # bug 866575
|
|
ecm_src_configure
|
|
}
|