[fife] 08/09: Switch from Scons to CMake.

Markus Koschany apo at moszumanska.debian.org
Fri Jan 20 03:05:19 UTC 2017


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

apo pushed a commit to branch master
in repository fife.

commit 045c0533893259decae15a2955948afcff1362e9
Author: Markus Koschany <apo at debian.org>
Date:   Fri Jan 20 00:17:31 2017 +0100

    Switch from Scons to CMake.
---
 debian/changelog |  1 +
 debian/control   |  3 +--
 debian/rules     | 20 --------------------
 3 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ee00b67..a46fb6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ fife (0.4.0-1) unstable; urgency=medium
   * New upstream version 0.4.0.
   * Tighten build-dependency on libfifechan-dev.
   * Drop all patches.
+  * Switch from Scons to CMake.
 
  -- Markus Koschany <apo at debian.org>  Thu, 19 Jan 2017 23:58:16 +0100
 
diff --git a/debian/control b/debian/control
index 55a0080..6f23e7a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Section: libdevel
 Priority: optional
 Build-Depends:
- chrpath,
+ cmake,
  debhelper (>= 10),
  dh-python,
  glee-dev,
@@ -26,7 +26,6 @@ Build-Depends:
  libvorbis-dev,
  libxcursor-dev,
  python-all-dev (>= 2.6.6-3~),
- scons,
  swig,
  zlib1g-dev
 X-Python-Version: >= 2.6
diff --git a/debian/rules b/debian/rules
index cd9877f..4647c9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,23 +2,3 @@
 
 %:
 	dh $@ --with python2
-
-override_dh_auto_configure:
-	mkdir build-python$*
-	cp -r build engine utils SConstruct setup.py test_fife.py build-python$*
-	touch $@
-
-override_dh_auto_build:
-	python$* $(shell which scons) -C build-python$* fife-python $(SCONSOPTS)
-
-override_dh_auto_test:
-	#python$* $(shell which scons) -C build-python$* tests $(SCONSOPTS)
-
-override_dh_auto_install:
-	python$* $(shell which scons) -C build-python$* DESTDIR=$(CURDIR)/debian/python-fife install-python $(SCONSOPTS)
-	find $(CURDIR)/debian/python-fife -name '*.so' -exec chrpath -d {} \;
-
-override_dh_auto_clean:
-	rm -fr build-python*
-	dh_auto_clean
-

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



More information about the Pkg-games-commits mailing list