[SCM] hydrogen/master: Switch buildsystem from scons to cmake.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Jan 27 01:14:44 UTC 2012


The following commit has been merged in the master branch:
commit 588fbb736caecb0c2c1ce04d82cef0e5a2378a80
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Jan 27 02:13:50 2012 +0100

    Switch buildsystem from scons to cmake.
    
    !WIP!
    
    Git-Dch: Short

diff --git a/debian/rules b/debian/rules
index bff227b..59e1adf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@
 
 include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/scons.mk
+include /usr/share/cdbs/1/class/cmake.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 DEB_UPSTREAM_URL = http://downloads.sourceforge.net/hydrogen
@@ -28,11 +28,6 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^.*\.(flac|png|qm)|debian/(changelog|copyrigh
 # according to upstream INSTALL.txt this avoids potential clash with Qt3
 export QTDIR=/usr/share/qt4
 
-DEB_SCONS_OPTIONS = libarchive=1 portaudio=1 portmidi=1 lash=0 prefix=/usr
-DEB_SCONS_OPTIONS += optflags="$(CXXFLAGS)"
-
-DEB_SCONS_INSTALL_OPTIONS = DESTDIR=$(DEB_DESTDIR)
-
 DEB_INSTALL_MANPAGES_hydrogen = debian/hydrogen.1
 DEB_INSTALL_EXAMPLES_hydrogen = extra/serverTools
 
@@ -77,8 +72,7 @@ debian/hydrogen.1: hydrogen
 #	rm -f debian/hydrogen.1
 
 clean::
-	rm -f qt4.pyc version.cpp config.h scache.conf
-	rm -rf scons_cache
+	rm -f qt4.pyc version.cpp config.h
 
 # Needed by upstream build process
 CDBS_BUILD_DEPENDS += , libqt4-dev, libz-dev, pkg-config, libarchive-dev

-- 
hydrogen packaging



More information about the pkg-multimedia-commits mailing list