debian: Align to debian packaging scheme This will prevent files conflicts among packages Change-Id: I32d1ec83229aa635d9198a0ab14a9d6708f24d37 Signed-off-by: Philippe Coval <rzr@users.sf.net>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
diff --git a/debian/control b/debian/control
index b4c9c64..e2afe13 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-2.0-0-udeb.install b/debian/libsdl2-2.0-0-udeb.install
new file mode 100644
index 0000000..e4193c7
--- /dev/null
+++ b/debian/libsdl2-2.0-0-udeb.install
@@ -0,0 +1 @@
+usr/lib/*/libSDL2-2.0.so.0*
diff --git a/debian/libsdl2-2.0-0.install b/debian/libsdl2-2.0-0.install
new file mode 100644
index 0000000..e4193c7
--- /dev/null
+++ b/debian/libsdl2-2.0-0.install
@@ -0,0 +1 @@
+usr/lib/*/libSDL2-2.0.so.0*
diff --git a/debian/libsdl2.install b/debian/libsdl2.install
deleted file mode 100644
index e4193c7..0000000
--- a/debian/libsdl2.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/libSDL2-2.0.so.0*