summaryrefslogtreecommitdiff
path: root/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-1.14.0.ebuild
blob: 01778a531342d9d3e7ba12e538f592f0dfb5a68c (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake kde.org

DESCRIPTION="Plasma Specific Protocols for Wayland"
HOMEPAGE="https://invent.kde.org/libraries/plasma-wayland-protocols"

if [[ ${KDE_BUILD_TYPE} = release ]]; then
	SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
	KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"

BDEPEND="
	dev-libs/libpcre2:*
	dev-qt/qtbase:6
	>=kde-frameworks/extra-cmake-modules-6.0:*
"

src_configure() {
	local mycmakeargs=(
		-DQT_MAJOR_VERSION=6
		-DKDE_INSTALL_USE_QT_SYS_PATHS=ON # ecm.eclass
		-DKDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help" # ecm.eclass
	)

	cmake_src_configure
}