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>
This commit is contained in:
Philippe Coval 2021-02-03 15:48:17 +01:00 committed by Sam Lantinga
parent 6fd37194bc
commit 4cee1012c6
3 changed files with 4 additions and 3 deletions

6
debian/control vendored
View File

@ -44,7 +44,7 @@ Build-Depends: debhelper (>= 9),
wayland-protocols wayland-protocols
Homepage: http://www.libsdl.org/ Homepage: http://www.libsdl.org/
Package: libsdl2 Package: libsdl2-2.0-0
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
@ -65,7 +65,7 @@ Section: libdevel
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Depends: ${misc:Depends}, Depends: ${misc:Depends},
libsdl2 (= ${binary:Version}), libsdl2-2.0-0 (= ${binary:Version}),
libc6-dev, libc6-dev,
libgl1-mesa-dev libgl1-mesa-dev
Conflicts: libsdl-1.3-dev Conflicts: libsdl-1.3-dev
@ -82,7 +82,7 @@ Section: debug
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Depends: ${misc:Depends}, Depends: ${misc:Depends},
libsdl2 (= ${binary:Version}), libsdl2-2.0-0 (= ${binary:Version}),
Description: Simple DirectMedia Layer debug files Description: Simple DirectMedia Layer debug files
SDL is a library that allows programs portable low level access to a video SDL is a library that allows programs portable low level access to a video
framebuffer, audio output, mouse, and keyboard. framebuffer, audio output, mouse, and keyboard.

1
debian/libsdl2-2.0-0.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/libSDL2-2.0.so.0*