[neon/3rdparty/libaccounts-qt/Neon/unstable] debian/patches: one more linking patch
Carlos De Maine
null at kde.org
Tue Jun 27 12:36:56 BST 2023
Git commit b25a05e979a7df083b919444382b017af35733f2 by Carlos De Maine.
Committed on 27/06/2023 at 11:36.
Pushed by carlosdem into branch 'Neon/unstable'.
one more linking patch
A +18 -0 debian/patches/linkingtoo.diff
M +2 -1 debian/patches/series
https://invent.kde.org/neon/3rdparty/libaccounts-qt/-/commit/b25a05e979a7df083b919444382b017af35733f2
diff --git a/debian/patches/linkingtoo.diff b/debian/patches/linkingtoo.diff
new file mode 100644
index 0000000..469d200
--- /dev/null
+++ b/debian/patches/linkingtoo.diff
@@ -0,0 +1,18 @@
+diff --git a/tests/tst_libaccounts.pro b/tests/tst_libaccounts.pro
+index a5b91fe676c5c243d5cfc3d00d2d0f00f9f26e24..3d45ed73565215c3890723533a4fa5d0380113d5 100644
+--- a/tests/tst_libaccounts.pro
++++ b/tests/tst_libaccounts.pro
+@@ -9,7 +9,12 @@ QT = \
+ testlib \
+ xml
+
+-LIBS += -laccounts-qt5
++equals(QT_MAJOR_VERSION, 5){
++ LIBS += -laccounts-qt5
++}
++equals(QT_MAJOR_VERSION, 6) {
++ LIBS += -laccounts-qt6
++}
+
+ INCLUDEPATH += $${TOP_SRC_DIR}
+ QMAKE_LIBDIR += \
diff --git a/debian/patches/series b/debian/patches/series
index 9a21b7d..8a0cae7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
Install-the-doc-FILES.patch
Build-docs-if-doxygen-is-available.patch
qt6-toset.diff
-dualbuild.diff
\ No newline at end of file
+dualbuild.diff
+linkingtoo.diff
\ No newline at end of file
More information about the Neon-commits
mailing list