summaryrefslogtreecommitdiff
path: root/gui-libs
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-20 03:04:52 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-20 03:04:52 -0500
commitef28a0a09751356d6a177eab79b041f208f7d070 (patch)
tree2cfb77d786d95a3e3fa4c9e6bcfa3c137196c2d9 /gui-libs
parent7b13a9274c53423047c061be2d9fc93c3728c318 (diff)
downloadbaldeagleos-repo-ef28a0a09751356d6a177eab79b041f208f7d070.tar.gz
baldeagleos-repo-ef28a0a09751356d6a177eab79b041f208f7d070.tar.xz
baldeagleos-repo-ef28a0a09751356d6a177eab79b041f208f7d070.zip
Adding metadata
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/hyprqt6engine/Manifest1
-rw-r--r--gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-KDE-option.patch22
-rw-r--r--gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-fix-GuiPrivate-not-found.patch21
-rw-r--r--gui-libs/hyprqt6engine/hyprqt6engine-0.1.0.ebuild59
-rw-r--r--gui-libs/hyprqt6engine/metadata.xml14
5 files changed, 117 insertions, 0 deletions
diff --git a/gui-libs/hyprqt6engine/Manifest b/gui-libs/hyprqt6engine/Manifest
new file mode 100644
index 000000000000..d107bf94e519
--- /dev/null
+++ b/gui-libs/hyprqt6engine/Manifest
@@ -0,0 +1 @@
+DIST hyprqt6engine-0.1.0.tar.gz 11780 BLAKE2B 0d30b9cc543fddcf07dcf19f823885d012443cac1b4e2529796ed57b427035f6d7e3c7b0508396f9dc4202386909343af05c9e7743260b4465d1cfb04da68877 SHA512 21d41faa526288b8c53ffd21210eab338e6abc7d71884bbd71cfd394c399aaeb049bb5e70aa7b3b2934a47f295665ef80d94033f4fd95c7f881e10d1db00a668
diff --git a/gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-KDE-option.patch b/gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-KDE-option.patch
new file mode 100644
index 000000000000..db90e59467b3
--- /dev/null
+++ b/gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-KDE-option.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 94ecfef..801aa13 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,9 +10,14 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+ find_package(Qt6 6.9 CONFIG REQUIRED COMPONENTS BuildInternals Core Widgets)
+ find_package(PkgConfig REQUIRED)
+-find_package(KF6Config)
+-find_package(KF6ColorScheme)
+-find_package(KF6IconThemes)
++
++option(WITH_KDE "Enable KDE Frameworks integration" ON)
++
++if(WITH_KDE)
++ find_package(KF6Config REQUIRED)
++ find_package(KF6ColorScheme REQUIRED)
++ find_package(KF6IconThemes REQUIRED)
++endif()
+
+ get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
+
diff --git a/gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-fix-GuiPrivate-not-found.patch b/gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-fix-GuiPrivate-not-found.patch
new file mode 100644
index 000000000000..d1bc0c880384
--- /dev/null
+++ b/gui-libs/hyprqt6engine/files/hyprqt6engine-0.1.0-fix-GuiPrivate-not-found.patch
@@ -0,0 +1,21 @@
+From 43b3c59fb56581a692dcf44fdd551df31a66905e Mon Sep 17 00:00:00 2001
+From: vuatech <vuatech@proton.me>
+Date: Fri, 12 Sep 2025 11:18:47 -0400
+Subject: [PATCH] Added find_package to resolve GuiPrivate not being found
+
+---
+ hyprqtplugin/CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/hyprqtplugin/CMakeLists.txt b/hyprqtplugin/CMakeLists.txt
+index bbdb33a..c427670 100644
+--- a/hyprqtplugin/CMakeLists.txt
++++ b/hyprqtplugin/CMakeLists.txt
+@@ -1,5 +1,7 @@
+ project(hyprqtplugin)
+
++find_package(Qt6 REQUIRED COMPONENTS Gui GuiPrivate)
++
+ set(app_SRCS
+ main.cpp
+ PlatformTheme.cpp
diff --git a/gui-libs/hyprqt6engine/hyprqt6engine-0.1.0.ebuild b/gui-libs/hyprqt6engine/hyprqt6engine-0.1.0.ebuild
new file mode 100644
index 000000000000..8a2d5172bd93
--- /dev/null
+++ b/gui-libs/hyprqt6engine/hyprqt6engine-0.1.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="QT6 Theme Provider for Hyprland"
+HOMEPAGE="https://github.com/hyprwm/hyprqt6engine"
+if [[ "${PV}" = *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
+else
+ SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="kde"
+
+DEPEND="
+ >=dev-qt/qtbase-6.9:6=[gui,widgets]
+ dev-qt/qtdeclarative:6
+ dev-libs/hyprlang
+ gui-libs/hyprutils
+ kde? (
+ kde-frameworks/kcolorscheme:6
+ kde-frameworks/kconfig:6
+ kde-frameworks/kiconthemes:6
+ )
+"
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}/hyprqt6engine-0.1.0-fix-GuiPrivate-not-found.patch"
+ "${FILESDIR}/hyprqt6engine-0.1.0-KDE-option.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_KDE=$(usex kde)
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ elog "QT_QPA_PLATFORMTHEME=${PN} has to be set to enable ${PN}."
+ elog "You can set it in the Hyprland Lua config like"
+ elog " hl.env(\"QT_QPA_PLATFORMTHEME\", \"${PN}\")"
+ elog "If you use uwsm with Hyprland, then set it in ~/.config/uwsm/env with"
+ elog " export QT_QPA_PLATFORMTHEME=${PN}"
+ elog "instead."
+}
diff --git a/gui-libs/hyprqt6engine/metadata.xml b/gui-libs/hyprqt6engine/metadata.xml
new file mode 100644
index 000000000000..705f42a07392
--- /dev/null
+++ b/gui-libs/hyprqt6engine/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>phywyj@gmail.com</email>
+ <name>Yingjie Wang</name>
+ </maintainer>
+ <upstream>
+ <changelog>https://github.com/hyprwm/hyprqt6engine/releases</changelog>
+ <bugs-to>https://github.com/hyprwm/hyprqt6engine/issues</bugs-to>
+ <doc>https://wiki.hypr.land/Hypr-Ecosystem/hyprqt6engine/</doc>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>