[neon/extras/qcoro/Neon/unstable] debian: Build shared libraries.

Sandro Knauß null at kde.org
Mon Feb 21 16:19:24 GMT 2022


Git commit d9f7d47d614d06de03d592d8e88edb18dc109f9a by Sandro Knauß.
Committed on 21/02/2022 at 15:13.
Pushed by jriddell into branch 'Neon/unstable'.

Build shared libraries.

M  +58   -0    debian/control
A  +1    -0    debian/libqcoro5core0.install
A  +1    -0    debian/libqcoro5dbus0.install
A  +1    -0    debian/libqcoro5network0.install
A  +1    -0    debian/libqcoro6core0.install
A  +1    -0    debian/libqcoro6dbus0.install
A  +1    -0    debian/libqcoro6network0.install
M  +2    -2    debian/rules

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

diff --git a/debian/control b/debian/control
index efd6d87..e10f0a3 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,60 @@ Vcs-Git: https://salsa.debian.org/qt-kde-team/extras/qcoro.git
 Homepage: https://qcoro.dvratil.cz/
 Rules-Requires-Root: no
 
+Package: libqcoro5core0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt5 - Core
+ 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 is the core library.
+
+Package: libqcoro6core0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt6 - Core
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt6 actions.
+ .
+ This is the core library.
+
+Package: libqcoro5dbus0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt5 - DBus
+ 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 is the DBus library.
+
+Package: libqcoro6dbus0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt6 - DBus
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt6 actions.
+ .
+ This is the DBus library.
+
+Package: libqcoro5network0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt5 - Network
+ 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 is the network library.
+
+Package: libqcoro6network0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: C++20 coroutines for Qt6 - Network
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt6 actions.
+ .
+ This is the network library.
+
 Package: qcoro-doc
 Architecture: all
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -32,6 +86,8 @@ Section: libdevel
 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: qcoro-qt6-dev
 Architecture: any
@@ -41,3 +97,5 @@ Section: libdevel
 Description: C++20 coroutines for Qt6 - development
  QCoro is a C++ library that provide set of tools to make use of C++20
  coroutines in connection with certain asynchronous Qt6 actions.
+ .
+ This package has the development files.
diff --git a/debian/libqcoro5core0.install b/debian/libqcoro5core0.install
new file mode 100644
index 0000000..2933724
--- /dev/null
+++ b/debian/libqcoro5core0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro5Core.so.*
diff --git a/debian/libqcoro5dbus0.install b/debian/libqcoro5dbus0.install
new file mode 100644
index 0000000..0dd0e88
--- /dev/null
+++ b/debian/libqcoro5dbus0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro5DBus.so.*
diff --git a/debian/libqcoro5network0.install b/debian/libqcoro5network0.install
new file mode 100644
index 0000000..1e121c5
--- /dev/null
+++ b/debian/libqcoro5network0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro5Network.so.*
diff --git a/debian/libqcoro6core0.install b/debian/libqcoro6core0.install
new file mode 100644
index 0000000..6487fc6
--- /dev/null
+++ b/debian/libqcoro6core0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro6Core.so.*
diff --git a/debian/libqcoro6dbus0.install b/debian/libqcoro6dbus0.install
new file mode 100644
index 0000000..9b8a53f
--- /dev/null
+++ b/debian/libqcoro6dbus0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro6DBus.so.*
diff --git a/debian/libqcoro6network0.install b/debian/libqcoro6network0.install
new file mode 100644
index 0000000..d63e09d
--- /dev/null
+++ b/debian/libqcoro6network0.install
@@ -0,0 +1 @@
+usr/lib/*/libQCoro6Network.so.*
diff --git a/debian/rules b/debian/rules
index fc21242..9923ccb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,8 @@ override_dh_auto_clean:
 	rm -rf build-Qt6
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DUSE_QT_VERSION=5
-	dh_auto_configure --builddirectory=build-Qt6  -- -DUSE_QT_VERSION=6
+	dh_auto_configure -- -DUSE_QT_VERSION=5 -DBUILD_SHARED_LIBS=ON
+	dh_auto_configure --builddirectory=build-Qt6  -- -DUSE_QT_VERSION=6 -DBUILD_SHARED_LIBS=ON
 
 override_dh_auto_build:
 	dh_auto_build



More information about the Neon-commits mailing list