2023-01-11 12:24:07 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# roc-toolkit
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-04-07 12:48:03 +02:00
|
|
|
ROC_TOOLKIT_VERSION = 767b88ed8ffe8cfae96bfef2f5502c39f1bdf0f9
|
2023-01-11 12:24:07 +01:00
|
|
|
ROC_TOOLKIT_SITE = $(call github,roc-streaming,roc-toolkit,$(ROC_TOOLKIT_VERSION))
|
|
|
|
ROC_TOOLKIT_LICENSE = MPL-2.0
|
|
|
|
ROC_TOOLKIT_LICENSE_FILES = LICENSE
|
|
|
|
ROC_TOOLKIT_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
ROC_TOOLKIT_DEPENDENCIES = \
|
|
|
|
host-scons \
|
|
|
|
host-pkgconf \
|
|
|
|
host-ragel \
|
2023-04-25 16:18:00 +02:00
|
|
|
host-gengetopt \
|
2023-01-11 12:24:07 +01:00
|
|
|
gst1-libav \
|
|
|
|
libunwind \
|
|
|
|
openfec \
|
|
|
|
speexdsp \
|
|
|
|
sox \
|
2023-12-19 15:02:11 +01:00
|
|
|
pulseaudio \
|
|
|
|
libuv
|
2023-01-11 12:24:07 +01:00
|
|
|
|
|
|
|
define ROC_TOOLKIT_BUILD_CMDS
|
|
|
|
(cd $(@D); \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
|
|
|
|
$(SCONS) $(ROCTOOLKIT__SCONS_OPTS))
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ROC_TOOLKIT_INSTALL_STAGING_CMDS
|
|
|
|
(cd $(@D); \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
|
|
|
|
$(SCONS) --prefix="$(STAGING_DIR)/usr" install)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ROC_TOOLKIT_INSTALL_TARGET_CMDS
|
|
|
|
(cd $(@D); \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
|
|
|
|
$(SCONS) --prefix="$(TARGET_DIR)/usr" install)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|