Browse Source

contrib: srt: disable build if license is not matched

We need nettle and gmp and they can't be used with the LGPLv2 license.
pull/162/head
Steve Lhomme 3 years ago
parent
commit
82faf7932a
  1. 11
      contrib/src/srt/rules.mak

11
contrib/src/srt/rules.mak

@ -3,9 +3,20 @@
SRT_VERSION := 1.4.4
SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
# gnutls (nettle/gmp) can't be used with the LGPLv2 license
ifdef GPL
SRT_PKG=1
else
ifdef GNUV3
SRT_PKG=1
endif
endif
ifdef BUILD_NETWORK
ifdef SRT_PKG
PKGS += srt
endif
endif
ifeq ($(call need_pkg,"srt >= 1.3.2"),)
PKGS_FOUND += srt

Loading…
Cancel
Save