Skip to content

Commit e728882

Browse files
committed
test ci
1 parent e5f3502 commit e728882

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.github/workflows/release-ipk.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
name: ${{ matrix.arch }} build
10+
name: ${{ matrix.arch }}-${{ matrix.sdk }}
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
@@ -19,6 +19,9 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22+
- name: Move src to openwrt-support
23+
run: mv openwrt-support ../ && mkdir ../openwrt-support/rtp2httpd/src && mv ./* ../openwrt-support/rtp2httpd/src && mv ../openwrt-support ./
24+
2225
- name: Build
2326
uses: openwrt/gh-action-sdk@v7
2427
env:
@@ -30,5 +33,5 @@ jobs:
3033
- name: Store packages
3134
uses: actions/upload-artifact@v4
3235
with:
33-
name: ${{ matrix.arch}}-packages
34-
path: bin/packages/${{ matrix.arch }}/packages/*.ipk
36+
name: ${{ matrix.arch }}-${{ matrix.sdk }}-packages
37+
path: bin/packages/${{ matrix.arch }}/action/*.ipk

openwrt-support/rtp2httpd/Makefile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,23 @@ PKG_FIXUP:=autoreconf
1111
include $(INCLUDE_DIR)/package.mk
1212

1313
define Package/rtp2httpd
14-
SECTION:=net
15-
CATEGORY:=Network
14+
SECTION:=net
15+
CATEGORY:=Network
1616
TITLE:=Convert multicast RTP/UDP IPTV streams into HTTP streams with FCC support
17-
URL:=https://github.com/stackia/rtp2httpd
17+
URL:=https://github.com/stackia/rtp2httpd
1818
endef
1919

2020
define Package/rtp2httpd/description
21-
rtp2httpd converts multicast RTP/UDP media into http stream.
21+
rtp2httpd converts multicast RTP/UDP media into http stream.
2222
It acts as a tiny HTTP server. When client connect,
2323
pre-configured multicast RTP service is choosen by URL.
2424
Program then join pre-configured multicast address and translate
2525
incoming RTP data to HTTP stream.
2626
endef
2727

28-
define Build/Configure
29-
$(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
30-
endef
31-
3228
define Package/rtp2httpd/install
33-
$(INSTALL_DIR) $(1)/usr/sbin
34-
$(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
29+
$(INSTALL_DIR) $(1)/usr/bin/
30+
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rtp2httpd $(1)/usr/bin
3531
endef
3632

3733
$(eval $(call BuildPackage,rtp2httpd))

openwrt-support/rtp2httpd/src

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)