rtp2httpd icon indicating copy to clipboard operation
rtp2httpd copied to clipboard

action来编译openwrt

Open LIUBANGJIAN opened this issue 1 year ago • 7 comments

大佬,我有用github的action来编译openwrt,我想把插件编译到到里面去,是添加个软件源吗?

https://github.com/stackia/rtp2httpd/tree/465a3dffab08b58b050bc8a713a9765af1a4c413/openwrt-support

CONFIG_PACKAGE_luci-app-rtp2httpd=y

请问是这样设置吗?

LIUBANGJIAN avatar Oct 11 '25 01:10 LIUBANGJIAN

是的,openwrt-support 这个目录可以作为软件源直接加入到 openwrt 的 feeds.conf.default 里面

stackia avatar Oct 11 '25 07:10 stackia

是的,openwrt-support 这个目录可以作为软件源直接加入到 openwrt 的 feeds.conf.default 里面

大白一个,本地编译,在feeds.conf.default 里面添加 src-git rtp2httpd https://github.com/stackia/rtp2httpd/tree/465a3dffab08b58b050bc8a713a9765af1a4c413/openwrt-support

结果出现如下 致命错误:仓库 'https://github.com/stackia/rtp2httpd/tree/465a3dffab08b58b050bc8a713a9765af1a4c413/openwrt-support/' 未找到

请问大佬,如何添加呢?

xuecqcn avatar Oct 28 '25 10:10 xuecqcn

看了下目前应该还是不支持直接添加到 feeds.conf.default 里面去用

需要你们自己给 Makefile 做一些 patch,带上

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/stackia/rtp2httpd.git
PKG_SOURCE_VERSION:=main

例如 https://github.com/smdx/rtp2httpd/blob/main/Makefile

stackia avatar Oct 28 '25 10:10 stackia

只能等大佬,后续优化了。

LIUBANGJIAN avatar Oct 30 '25 11:10 LIUBANGJIAN

https://github.com/stackia/rtp2httpd/blob/main/docs/installation.md#openwrt-%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85

现在已经支持直接使用本仓库提供的 openwrt Makefile。

stackia avatar Oct 30 '25 22:10 stackia

谢谢大佬,不断完善,并且耐心解答,教程很细,我这样的白痴也能看懂

xuecqcn avatar Oct 31 '25 01:10 xuecqcn

主要是大佬,更新频率太高了,不是在写代码就是在写代码。

LIUBANGJIAN avatar Oct 31 '25 08:10 LIUBANGJIAN