[packages/polkit-qt5-1] - fixed .pc files, release 2
qboosh
qboosh at pld-linux.org
Sat Oct 10 20:03:57 CEST 2026
commit 22555cad41cab037bdd2e63d0d4a3862ac6f7458
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 10 20:04:30 2026 +0200
- fixed .pc files, release 2
polkit-qt5-1.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/polkit-qt5-1.spec b/polkit-qt5-1.spec
index 071e962..7da947e 100644
--- a/polkit-qt5-1.spec
+++ b/polkit-qt5-1.spec
@@ -10,7 +10,7 @@ Summary: Polkit-qt5-1 - Qt 5 API wrapper library around polkit
Summary(pl.UTF-8): Polkit-qt5-1 - obudowanie bibliotek polkit w API Qt 5
Name: polkit-qt5-1
Version: 0.175.0
-Release: 1
+Release: 2
License: LGPL v2+
Group: Libraries
Source0: https://download.kde.org/unstable/polkit-qt-1/polkit-qt-1-%{version}.tar.xz
@@ -221,10 +221,13 @@ Pliki programistyczne biblioteki Polkit-qt6-1 GUI.
%setup -q -n polkit-qt-1-%{version}
%build
+# .pc file generation expects relative CMAKE_INSTALL_{INCLUDE,LIB}DIR
%if %{with qt5}
install -d build-qt5
cd build-qt5
%cmake .. \
+ -DCMAKE_INSTALL_INCLUDEDIR=include \
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt5 \
-DQT_MAJOR_VERSION=5
@@ -236,6 +239,8 @@ cd ..
install -d build-qt6
cd build-qt6
%cmake .. \
+ -DCMAKE_INSTALL_INCLUDEDIR=include \
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt6 \
-DQT_MAJOR_VERSION=6
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/polkit-qt5-1.git/commitdiff/22555cad41cab037bdd2e63d0d4a3862ac6f7458
More information about the pld-cvs-commit
mailing list