Switched debian package name to sdl2
Disabled most of the dynamic shared libraries so that the correct dependency set is created for the runtime package.
--- a/debian/changelog Sat Feb 16 13:35:28 2013 -0800
+++ b/debian/changelog Fri Feb 15 14:11:28 2013 -0800
@@ -1,4 +1,4 @@
-libsdl2 (2.0.0.1) UNRELEASED; urgency=low
+sdl2 (2.0.0.1) UNRELEASED; urgency=low
* SDL is now a native debian package.
* Removed udeb package
@@ -6,13 +6,13 @@
-- Sam Lantinga <slouken@libsdl.org> Fri, 15 Feb 2013 08:55:04 -0800
-libsdl2 (2.0.0~20130127-1) UNRELEASED; urgency=low
+sdl2 (2.0.0~20130127-1) UNRELEASED; urgency=low
* New upstream snapshot.
-- Sam Hocevar <sho@debian.org> Wed, 30 Jan 2013 23:01:12 +0100
-libsdl2 (2.0.0~20130103-1) unstable; urgency=low
+sdl2 (2.0.0~20130103-1) unstable; urgency=low
[ Manuel A. Fernandez Montecelo ]
* debian/control:
@@ -44,7 +44,7 @@
-- Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> Sun, 27 Jan 2013 16:40:49 +0100
-libsdl2 (2.0~20120220c-1) experimental; urgency=low
+sdl2 (2.0~20120220c-1) experimental; urgency=low
* Upstream version was renamed to 2.0 (Closes: #669367).
* New upstream snapshot (Closes: #671506).
--- a/debian/control Sat Feb 16 13:35:28 2013 -0800
+++ b/debian/control Fri Feb 15 14:11:28 2013 -0800
@@ -1,4 +1,4 @@
-Source: libsdl2
+Source: sdl2
Priority: optional
Section: libs
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
@@ -14,6 +14,7 @@
libgl1-mesa-dev,
libpulse-dev,
libudev-dev [linux-any],
+ libdbus-1-dev [linux-any],
libusb2-dev [kfreebsd-any],
libusbhid-dev [kfreebsd-any],
libx11-dev,
@@ -34,18 +35,8 @@
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
${shlibs:Depends},
- libasound2,
- libpulse0,
libudev0 [linux-any],
- libx11-6,
- libxcursor1,
- libxext6,
- libxi6,
- libxinerama1,
- libxrandr2,
- libxss1,
- libxt6,
- libxxf86vm1
+ libdbus-1-3 [linux-any]
Multi-Arch: same
Conflicts: libsdl-1.3-0
Replaces: libsdl-1.3-0
--- a/debian/rules Sat Feb 16 13:35:28 2013 -0800
+++ b/debian/rules Fri Feb 15 14:11:28 2013 -0800
@@ -3,7 +3,10 @@
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-confflags = --disable-rpath --disable-video-directfb
+confflags = --disable-rpath --disable-video-directfb \
+ --disable-nas --disable-esd --disable-arts \
+ --disable-alsa-shared --disable-pulseaudio-shared \
+ --disable-x11-shared
%:
dh $@ --parallel