mirror of
				https://github.com/AlexxIT/go2rtc.git
				synced 2025-10-31 11:46:26 +08:00 
			
		
		
		
	Merge pull request #1223 from robvanoostenrijk/freebsd-builds
FreeBSD Binaries (Attempt #2)
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| go2rtc.yaml | ||||
| go2rtc.json | ||||
|  | ||||
| go2rtc_freebsd* | ||||
| go2rtc_linux* | ||||
| go2rtc_mac* | ||||
| go2rtc_win* | ||||
|   | ||||
| @@ -126,6 +126,8 @@ Download binary for your OS from [latest release](https://github.com/AlexxIT/go2 | ||||
| - `go2rtc_linux_mipsel` - Linux MIPS (ex. [Xiaomi Gateway 3](https://github.com/AlexxIT/XiaomiGateway3), [Wyze cameras](https://github.com/gtxaspec/wz_mini_hacks)) | ||||
| - `go2rtc_mac_amd64.zip` - macOS 10.13+ Intel 64-bit | ||||
| - `go2rtc_mac_arm64.zip` - macOS ARM 64-bit | ||||
| - `go2rtc_freebsd_amd64.zip` - FreeBSD 64-bit | ||||
| - `go2rtc_freebsd_arm64.zip` - FreeBSD ARM 64-bit | ||||
|  | ||||
| Don't forget to fix the rights `chmod +x go2rtc_xxx_xxx` on Linux and Mac. | ||||
|  | ||||
|   | ||||
| @@ -61,3 +61,13 @@ go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc | ||||
| @SET GOARCH=arm64 | ||||
| @SET FILENAME=go2rtc_mac_arm64.zip | ||||
| go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc | ||||
|  | ||||
| @SET GOOS=freebsd | ||||
| @SET GOARCH=amd64 | ||||
| @SET FILENAME=go2rtc_freebsd_amd64.zip | ||||
| go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc | ||||
|  | ||||
| @SET GOOS=freebsd | ||||
| @SET GOARCH=arm64 | ||||
| @SET FILENAME=go2rtc_freebsd_arm64.zip | ||||
| go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel %FILENAME% go2rtc | ||||
|   | ||||
| @@ -80,3 +80,15 @@ export GOOS=darwin | ||||
| export GOARCH=arm64 | ||||
| FILENAME="go2rtc_mac_arm64.zip" | ||||
| go build -ldflags "-s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc | ||||
|  | ||||
| # FreeBSD amd64 | ||||
| export GOOS=freebsd | ||||
| export GOARCH=amd64 | ||||
| FILENAME="go2rtc_freebsd_amd64.zip" | ||||
| go build -ldflags "-s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc | ||||
|  | ||||
| # FreeBSD arm64 | ||||
| export GOOS=freebsd | ||||
| export GOARCH=arm64 | ||||
| FILENAME="go2rtc_freebsd_arm64.zip" | ||||
| go build -ldflags "-s -w" -trimpath && 7z a -mx9 -bso0 -sdel $FILENAME go2rtc | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex X
					Alex X