blob: 1d1ee619e38059f5cc127df170923c8f7f918e75 (
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
51
52
53
54
55
56
57
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_EXAMPLES="true"
ECM_TEST="true"
KFMIN=9999
QTMIN=6.9.1
inherit ecm plasma.kde.org
DESCRIPTION="Style engine providing a unified style description to separate output styles"
HOMEPAGE="https://quantumproductions.info/articles/2025-02/moving-kdes-styling-future
https://files.quantumproductions.info/union/overview.html"
LICENSE="|| ( LGPL-2.1 LGPL-3 ) GPL-3 BSD-2"
SLOT="6"
KEYWORDS=""
IUSE="tools"
# IUSE="svg"
# svg? (
# >=dev-cpp/rapidyaml-0.7.2:=
# >=dev-qt/qtsvg-${QTMIN}:6
# >=kde-frameworks/karchive-${KFMIN}:6
# >=kde-frameworks/kcolorscheme-${KFMIN}:6
# >=kde-frameworks/kconfig-${KFMIN}:6
# kde-plasma/libplasma:6
# )
RDEPEND="
>=dev-qt/qtbase-${QTMIN}:6[gui,widgets]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=dev-qt/qtshadertools-${QTMIN}:6
>=kde-frameworks/kcolorscheme-${KFMIN}:6
>=kde-frameworks/kiconthemes-${KFMIN}:6
>=kde-frameworks/kirigami-${KFMIN}:6
"
DEPEND="${RDEPEND}"
BDEPEND=">=dev-qt/qttools-${QTMIN}:6[qdoc]"
DOCS=( README.md )
src_configure() {
local mycmakeargs=(
-DWITH_FRAMEWORKS=ON # we have no reason to disable those at this point
-DWITH_KIRIGAMI=ON
-DWITH_PLASMASVG_INPUT=OFF # defunct as of 2025-10-09
-DBUILD_TOOLS=$(usex tools)
)
ecm_src_configure
}
src_install() {
use examples && local DOCS+=( "${S}"/examples/snippets/{Button,Positioner}.qml )
use tools && dobin "${BUILD_DIR}"/bin/union-ruleinspector
ecm_src_install
}
|