[neon/extras/qcoro/Neon/release] debian: rules: stop building examples

Pino Toscano null at kde.org
Wed May 4 12:31:29 BST 2022


Git commit 57a99600f9885a65ec17e6572811c5fab8eb3039 by Pino Toscano.
Committed on 16/04/2022 at 10:21.
Pushed by jriddell into branch 'Neon/release'.

rules: stop building examples

M  +2    -0    debian/changelog
M  +1    -1    debian/rules

https://invent.kde.org/neon/extras/qcoro/commit/57a99600f9885a65ec17e6572811c5fab8eb3039

diff --git a/debian/changelog b/debian/changelog
index 34757ae..86a738b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ qcoro (0.4.0-5) UNRELEASED; urgency=medium
   [ Pino Toscano ]
   * Factorize the common cmake arguments in qt5/qt6 builds in a single
     variable.
+  * Pass -DQCORO_BUILD_EXAMPLES=OFF to cmake to disable the build of examples,
+    as nothing is done with them.
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sat, 16 Apr 2022 12:18:23 +0200
 
diff --git a/debian/rules b/debian/rules
index 2b72105..e2f1e82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON -DQCORO_BUILD_EXAMPLES=OFF
 
 %:
 	dh $@ --with pkgkde_symbolshelper



More information about the Neon-commits mailing list