ROC_VERSION=0.4.0 ROC_SOURCE=v${ROC_VERSION}.tar.gz ROC_SITE=https://github.com/roc-streaming/roc-toolkit/archive/refs/tags ROC_LICENCE=Mozilla Public License, version 2.0 ROC_LICENSE_FILES = LICENCE ROC_DEPENDENCIES = \ libopenssl \ libuv \ libunwind \ speexdsp \ libsndfile \ host-ragel \ host-scons \ host-gengetopt \ host-pkgconf #ROC_CONF_OPTS += -Dlibpulse=enabled ROC_INSTALL_STAGING = NO ifneq ($(BR2_PACKAGE_ROC_TOOLS),y) ROC_DEPENDENCIES += sox ROC_DEPENDENCIES += pulseaudio ROC_CONF_OPTS += --disable-tools endif ifneq ($(BR2_PACKAGE_ROC_LIB),y) ROC_CONF_OPTS += --disable-shared endif define ROC_BUILD_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) $(SCONS) \ $(ROC_CONF_OPTS) \ --prefix=$(TARGET_DIR) \ -Q \ --build-3rdparty=openfec ) endef define ROC_INSTALL_TARGET_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) $(SCONS) \ $(ROC_CONF_OPTS) \ --prefix=$(TARGET_DIR) \ --incdir=$(HOST_DIR)/include \ -Q \ --build-3rdparty=openfec \ install) endef $(eval $(generic-package))