The following commit has been merged in the master branch:
commit b13f4c813021775ae4f647195ebe1eedd21d27c5
Author: Marco Amadori <[email protected]>
Date:   Thu Jan 7 10:09:23 2010 +0100

    Added the -dbg debug package.

diff --git a/debian/control b/debian/control
index 7213610..bd47c13 100644
--- a/debian/control
+++ b/debian/control
@@ -61,3 +61,15 @@ Description: a modern full-3D RTS game engine (common files)
  .
  This package just includes the game engine's arch independent files, with no
  maps, mods or rich user interface.
+
+Package: spring-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${misc:Depends}, spring (= ${binary:Version})
+Description: a modern full-3D RTS game engine (debugging symbols)
+ Spring is a modern full-3D RTS (Real Time Strategy) game engine originally
+ created to bring the gameplay experience of Total Annihilation into 3D.
+ Games are played using one of a number of mods.
+ .
+ This package contains the debugging symbols for the spring binaries.
diff --git a/debian/rules b/debian/rules
index ac9841b..2b8b77c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
 
 override_dh_auto_configure:
-       dh_auto_configure -- -DBINDIR=/usr/games -DLIBDIR=/usr/lib/spring 
-DAI_LIBS_DIR=/usr/lib/spring -DAI_DATA_DIR=/usr/share/games/spring 
-DAI_TYPES=NATIVE -DCMAKE_BUILD_TYPE=RELEASE
+       dh_auto_configure -- -DBINDIR=/usr/games -DLIBDIR=/usr/lib/spring 
-DAI_LIBS_DIR=/usr/lib/spring -DAI_DATA_DIR=/usr/share/games/spring 
-DAI_TYPES=NATIVE -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
 
 override_dh_auto_build:
        +dh_auto_build
@@ -32,6 +32,9 @@ override_dh_auto_install:
        # Remove empty directories
        find $(TMPINSTDIR) -type d -empty -delete
 
+override_dh_strip:
+       +dh_strip --dbg-package=spring-dbg
+
 override_dh_installchangelogs:
        +dh_installchangelogs Documentation/changelog.txt
 

-- 
advanced 3D real time strategy game engine

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to