mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
comms/libfobos: New port: RigExpert Fobos SDR API
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
SUBDIR += libdc
|
||||
SUBDIR += libfap
|
||||
SUBDIR += libfec
|
||||
SUBDIR += libfobos
|
||||
SUBDIR += libimobiledevice
|
||||
SUBDIR += libimobiledevice-glue
|
||||
SUBDIR += libirman
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
PORTNAME= libfobos
|
||||
DISTVERSIONPREFIX= v.
|
||||
DISTVERSION= 2.3.1
|
||||
CATEGORIES= comms hamradio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= RigExpert Fobos SDR API
|
||||
WWW= https://github.com/AlexandreRouma/SDRPlusPlus
|
||||
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cmake dos2unix
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rigexpert
|
||||
|
||||
DOS2UNIX= fobos/fobos.c
|
||||
|
||||
LDFLAGS+= -lusb
|
||||
|
||||
PLIST_FILES= include/fobos.h \
|
||||
lib/libfobos.so \
|
||||
libdata/pkgconfig/libfobos.pc
|
||||
|
||||
post-install:
|
||||
${RM} -r ${STAGEDIR}/etc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1730682108
|
||||
SHA256 (rigexpert-libfobos-v.2.3.1_GH0.tar.gz) = f3ba9561de1b9ede8e1ec0726850020495eaace0bf33f22da31036287a3ce56e
|
||||
SIZE (rigexpert-libfobos-v.2.3.1_GH0.tar.gz) = 186484
|
||||
@@ -0,0 +1,11 @@
|
||||
--- fobos/fobos.c.orig 2024-11-04 01:02:42 UTC
|
||||
+++ fobos/fobos.c
|
||||
@@ -26,7 +26,7 @@
|
||||
#pragma comment(lib, "libusb-1.0.lib")
|
||||
#define printf_internal _cprintf
|
||||
#else
|
||||
-#include <libusb-1.0/libusb.h>
|
||||
+#include <libusb.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifndef printf_internal
|
||||
@@ -0,0 +1,2 @@
|
||||
libfobos is the Fobos SDR receiver host software API shared library.
|
||||
It is lightweight and easy to start.
|
||||
Reference in New Issue
Block a user