mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
x11-themes/QAdwaitaDecorations: new package, add 0.1.6
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
1
x11-themes/QAdwaitaDecorations/Manifest
Normal file
1
x11-themes/QAdwaitaDecorations/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST QAdwaitaDecorations-0.1.6.tar.gz 22213 BLAKE2B b2e12e8e63816ffb29677686646367654958799c7fb55f10a85780f9fb367130386b2ec8a1bf2157d306e1ca7584972f549afbdb4bbd12ebde664283df119708 SHA512 f19410a7fee92f83211a0a346c122023acf18499d297737f2b0b46a12b2066dff90234596954975b755658550d38e42924d93fbbd34182baf75a1cd05c4d8743
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
case "$XDG_CURRENT_DESKTOP" in
|
||||
*GNOME*)
|
||||
export QT_WAYLAND_DECORATION=adwaita
|
||||
;;
|
||||
esac
|
||||
10
x11-themes/QAdwaitaDecorations/metadata.xml
Normal file
10
x11-themes/QAdwaitaDecorations/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user