mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 20:35:13 +08:00
⛄ Sync 2026-09-19 19:02:49
This commit is contained in:
1 parent
3515e0fb15
commit
3074aebe7e
3 files changed
+272
No files matched your search
@@ -0,0 +1,54 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2026 ImmortalWrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=rtp2httpd
|
||||
PKG_VERSION:=3.17.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/stackia/rtp2httpd/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=skip
|
||||
|
||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immrotalwrt.org>
|
||||
PKG_LICENSE:=GPL-2.0-or-later
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/rtp2httpd
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=Multicast RTP/RTSP to Unicast HTTP stream converter
|
||||
URL:=https://rtp2httpd.com/en/
|
||||
endef
|
||||
|
||||
define Package/rtp2httpd/description
|
||||
rtp2httpd converts RTP/UDP/RTSP media into http stream.
|
||||
It acts as a tiny HTTP server. When client connect,
|
||||
pre-configured multicast RTP service is choosen by URL.
|
||||
Program then join pre-configured multicast address and translate
|
||||
incoming RTP data to HTTP stream.
|
||||
endef
|
||||
|
||||
define Package/rtp2httpd/conffiles
|
||||
/etc/config/rtp2httpd
|
||||
endef
|
||||
|
||||
CMAKE_OPTIONS += -DENABLE_AGGRESSIVE_OPT=ON
|
||||
|
||||
export RELEASE_VERSION=$(PKG_VERSION)
|
||||
|
||||
define Package/rtp2httpd/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtp2httpd $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) $(CURDIR)/files/rtp2httpd.config $(1)/etc/config/rtp2httpd
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) $(CURDIR)/files/rtp2httpd.init $(1)/etc/init.d/rtp2httpd
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,rtp2httpd))
|
||||
Reference in new issue
Block a user