[darkplaces] 09/12: Build against SDL 2

Simon McVittie smcv at debian.org
Thu Apr 2 09:48:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository darkplaces.

commit 9dff87ea3ce3a2d64196ca00c41472115e4dd51b
Author: Simon McVittie <smcv at debian.org>
Date:   Thu Apr 2 09:50:16 2015 +0100

    Build against SDL 2
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1803ee8..4cb04b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ darkplaces (0~20140513+svn12208-1) UNRELEASED; urgency=medium
       so there's no particular reason to worry about their license
   * debian/copyright: change to "Files: *" form to make lintian happier
   * Avoid timestamps in the binary, for reproducible builds
+  * Build against SDL 2
 
  -- Simon McVittie <smcv at debian.org>  Sun, 15 Feb 2015 16:26:51 +0000
 
diff --git a/debian/control b/debian/control
index 4c0854d..d30cd79 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 9),
                libode-dev,
                libogg-dev,
                libpng-dev,
-               libsdl1.2-dev,
+               libsdl2-dev,
                libtheora-dev,
                libvorbis-dev,
                lsb-release,
diff --git a/debian/rules b/debian/rules
index ef035df..fd79365 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,9 +29,9 @@ DEB_CPPFLAGS_MAINT_APPEND := \
 	$(NULL)
 
 ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-TARGETS = sdl-release sv-release
+TARGETS = sdl2-release sv-release
 else
-TARGETS = sdl-debug sv-debug
+TARGETS = sdl2-debug sv-debug
 endif
 
 # LDFLAGS_* are used to compile builddate.c, so yes, they do need to include

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/darkplaces.git



More information about the Pkg-games-commits mailing list