libatomic is only needed where the compiler does not inline 64-bit
atomics, but the package depends on it on every target.
ATOMIC64_DEPENDS restricts the dependency to those targets.
Signed-off-by: Daniel Golle <redacted>
PKG_NAME:=srt
PKG_VERSION:=1.5.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/haivision/srt/tar.gz/v$(PKG_VERSION)?
define Package/srt
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:= +libstdcpp +libatomic
+ DEPENDS:=+libstdcpp $(ATOMIC64_DEPENDS)
DEPENDS += +SRT_OPENSSL:libopenssl +SRT_MBEDTLS:libmbedtls +SRT_GNUTLS:libgnutls
TITLE:=secure reliable transport
URL:=https://github.com/Haivision/srt