public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qcoro] epel9: Fix flatpak build
@ 2026-10-08 21:02 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-08 21:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qcoro
Branch : epel9
Commit : 8bdfc4e1703166844454e5278dfa4797482e342e
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2023-10-09T22:46:47-04:00
Stats : +2/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/qcoro/c/8bdfc4e1703166844454e5278dfa4797482e342e?branch=epel9
Log:
Fix flatpak build
CMake will try to install the .pri files into the Qt installation root
rather than the chosen prefix, which breaks flatpak builds in /app.
---
diff --git a/qcoro.spec b/qcoro.spec
index 2d07fae..742bd40 100644
--- a/qcoro.spec
+++ b/qcoro.spec
@@ -95,6 +95,7 @@ mkdir %{qt5_build_dir} && pushd %{qt5_build_dir}
%cmake -G Ninja \
-S'..' \
-DCMAKE_BUILD_TYPE=Release \
+ -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
-DUSE_QT_VERSION:STRING=5 \
-DBUILD_TESTING:BOOL=ON \
-DQCORO_BUILD_EXAMPLES:BOOL=ON \
@@ -113,6 +114,7 @@ mkdir %{qt6_build_dir} && pushd %{qt6_build_dir}
%cmake -G Ninja \
-S'..' \
-DCMAKE_BUILD_TYPE=Release \
+ -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt6/mkspecs/modules \
-DUSE_QT_VERSION:STRING=6 \
-DBUILD_TESTING:BOOL=ON \
-DQCORO_BUILD_EXAMPLES:BOOL=ON \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 21:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 21:02 [rpms/qcoro] epel9: Fix flatpak build Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox