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 36273e1f5d
commit 4366f6fa22

@ -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
debian/control vendored

@ -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
debian/rules vendored

@ -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