[neon/extras/qcoro/Neon/unstable] debian: make it compile on neon

Jonathan Esk-Riddell null at kde.org
Mon Feb 21 16:19:24 GMT 2022


Git commit daee5bb18d297f3cde84bdddeaf9162be5ee3792 by Jonathan Esk-Riddell.
Committed on 21/02/2022 at 16:19.
Pushed by jriddell into branch 'Neon/unstable'.

make it compile on neon

M  +9    -0    debian/control
M  +3    -0    debian/rules

https://invent.kde.org/neon/extras/qcoro/commit/daee5bb18d297f3cde84bdddeaf9162be5ee3792

diff --git a/debian/control b/debian/control
index 1b7d1e1..071ce4a 100644
--- a/debian/control
+++ b/debian/control
@@ -88,12 +88,21 @@ Depends: libqcoro5core0 (= ${binary:Version}),
          ${shlibs:Depends}
 Recommends: qcoro-doc
 Section: libdevel
+Breaks: libqcoro-dev (<< ${source:Version}~ciBuild)
+Replaces: libqcoro-dev (<< ${source:Version}~ciBuild)
 Description: C++20 coroutines for Qt5 - development
  QCoro is a C++ library that provide set of tools to make use of C++20
  coroutines in connection with certain asynchronous Qt5 actions.
  .
  This package has the development files.
 
+Package: libqcoro-dev
+Architecture: all
+Section: oldlibs
+Priority: extra
+Description: transitional dummy for qcoro-qt5-dev
+ This package can be removed.
+
 Package: qcoro-qt6-dev
 Architecture: any
 Depends: libqcoro6core0 (= ${binary:Version}),
diff --git a/debian/rules b/debian/rules
index 2fe3448..f23bf60 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 # -*- makefile -*-
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export CC=gcc-10
+export CXX=g++-10
+
 
 %:
 	dh $@ --with pkgkde_symbolshelper


More information about the Neon-commits mailing list