summaryrefslogtreecommitdiff
path: root/audio/qjackctl/Makefile
blob: 2a75ad9801b31770cbf567856f9f5fa00a42dfd4 (plain)
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
38
39
40
41
42
43
44
45
46
PORTNAME=	qjackctl
DISTVERSIONPREFIX=	qjackctl_
DISTVERSION=	0_9_7
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Qt interface for JACK Audio Connection Kit

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libjack.so:audio/jack

USES=		cmake compiler:c++11-lib gl localbase:ldflags pkgconfig qt:5
USE_QT=		core gui network widgets x11extras xml buildtools_build linguisttools_build qmake_build
USE_GL=		gl
USE_CXXSTD=	c++11

USE_GITHUB=	yes
GH_ACCOUNT=	rncbc

OPTIONS_DEFINE=		DBUS SYSTRAY XUNIQUE
OPTIONS_DEFAULT=	DBUS SYSTRAY XUNIQUE
OPTIONS_GROUP=		AIFACE
OPTIONS_GROUP_AIFACE=	ALSA PORTAUDIO

AIFACE_DESC=		Other audio interfaces
SYSTRAY_DESC=		System tray icon support
XUNIQUE_DESC=		X11 unique/single instance

ALSA_CMAKE_BOOL=	CONFIG_ALSA_SEQ
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib

DBUS_CMAKE_BOOL=	CONFIG_DBUS
DBUS_USE=		QT=dbus

PORTAUDIO_CMAKE_BOOL=	CONFIG_PORTAUDIO
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:audio/portaudio

SYSTRAY_CMAKE_BOOL=	CONFIG_SYSTEM_TRAY

XUNIQUE_CMAKE_BOOL=	CONFIG_XUNIQUE
XUNIQUE_USES=		xorg
XUNIQUE_USE=		XORG=x11

.include <bsd.port.mk>