mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 16:08:17 +00:00
39 lines
809 B
Bash
39 lines
809 B
Bash
# 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"
|
|
}
|