[neon/neon-packaging/ffmpegthumbs5/Neon/release] debian: only package the files needed and hide the ones that clash

Carlos De Maine null at kde.org
Tue Mar 12 08:59:14 GMT 2024


Git commit 06d0a81a4a4ff49218f4037722103046c3467151 by Carlos De Maine.
Committed on 12/03/2024 at 08:59.
Pushed by carlosdem into branch 'Neon/release'.

only package the files needed and hide the ones that clash

not enough hours in a day to unravel the arcane secrets of debian pacckage install file rules, so cheat and make a transitional which allows one to easily use a .install file and a not-installed as well

M  +6    -0    debian/control
M  +2    -1    debian/ffmpegthumbs5.install
M  +0    -4    debian/rules

https://invent.kde.org/neon/neon-packaging/ffmpegthumbs5/-/commit/06d0a81a4a4ff49218f4037722103046c3467151

diff --git a/debian/control b/debian/control
index 72eb77f..6f4e88d 100644
--- a/debian/control
+++ b/debian/control
@@ -35,3 +35,9 @@ Description: video thumbnail generator using ffmpeg
  of video files using FFMpeg.
  .
  This package is part of the KDE multimedia module.
+
+Package: ffmpeg-thumbs-5
+Architecture: all
+Depends: ffmpegthumbs5, ${misc:Depends}
+Description: Dummy transitional
+ Transitional dummy package.
diff --git a/debian/ffmpegthumbs5.install b/debian/ffmpegthumbs5.install
index 1b91047..0d73a43 100644
--- a/debian/ffmpegthumbs5.install
+++ b/debian/ffmpegthumbs5.install
@@ -1 +1,2 @@
-usr/
+usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so
+usr/share/qlogging-categories5/ffmpegthumbs.categories
diff --git a/debian/rules b/debian/rules
index 209da09..7313945 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,3 @@ l10npkgs_firstversion_ok := 4:16.04.3-5~
 
 include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
 include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk
-
-override_dh_install:
-	dh_install --sourcedir=debian/ffmpegthumbs5
-


More information about the Neon-commits mailing list