summaryrefslogtreecommitdiff
path: root/audio/qjackctl/Makefile
blob: 341c0d2e9b82cc7f880010185c527e8c6747cc7c (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
38
39
40
41
42
43
44
45
46
47
48
49
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$

PORTNAME=	qjackctl
DISTVERSIONPREFIX=	qjackctl_
DISTVERSION=	0_5_2
CATEGORIES=	audio

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

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

LIB_DEPENDS=	libjack.so:audio/jack

USES=		autoreconf compiler:c++11-lib gmake localbase pkgconfig
GNU_CONFIGURE=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	rncbc
USE_QT5=	core gui widgets x11extras xml buildtools_build linguisttools_build qmake_build
USE_GL=		gl
USE_CXXSTD=	c++11

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
TOOLKIT_DESC=		Qt toolkit
XUNIQUE_DESC=		X11 unique/single instance

ALSA_CONFIGURE_ENABLE=	alsa_seq
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib

DBUS_CONFIGURE_ENABLE=	dbus
DBUS_USE=		QT5=dbus

PORTAUDIO_CONFIGURE_ENABLE=	portaudio
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:audio/portaudio

SYSTRAY_CONFIGURE_ENABLE=	system-tray

XUNIQUE_CONFIGURE_ENABLE=	xunique
XUNIQUE_USE=			XORG=x11

.include <bsd.port.mk>