catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
327 stars 80 forks source link

Add FreeBSD support #970

Closed decke closed 2 years ago

decke commented 2 years ago

Thanks a lot for that really nice project! During one of the lockdowns in 2020 I played around with minisatip on FreeBSD and created a few patches to get it compile properly. The submitted patches are from that time but it took me quite long to finally upstream them because minisatip compiles, starts fine, detects an adapter and the webui works but I cannot seem to get a stream. I still need to figure out why and fix it.

Compiling on FreeBSD works like this:

./configure
gmake EXTRA_CFLAGS=-I/usr/local/include EXTRA_LDFLAGS=-L/usr/local/lib

I also created a FreeBSD port for minisatip so users might prefer to do:

pkg add minisatip

Port: https://cgit.freebsd.org/ports/tree/multimedia/minisatip

catalinii commented 2 years ago

This seems safe to merge. Feel free to create an issue and upload logs: ./minisatip -f -l http

decke commented 2 years ago

I created a new test setup with FreeBSD 13.1/amd64, webcamd 5.17.1.0 and minisatip 1.2.1 and it works like a charm. Thanks a lot for merging!