blob: 10042a1b77a8f9b067d15bede3057543e93781f9 (
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
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Qt decoration plugin implementing Adwaita-like client-side decorations"
HOMEPAGE="https://github.com/FedoraQt/QAdwaitaDecorations"
SRC_URI="https://github.com/FedoraQt/${PN}/archive/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
dev-qt/qtbase:6=[dbus,gui,wayland,widgets]
dev-qt/qtsvg:6=
dev-qt/qtwayland:6=
"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}"
PATCHES=(
# https://github.com/FedoraQt/QAdwaitaDecorations/issues/87
"${FILESDIR}/${P}-qt6.10.patch"
)
src_configure() {
local mycmakeargs=(
-DUSE_QT6=true
)
cmake_src_configure
}
src_install() {
cmake_src_install
insinto /etc/profile.d
doins "${FILESDIR}/90-${PN}.sh"
}
|