[Pkg-voip-commits] [ortp] 04/06: New build system

daniel at gnoutcheff.name daniel at gnoutcheff.name
Thu Jan 12 05:06:18 UTC 2017


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

gnoutchd-guest pushed a commit to branch master
in repository ortp.

commit 78bdb479cf59b139639627966d35de65c80b42ef
Author: Daniel Gnoutcheff <daniel at gnoutcheff.name>
Date:   Tue Jan 10 22:37:05 2017 -0500

    New build system
    
    * Switch from autotools to CMake
      - Replace build-deps autotools-dev, dh-autoreconf with cmake (>= 3)
    * Drop -dbg package in favor of the new -dbgsym system
    * New (upstream) build-dep: bctoolbox-dev
---
 debian/changelog |  2 +-
 debian/control   | 25 ++-----------------------
 debian/rules     | 14 ++++++--------
 3 files changed, 9 insertions(+), 32 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3445979..cde180e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ortp (1:0.24.2-1) unstable; urgency=medium
+ortp (1:0.27.0-1) unstable; urgency=medium
 
   * Initial release separate from linphone (Closes: #785522)
 
diff --git a/debian/control b/debian/control
index 41c921c..bb6906f 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Mark Purcell <msp at debian.org>, Kilian Krause <kilian at debian.org>, Tzafrir Cohen <tzafrir at debian.org>
 Build-Depends:
  debhelper (>= 9),
- autotools-dev,
- dh-autoreconf,
+ cmake (>= 3),
+ bctoolbox-dev,
  doxygen
 Standards-Version: 3.9.6
 Section: libs
@@ -50,24 +50,3 @@ Description: Development files for the ortp RTP library
  telephone events over RTP.
  .
  This package contains the development files.
-
-Package: libortp12-dbg
-Architecture: any
-Multi-Arch: same
-Section: debug
-Priority: extra
-Depends:
- libortp12 (= ${binary:Version}),
- ${misc:Depends}
-Description: Debug symbols for the ortp RTP library
- This library implements RFC 1889 (RTP) and offers an easy to
- use API with high-level and low-level access. It is part of
- Linphone.
- .
- The main features are support for multiple profiles (AV profile
- RFC 1890 being the default one); an optional packet scheduler
- for synchronizing RTP recv and send; blocking or non-blocking
- IO for RTP sessions; multiplexed IO; some of RFC 2833 for
- telephone events over RTP.
- .
- This package contains the debugging symbols.
diff --git a/debian/rules b/debian/rules
index c671873..e8d74cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,10 @@
 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@ --parallel \
-		--with autotools-dev --with autoreconf \
-		--buildsystem=autoconf
+	dh $@ --buildsystem=cmake
 
-override_dh_auto_configure:
-	dh_auto_configure -- --enable-static
-
-override_dh_strip:
-	dh_strip -plibortp12 --dbg-package=libortp12-dbg
+# As of 0.27.0, upstream has a 'build' directory.
+# Don't let that confuse us.
+.PHONY: build
+build:
+	dh $@

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



More information about the Pkg-voip-commits mailing list