mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-20 02:20:42 +00:00
* 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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user