aboutsummaryrefslogtreecommitdiff
path: root/audio/a2jmidid/Makefile
blob: fa6d8eebf2d594213e12c655b5bacd9b4603befa (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
34
35
36
37
PORTNAME=	a2jmidid
PORTVERSION=	9
PORTREVISION=	2
CATEGORIES=	audio

MAINTAINER=	hselasky@FreeBSD.org
COMMENT=	ALSA to JACK MIDI bridge
WWW=		https://github.com/jackaudio/a2jmidid

LICENSE=	GPLv2+

LIB_DEPENDS=	libasound.so:audio/alsa-lib \
		libjack.so:audio/jack

USES=		meson pkgconfig python:env shebangfix tar:bzip2 uidfix
SHEBANG_FILES=	a2j_control

USE_GITHUB=	yes
GH_ACCOUNT=	jackaudio

OPTIONS_DEFINE=	DBUS DEBUG
OPTIONS_DEFAULT= DBUS

OPTIONS_SUB=	yes

DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_MESON_OFF=	"-Ddisable-dbus=true"

DEBUG_CFLAGS= "-DDEBUG"

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc64 || ${ARCH} == riscv64
MESON_ARGS+=	-Db_lto=false
.endif

.include <bsd.port.mk>