aboutsummaryrefslogtreecommitdiff
path: root/comms/airspy/Makefile
blob: 4f2aaefd044c503d35e7a71016bc3d94ea47170c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $FreeBSD$

PORTNAME=	airspy
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.9-18
DISTVERSIONSUFFIX=	-gbfb6670
PORTREVISION=	1
CATEGORIES=	comms hamradio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	AirSpy's usemode driver and associated tools

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/airspy-tools/LICENSE.md

BROKEN_aarch64=		fails to compile: invalid conversion between vector type '__m64' and integer type 'int'

USES=		cmake pkgconfig
USE_GITHUB=	yes
GH_PROJECT=	airspyone_host
USE_LDCONFIG=	yes

CMAKE_OFF=	INSTALL_UDEV_RULES
CMAKE_ARGS=	-DLIBUSB_LIBRARIES="/usr/lib/libusb.so"

OPTIONS_DEFINE_amd64=	SIMD
OPTIONS_DEFINE_i386=	SIMD
OPTIONS_DEFAULT_amd64=	SIMD
OPTIONS_DEFAULT_i386=	SIMD

SIMD_CFLAGS=	-DFREEBSD_USE_SIMD -msse -msse2 -mfpmath=sse -mmmx

.include <bsd.port.mk>