Return patch, add ending new line to patch
All checks were successful
Build hyprqt6engine / Build and push image (push) Successful in 3m2s
All checks were successful
Build hyprqt6engine / Build and push image (push) Successful in 3m2s
This commit is contained in:
16
hyprqt6engine/fix-build.diff
Normal file
16
hyprqt6engine/fix-build.diff
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 94ecfef..19e9380 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -14,6 +14,10 @@ find_package(KF6Config)
|
||||
find_package(KF6ColorScheme)
|
||||
find_package(KF6IconThemes)
|
||||
|
||||
+if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.9.0")
|
||||
+ find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
|
||||
+endif()
|
||||
+
|
||||
get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
|
||||
|
||||
if(NOT PLUGINDIR)
|
||||
|
||||
49
hyprqt6engine/hyprqt6engine.spec
Normal file
49
hyprqt6engine/hyprqt6engine.spec
Normal file
@@ -0,0 +1,49 @@
|
||||
Name: hyprqt6engine
|
||||
Version: 0.1.0
|
||||
Release: %autorelease -b6
|
||||
Summary: Qt6 Theme Provider for Hyprland
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/hyprwm/hyprqt6engine
|
||||
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch: fix-build.diff
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: qt6-rpm-macros
|
||||
|
||||
BuildRequires: pkgconfig(hyprlang)
|
||||
BuildRequires: pkgconfig(hyprutils)
|
||||
|
||||
BuildRequires: cmake(KF6ColorScheme)
|
||||
BuildRequires: cmake(KF6Config)
|
||||
BuildRequires: cmake(KF6IconThemes)
|
||||
BuildRequires: cmake(Qt6BuildInternals)
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6Widgets)
|
||||
BuildRequires: qt6-qtbase-private-devel
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/libhyprqt6engine-common.so
|
||||
%{_qt6_plugindir}/platformthemes/libhyprqt6engine.so
|
||||
%{_qt6_plugindir}/styles/libhypr-style.so
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user