File tree Expand file tree Collapse file tree 4 files changed +26
-1
lines changed
Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 44go2rtc.yaml
55go2rtc.json
66
7+ go2rtc_freebsd *
78go2rtc_linux *
89go2rtc_mac *
910go2rtc_win *
Original file line number Diff line number Diff line change @@ -126,6 +126,8 @@ Download binary for your OS from [latest release](https://github.com/AlexxIT/go2
126126- ` go2rtc_linux_mipsel ` - Linux MIPS (ex. [ Xiaomi Gateway 3] ( https://github.com/AlexxIT/XiaomiGateway3 ) , [ Wyze cameras] ( https://github.com/gtxaspec/wz_mini_hacks ) )
127127- ` go2rtc_mac_amd64.zip ` - macOS 10.13+ Intel 64-bit
128128- ` go2rtc_mac_arm64.zip ` - macOS ARM 64-bit
129+ - ` go2rtc_freebsd_amd64.zip ` - FreeBSD 64-bit
130+ - ` go2rtc_freebsd_arm64.zip ` - FreeBSD ARM 64-bit
129131
130132Don't forget to fix the rights ` chmod +x go2rtc_xxx_xxx ` on Linux and Mac.
131133
Original file line number Diff line number Diff line change @@ -61,3 +61,13 @@ go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc
6161@ SET GOARCH = arm64
6262@ SET FILENAME = go2rtc_mac_arm64.zip
6363go build -ldflags " -s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc
64+
65+ @ SET GOOS = freebsd
66+ @ SET GOARCH = amd64
67+ @ SET FILENAME = go2rtc_freebsd_amd64.zip
68+ go build -ldflags " -s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc
69+
70+ @ SET GOOS = freebsd
71+ @ SET GOARCH = arm64
72+ @ SET FILENAME = go2rtc_freebsd_arm64.zip
73+ go build -ldflags " -s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc
Original file line number Diff line number Diff line change @@ -79,4 +79,16 @@ go build -ldflags "-s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc
7979export GOOS=darwin
8080export GOARCH=arm64
8181FILENAME=" go2rtc_mac_arm64.zip"
82- go build -ldflags " -s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc
82+ go build -ldflags " -s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc
83+
84+ # FreeBSD amd64
85+ export GOOS=freebsd
86+ export GOARCH=amd64
87+ FILENAME=" go2rtc_freebsd_amd64.zip"
88+ go build -ldflags " -s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc
89+
90+ # FreeBSD arm64
91+ export GOOS=freebsd
92+ export GOARCH=arm64
93+ FILENAME=" go2rtc_freebsd_arm64.zip"
94+ go build -ldflags " -s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc
You can’t perform that action at this time.
0 commit comments