x11-themes/QAdwaitaDecorations: new package, add 0.1.6

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2025-06-20 20:14:39 +02:00
parent 3019183c7f
commit eb0104aab3
4 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST QAdwaitaDecorations-0.1.6.tar.gz 22213 BLAKE2B b2e12e8e63816ffb29677686646367654958799c7fb55f10a85780f9fb367130386b2ec8a1bf2157d306e1ca7584972f549afbdb4bbd12ebde664283df119708 SHA512 f19410a7fee92f83211a0a346c122023acf18499d297737f2b0b46a12b2066dff90234596954975b755658550d38e42924d93fbbd34182baf75a1cd05c4d8743

View File

@@ -0,0 +1,34 @@
# 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}"
src_configure() {
local mycmakeargs=(
-DUSE_QT6=true
)
cmake_src_configure
}
src_install() {
cmake_src_install
insinto /etc/profile.d
doins "${FILESDIR}/90-${PN}.sh"
}

View File

@@ -0,0 +1,6 @@
#!/bin/sh
case "$XDG_CURRENT_DESKTOP" in
*GNOME*)
export QT_WAYLAND_DECORATION=adwaita
;;
esac

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pacho@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">FedoraQt/QAdwaitaDecorations</remote-id>
</upstream>
</pkgmetadata>