From 4cee1012c6b1e238f2332ace3af95ee14f1f992b Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 3 Feb 2021 15:48:17 +0100 Subject: [PATCH] debian: Align to debian packaging scheme This will prevent files conflicts among packages Change-Id: I32d1ec83229aa635d9198a0ab14a9d6708f24d37 Signed-off-by: Philippe Coval --- debian/control | 6 +++--- debian/{libsdl2.install => libsdl2-2.0-0-udeb.install} | 0 debian/libsdl2-2.0-0.install | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) rename debian/{libsdl2.install => libsdl2-2.0-0-udeb.install} (100%) create mode 100644 debian/libsdl2-2.0-0.install diff --git a/debian/control b/debian/control index b4c9c6404..e2afe1325 100644 --- a/debian/control +++ b/debian/control @@ -44,7 +44,7 @@ Build-Depends: debhelper (>= 9), wayland-protocols Homepage: http://www.libsdl.org/ -Package: libsdl2 +Package: libsdl2-2.0-0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} @@ -65,7 +65,7 @@ Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, - libsdl2 (= ${binary:Version}), + libsdl2-2.0-0 (= ${binary:Version}), libc6-dev, libgl1-mesa-dev Conflicts: libsdl-1.3-dev @@ -82,7 +82,7 @@ Section: debug Architecture: any Multi-Arch: same Depends: ${misc:Depends}, - libsdl2 (= ${binary:Version}), + libsdl2-2.0-0 (= ${binary:Version}), Description: Simple DirectMedia Layer debug files SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. diff --git a/debian/libsdl2.install b/debian/libsdl2-2.0-0-udeb.install similarity index 100% rename from debian/libsdl2.install rename to debian/libsdl2-2.0-0-udeb.install diff --git a/debian/libsdl2-2.0-0.install b/debian/libsdl2-2.0-0.install new file mode 100644 index 000000000..e4193c74c --- /dev/null +++ b/debian/libsdl2-2.0-0.install @@ -0,0 +1 @@ +usr/lib/*/libSDL2-2.0.so.0*