[neon/backports-noble/kcolorpicker-noble/Neon/unstable] debian: debian/: Refine packaging
Boyuan Yang
null at kde.org
Wed Jul 3 15:10:15 BST 2024
Git commit fc1a508b8a6e46c90f89e5bdf2b06bfd5e6f3ceb by Boyuan Yang.
Committed on 29/03/2020 at 14:22.
Pushed by jriddell into branch 'Neon/unstable'.
debian/: Refine packaging
M +20 -3 debian/control
A +3 -0 debian/libkcolorpicker-dev.install
A +1 -0 debian/libkcolorpicker0.install
M +4 -0 debian/rules
https://invent.kde.org/neon/backports-noble/kcolorpicker-noble/-/commit/fc1a508b8a6e46c90f89e5bdf2b06bfd5e6f3ceb
diff --git a/debian/control b/debian/control
index 22f314e..c074861 100644
--- a/debian/control
+++ b/debian/control
@@ -7,11 +7,28 @@ Build-Depends:
cmake (>= 3.5),
qtbase5-dev,
Homepage: https://github.com/ksnip/kcolorpicker
+Vcs-Git: https://salsa.debian.org/debian/kcolorpicker.git
+Vcs-Browser: https://salsa.debian.org/debian/kcolorpicker
-Package: kcolorpicker
+Package: libkcolorpicker-dev
Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+Description: QToolButton-like widget with color selection popup menu (dev)
+ The kColorPicker library provides a QToolButton-like widget with color
+ selection popup menu.
+ .
+ This package provides the development files.
+
+Package: libkcolorpicker0
+Architecture: any
+Multi-Arch: same
Depends:
${misc:Depends},
${shlibs:Depends},
-Description: test
- test
+Description: QToolButton-like widget with color selection popup menu (lib)
+ The kColorPicker library provides a QToolButton-like widget with color
+ selection popup menu.
+ .
+ This package provides the shared library.
diff --git a/debian/libkcolorpicker-dev.install b/debian/libkcolorpicker-dev.install
new file mode 100644
index 0000000..a4c010d
--- /dev/null
+++ b/debian/libkcolorpicker-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/cmake/*
+usr/lib/*/lib*.so
diff --git a/debian/libkcolorpicker0.install b/debian/libkcolorpicker0.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libkcolorpicker0.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/rules b/debian/rules
index 97c9d23..01f14e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,5 +18,9 @@ export QT_SELECT := 5
%:
dh $@
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DBUILD_SHARED_LIBS=ON
+
override_dh_missing:
dh_missing --fail-missing
More information about the Neon-commits
mailing list