[neon/qt6/qt6-phonon/Neon/unstable] debian: drop patch
Carlos De Maine
null at kde.org
Fri Jul 21 02:56:37 BST 2023
Git commit d7ca5a831acd250fa2f264c25d8a4b8ee8ea0bb6 by Carlos De Maine.
Committed on 21/07/2023 at 01:56.
Pushed by carlosdem into branch 'Neon/unstable'.
drop patch
D +0 -29 debian/patches/either_or.diff
M +0 -1 debian/patches/series
M +1 -1 debian/rules
https://invent.kde.org/neon/qt6/qt6-phonon/-/commit/d7ca5a831acd250fa2f264c25d8a4b8ee8ea0bb6
diff --git a/debian/patches/either_or.diff b/debian/patches/either_or.diff
deleted file mode 100644
index 6bbee2b..0000000
--- a/debian/patches/either_or.diff
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7cae88a35c7732932cbb7585db3f88e89a42f8fb..5c0c4ff840b3d047fb9a8a85af12ecaa1df10c24 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -11,6 +11,9 @@ option(PHONON_BUILD_SETTINGS "Build the settings GUI" ON)
-
- option(PHONON_NO_CAPTURE "Disable the capture capabilities")
-
-+option(BUILD_QT5 "Build for Qt5" ON)
-+option(BUILD_QT6 "Build for Qt6" ON)
-+
- # Not set by ECM (yet)
- set(CMAKE_AUTOUIC TRUE)
- set(CMAKE_AUTORCC TRUE)
-@@ -33,7 +36,13 @@ include(ECMGeneratePkgConfigFile)
- include(ECMPoQmTools)
- include(ECMSetupVersion)
-
--set(VERSIONS "5;6")
-+if (${BUILD_QT6})
-+set(VERSIONS "6")
-+endif()
-+if (${BUILD_QT5})
-+set(VERSIONS "5")
-+endif()
-+
- # CI is stupid and doesn't allow us to set CMAKE options per build variant
- if ($ENV{CI_JOB_NAME_SLUG} MATCHES "qt5")
- set(VERSIONS "5")
diff --git a/debian/patches/series b/debian/patches/series
index b58af05..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-either_or.diff
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 8087e21..960888a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
# -*- makefile -*-
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-CMAKE_ARGS = -DBUILD_QT6=ON -DBUILD_QT5=OFF
+CMAKE_ARGS = -DPHONON_BUILD_QT6
%:
dh $@ --with kf6 --buildsystem kf6
More information about the Neon-commits
mailing list