diff --git a/Makefile b/Makefile index de6c12e2d..0d1030290 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,5 @@ RTPENGINE_ROOT_DIR=. with_transcoding ?= yes -ifneq ($(DEB_WITH_TRANSCODING),) -with_transcoding = $(DEB_WITH_TRANSCODING) -endif include lib/lib.Makefile diff --git a/debian/control b/debian/control index 06a56760d..02b77fc87 100644 --- a/debian/control +++ b/debian/control @@ -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: Recommends: ngcp-rtpengine-utils, Suggests: diff --git a/debian/rules b/debian/rules index 83dbf34b2..2926441e1 100755 --- a/debian/rules +++ b/debian/rules @@ -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 $@