[Pkg-sdl-commits] r37 - unstable/libsdl1.2/debian
Sam Hocevar
sho at costa.debian.org
Sat Mar 4 20:41:18 CET 2006
Author: sho
Date: 2006-03-04 19:41:17 +0000 (Sat, 04 Mar 2006)
New Revision: 37
Modified:
unstable/libsdl1.2/debian/changelog
unstable/libsdl1.2/debian/control
unstable/libsdl1.2/debian/rules
Log:
* debian/control:
+ Added a directfb udeb that can be used by the Debian installer. Thanks
to Sven Luther for preparing the patch.
* debian/rules:
+ Added build rules for the directfb udeb.
Modified: unstable/libsdl1.2/debian/changelog
===================================================================
--- unstable/libsdl1.2/debian/changelog 2006-03-03 20:15:57 UTC (rev 36)
+++ unstable/libsdl1.2/debian/changelog 2006-03-04 19:41:17 UTC (rev 37)
@@ -1,6 +1,11 @@
libsdl1.2 (1.2.9-5) UNRELEASED; urgency=low
- *
+ [ Sam Hocevar (Debian packages) ]
+ * debian/control:
+ + Added a directfb udeb that can be used by the Debian installer. Thanks
+ to Sven Luther for preparing the patch.
+ * debian/rules:
+ + Added build rules for the directfb udeb.
-- Aurelien Jarno <aurel32 at debian.org> Fri, 3 Mar 2006 21:15:14 +0100
Modified: unstable/libsdl1.2/debian/control
===================================================================
--- unstable/libsdl1.2/debian/control 2006-03-03 20:15:57 UTC (rev 36)
+++ unstable/libsdl1.2/debian/control 2006-03-04 19:41:17 UTC (rev 37)
@@ -103,6 +103,18 @@
.
This version of SDL is compiled with X11 graphics and NAS sound.
+Package: libsdl1.2debian-udeb
+XC-Package-Type: udeb
+Architecture: any
+Section: debian-installer
+Priority: extra
+Depends: ${shlibs:Depends}
+Description: Simple DirectMedia Layer (with directfb graphics and no sound)
+ SDL is a library that allows programs portable low level access to a video
+ framebuffer, audio output, mouse, and keyboard.
+ .
+ This version of SDL is compiled with directfb graphics and no sound.
+
Package: libsdl1.2-dev
Architecture: any
Section: libdevel
Modified: unstable/libsdl1.2/debian/rules
===================================================================
--- unstable/libsdl1.2/debian/rules 2006-03-03 20:15:57 UTC (rev 36)
+++ unstable/libsdl1.2/debian/rules 2006-03-04 19:41:17 UTC (rev 37)
@@ -23,6 +23,14 @@
--enable-esd-shared=no
all_confflags = --disable-video-ggi \
--enable-video-aalib --enable-video-directfb
+udeb_confflags = --enable-video-directfb --disable-video-ggi \
+ --disable-video-svga --disable-video-x11 \
+ --disable-video-aalib --disable-dga --disable-video-photon \
+ --disable-video-fbcon --disable-video-ps2gs \
+ --disable-video-opengl --disable-video-xbios \
+ --disable-video-gem \
+ --disable-audio --disable-audio-arts --disable-audio-esd \
+ --disable-audio-oss --disable-audio-nas --disable-audio-alsa
SOUNDS = arts esd oss nas
@@ -90,6 +98,8 @@
mkdir -p $(PWD)/$(SOURCE_DIR)/$$sound; \
(cd $(PWD)/$(SOURCE_DIR)/$$sound; ../$(TAR_DIR)/configure $(confflags) $$SWITCHES); \
done
+ mkdir -p $(PWD)/$(SOURCE_DIR)/udeb
+ (cd $(PWD)/$(SOURCE_DIR)/udeb; ../$(TAR_DIR)/configure $(confflags) $(udeb_confflags))
touch $(STAMP_DIR)/configure
@@ -97,7 +107,7 @@
$(STAMP_DIR)/build: $(STAMP_DIR)/configure
dh_testdir
- for sound in all $(SOUNDS); do \
+ for sound in all $(SOUNDS) udeb; do \
$(MAKE) -C $(PWD)/$(SOURCE_DIR)/$$sound || exit 1; \
done
@@ -147,6 +157,7 @@
for sound in $(SOUNDS); do \
dh_install --sourcedir=$(PWD)/$(SOURCE_DIR)/$$sound/ -plibsdl1.2debian-$$sound src/.libs/*.so.* usr/lib/; \
done
+ dh_install --sourcedir=$(PWD)/$(SOURCE_DIR)/udeb/ -plibsdl1.2debian-udeb src/.libs/*.so.* usr/lib/
rm -rf debian/libsdl1.2debian/usr/include
rm -rf debian/libsdl1.2-dev/usr/share/doc/libsdl1.2-dev/docs/man3
dh_strip
@@ -154,6 +165,8 @@
dh_fixperms
dh_makeshlibs
for sound in all $(SOUNDS); do echo "libSDL-1.2 0 libsdl1.2debian $$SHLIBVER" > debian/libsdl1.2debian-$$sound/DEBIAN/shlibs; done
+ mkdir -p debian/libsdl1.2debian-udeb/DEBIAN
+ echo "libSDL-1.2 0 libsdl1.2debian $$SHLIBVER" > debian/libsdl1.2debian-udeb/DEBIAN/shlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol $(no_libasound) -- -Vlibsvga1-dev=$(LIBSVGA1-DEV) -Vlibasound2-dev=$(LIBASOUND2-DEV)
More information about the Pkg-sdl-commits
mailing list