fix(lightly-qt6): Update script and build (#4673) (#4680)

* fix(lightly-qt6): Funny missing labels in update.rhai

Signed-off-by: Gilver <rockgrub@disroot.org>

* While I'm here

Signed-off-by: Gilver <rockgrub@disroot.org>

* That was the name of the CMake file but okay

Signed-off-by: Gilver <rockgrub@disroot.org>

* Update lightly-qt6.spec

Signed-off-by: Gilver <rockgrub@disroot.org>

* Update lightly-qt6.spec

Signed-off-by: Gilver <rockgrub@disroot.org>

* Try to rule out any missing build deps but I don't think it's that

Signed-off-by: Gilver <rockgrub@disroot.org>

* ?

Signed-off-by: Gilver <rockgrub@disroot.org>

* Update lightly-qt6.spec

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit 05c1d59a06)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-05-05 04:00:49 -07:00
committed by GitHub
parent 731895c8f4
commit 988d0bea85
2 changed files with 13 additions and 4 deletions
+11 -2
View File
@@ -2,6 +2,7 @@
%global _style lightly
%global dev boehs
%global _qt_major_version 6
%global _qt_old_major 5
%global forgeurl https://github.com/%{dev}/%{style}
%global commit 00ca23447844114d41bfc0d37cf8823202c082e8
@@ -49,7 +50,10 @@ BuildRequires: cmake(KF%{_qt_major_version}Kirigami2)
BuildRequires: cmake(KF%{_qt_major_version}Notifications)
BuildRequires: cmake(KF%{_qt_major_version}Package)
BuildRequires: cmake(KF%{_qt_major_version}WindowSystem)
BuildRequires: cmake(Qt%{_qt_old_major}Core)
BuildRequires: cmake(Qt%{_qt_old_major}Gui)
BuildRequires: cmake(KDecoration2)
BuildRequires: cmake(KWayland)
BuildRequires: cmake(Plasma)
@@ -71,7 +75,12 @@ Lightly is a fork of breeze theme style that aims to be visually modern and mini
%forgeautosetup -p1
%build
%cmake_kf6 -DQT_MAJOR_VERSION=%{_qt_major_version}
%cmake_kf6 \
-DQT_MAJOR_VERSION=%{_qt_major_version} \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
%cmake_build
%install
+2 -2
View File
@@ -1,6 +1,6 @@
import "andax/bump_extras.rhai" as bump;
fn main() {
fn main(labels) {
let branch = bump::as_bodhi_ver(labels.branch);
let url = `https://bodhi.fedoraproject.org/updates/?search=qt6-6.&status=stable&releases=${branch}&rows_per_page=1&page=1`;
for entry in get(url).json().updates[0].title.split(' ') {
@@ -11,4 +11,4 @@ fn main() {
}
}
open_file("anda/themes/lightly-qt6/VER6.txt").write(`${main()}`); // will trig rebuild when changed
open_file("anda/themes/lightly-qt6/VER6.txt").write(`${main(labels)}`); // will trig rebuild when changed