commit:     eb0104aab38d02adc0d21c8fb3426b0a6d27fe08
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 20 18:14:39 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jun 20 18:40:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0104aa

x11-themes/QAdwaitaDecorations: new package, add 0.1.6

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 x11-themes/QAdwaitaDecorations/Manifest            |  1 +
 .../QAdwaitaDecorations-0.1.6.ebuild               | 34 ++++++++++++++++++++++
 .../files/90-QAdwaitaDecorations.sh                |  6 ++++
 x11-themes/QAdwaitaDecorations/metadata.xml        | 10 +++++++
 4 files changed, 51 insertions(+)

diff --git a/x11-themes/QAdwaitaDecorations/Manifest 
b/x11-themes/QAdwaitaDecorations/Manifest
new file mode 100644
index 000000000000..84c5fed79fe8
--- /dev/null
+++ b/x11-themes/QAdwaitaDecorations/Manifest
@@ -0,0 +1 @@
+DIST QAdwaitaDecorations-0.1.6.tar.gz 22213 BLAKE2B 
b2e12e8e63816ffb29677686646367654958799c7fb55f10a85780f9fb367130386b2ec8a1bf2157d306e1ca7584972f549afbdb4bbd12ebde664283df119708
 SHA512 
f19410a7fee92f83211a0a346c122023acf18499d297737f2b0b46a12b2066dff90234596954975b755658550d38e42924d93fbbd34182baf75a1cd05c4d8743

diff --git a/x11-themes/QAdwaitaDecorations/QAdwaitaDecorations-0.1.6.ebuild 
b/x11-themes/QAdwaitaDecorations/QAdwaitaDecorations-0.1.6.ebuild
new file mode 100644
index 000000000000..977310f3b986
--- /dev/null
+++ b/x11-themes/QAdwaitaDecorations/QAdwaitaDecorations-0.1.6.ebuild
@@ -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"
+}

diff --git a/x11-themes/QAdwaitaDecorations/files/90-QAdwaitaDecorations.sh 
b/x11-themes/QAdwaitaDecorations/files/90-QAdwaitaDecorations.sh
new file mode 100644
index 000000000000..9289376b8b51
--- /dev/null
+++ b/x11-themes/QAdwaitaDecorations/files/90-QAdwaitaDecorations.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+case "$XDG_CURRENT_DESKTOP" in
+       *GNOME*)
+               export QT_WAYLAND_DECORATION=adwaita
+               ;;
+esac

diff --git a/x11-themes/QAdwaitaDecorations/metadata.xml 
b/x11-themes/QAdwaitaDecorations/metadata.xml
new file mode 100644
index 000000000000..b94304887e1f
--- /dev/null
+++ b/x11-themes/QAdwaitaDecorations/metadata.xml
@@ -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>[email protected]</email>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="github">FedoraQt/QAdwaitaDecorations</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to