gentoo-ebuilds/x11-themes/QAdwaitaDecorations/QAdwaitaDecorations-0.1.7.ebuild
Pacho Ramos 908754f3a4
x11-themes/QAdwaitaDecorations: Fix compat with QT 6.10
Closes: https://bugs.gentoo.org/966353
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2025-11-30 11:01:04 +01:00

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"
}