[hedgewars] 01/02: Enable BUILD_ENGINE_C, just for experimental
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Sun Dec 28 20:55:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch experimental
in repository hedgewars.
commit ecfd2dd1945a518813093c2efede62cdf0efc705
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Sun Dec 28 21:54:08 2014 +0100
Enable BUILD_ENGINE_C, just for experimental
---
debian/changelog | 6 ++++++
debian/control | 7 ++++---
debian/rules | 9 ++++++++-
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 36fe2b4..9107a39 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hedgewars (0.9.21-2) experimental; urgency=medium
+
+ * Enable experimental BUILD_ENGINE_C.
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it> Sun, 28 Dec 2014 21:49:51 +0100
+
hedgewars (0.9.21-1) unstable; urgency=medium
* New upstream release (Closes: #760776).
diff --git a/debian/control b/debian/control
index f846661..440cfb1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,11 @@ Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Dmitry E. Oboukhov <unera at debian.org>,
Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Standards-Version: 3.9.6
-Build-Depends: cmake,
+Build-Depends: clang [arm64 hurd-i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel ppc64el s390x alpha hppa m68k powerpcspe sh4 x32],
+ cmake,
debhelper (>= 9),
dpkg-dev (>= 1.16.1~),
- fpc,
+ fpc [amd64 armel armhf i386 powerpc sparc ppc64],
freeglut3-dev,
ghc,
# convert function
@@ -27,7 +28,7 @@ Build-Depends: cmake,
libghc-utf8-string-dev,
libghc-vector-dev,
libghc-zlib-dev,
- libglew-dev,
+ libglew-dev [arm64 hurd-i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel ppc64el s390x alpha hppa m68k powerpcspe sh4 x32],
liblua5.1-dev,
# new dependency
libphysfs-dev,
diff --git a/debian/rules b/debian/rules
index 2dac865..4674860 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,12 +5,19 @@
DEJAVU_DIRECTORY := $(shell dirname `readlink -f /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf`)
+ifeq ($(shell dpkg-query --status fpc |grep -o Package), Package)
+ BUILD_ENGINE_C := NO
+else
+ BUILD_ENGINE_C := YES
+endif
+
HEDGEWARS_OPTIONS= \
-DCMAKE_INSTALL_PREFIX=/usr/lib/hedgewars \
-DDATA_INSTALL_DIR=/usr/share/games/hedgewars \
-DCMAKE_BUILD_TYPE=RELEASE -DPHYSFS_SYSTEM=ON \
-DFONTS_DIRS='/usr/share/fonts/truetype/wqy;$(DEJAVU_DIRECTORY)' \
- -DNOVERSIONINFOUPDATE=1
+ -DNOVERSIONINFOUPDATE=1 \
+ -DBUILD_ENGINE_C=$(BUILD_ENGINE_C)
override_dh_clean:
rm -rf tmp-icon
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/hedgewars.git
More information about the Pkg-games-commits
mailing list