[SCM] kmidimon packaging branch, master, updated. upstream/0.7.0-4-g651fa4e

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Sat Jun 27 14:45:43 UTC 2009


The following commit has been merged in the master branch:
commit 651fa4e54895359a41f2cf3f8026befc72c67646
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Sat Jun 27 16:17:41 2009 +0200

    Basic fixes for the new package
    
       * use kdelibs5-dev
       * set prefix to /usr/
       * extend the clean rule
       * fix cmake docbook issue

diff --git a/debian/control b/debian/control
index aa5ddb8..49befac 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: sound
 Priority: optional
 Maintainer: Debian Multimedia Team <debian-multimedia at lists.debian.org>
 Uploaders: Free Ekanayaka <freee at debian.org>
-Build-Depends: debhelper (>= 4.0.0), dpatch, cmake, kdelibs-dev, libasound2-dev
+Build-Depends: debhelper (>= 4.0.0), dpatch, cmake, kdelibs5-dev, libasound2-dev
 Standards-Version: 3.7.2
 
 Package: kmidimon
diff --git a/debian/rules b/debian/rules
index 0cbc71c..cfa539e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ configure: configure-stamp
 configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
-	cmake .
+	cmake . -DWANT_PCH=YES -DCMAKE_INSTALL_PREFIX=/usr
 	touch configure-stamp
 
 build: build-stamp
@@ -32,6 +32,8 @@ build-stamp: patch-stamp configure-stamp
 	dh_testdir
 
 	# Add here commands to compile the package.
+	sed -i -e 's/kmidimon.docbook.1/kmidimon.1/g' \
+		build/doc/en/cmake_install.cmake
 	$(MAKE)
 	#docbook-to-man debian/kmidimon.sgml > kmidimon.1
 
@@ -45,6 +47,8 @@ clean: unpatch
 	# Add here commands to clean up after the build process.
 	-$(MAKE) clean
 	-rm -f CMakeCache.txt
+	-rm -rf CMakeFiles/ CMakeTmp/ CTestTestfile.cmake Makefile \
+		build/ cmake_install.cmake cmake_uninstall.cmake
 
 	dh_clean 
 

-- 
kmidimon packaging



More information about the pkg-multimedia-commits mailing list