Browse Source

TT#99001 Make the with_transcoding builds dependent on build-profiles

When we disable transcoding we should completely disable building the
rtpengine-recording daemon packages too. We accomplish that by using a
build-profile.

This also removes the Debianism from the upstream build system and moves
the setting to the Debian packaging.

Change-Id: Idf7783823d36b49ce03610fb1f4386afe5887029
pull/1194/head
Guillem Jover 5 years ago
parent
commit
4366f6fa22
3 changed files with 5 additions and 3 deletions
  1. +0
    -3
      Makefile
  2. +1
    -0
      debian/control
  3. +4
    -0
      debian/rules

+ 0
- 3
Makefile View File

@ -1,8 +1,5 @@
RTPENGINE_ROOT_DIR=.
with_transcoding ?= yes
ifneq ($(DEB_WITH_TRANSCODING),)
with_transcoding = $(DEB_WITH_TRANSCODING)
endif
include lib/lib.Makefile


+ 1
- 0
debian/control View File

@ -58,6 +58,7 @@ Description: proxy for RTP and media streams used in NGCP, userspace part
Package: ngcp-rtpengine-recording-daemon
Architecture: any
Build-Profiles: <!pkg.ngcp-rtpengine.no-transcoding>
Recommends:
ngcp-rtpengine-utils,
Suggests:


+ 4
- 0
debian/rules View File

@ -21,6 +21,10 @@ PACKAGE=ngcp-rtpengine-kernel
XTABLES_DIR:=$(shell pkg-config xtables --variable=xtlibdir || echo /lib/xtables)
ifneq (,$(filter $(DEB_BUILD_PROFILES),pkg.ngcp-rtpengine.no-transcoding))
export with_transcoding = no
endif
%:
dh $@


Loading…
Cancel
Save