2023-02-12 00:54:15 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2023-04-01 17:52:06 +00:00
|
|
|
PKG_NAME:=mediamtx
|
2023-02-12 00:54:15 +00:00
|
|
|
PKG_VERSION:=v0.0.0
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2023-05-16 14:14:20 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/bluenviron/mediamtx
|
2023-02-12 00:54:15 +00:00
|
|
|
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
|
|
|
|
|
|
|
PKG_BUILD_DEPENDS:=golang/host
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
PKG_USE_MIPS16:=0
|
|
|
|
|
2023-05-16 14:14:20 +00:00
|
|
|
GO_PKG:=github.com/bluenviron/mediamtx
|
|
|
|
GO_PKG_LDFLAGS_X:=github.com/bluenviron/mediamtx/internal/core.version=$(PKG_VERSION)
|
2023-02-12 00:54:15 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
|
|
|
|
|
|
|
GO_MOD_ARGS:=-buildvcs=false
|
|
|
|
|
2023-04-01 17:52:06 +00:00
|
|
|
define Package/mediamtx
|
2023-02-12 00:54:15 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2023-04-01 17:52:06 +00:00
|
|
|
TITLE:=mediamtx
|
2023-05-16 14:14:20 +00:00
|
|
|
URL:=https://github.com/bluenviron/mediamtx
|
2023-02-12 00:54:15 +00:00
|
|
|
DEPENDS:=$(GO_ARCH_DEPENDS)
|
|
|
|
endef
|
|
|
|
|
2023-04-01 17:52:06 +00:00
|
|
|
define Package/mediamtx/description
|
2023-02-12 01:03:36 +00:00
|
|
|
ready-to-use server and proxy that allows users to publish, read and proxy live video and audio streams through various protocols
|
2023-02-12 00:54:15 +00:00
|
|
|
endef
|
|
|
|
|
2023-04-01 17:52:06 +00:00
|
|
|
$(eval $(call GoBinPackage,mediamtx))
|
|
|
|
$(eval $(call BuildPackage,mediamtx))
|