aboutsummaryrefslogtreecommitdiff
path: root/audio/qmidiarp/Makefile
blob: 9ad98a4f3c380a9934fe162a679c381b360c4359 (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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=	qmidiarp
DISTVERSIONPREFIX=	qmidiarp-
DISTVERSION=	0.6.4-26
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g1a15c13
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	MIDI arpeggiator, sequencer and LFO for JACK

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	lv2>0:audio/lv2
LIB_DEPENDS=	libasound.so:audio/alsa-lib \
		liblo.so:audio/liblo \
		libjack.so:audio/jack

PORTSCOUT=	limit:^qmidiarp

USES=		autoreconf compiler:c++11-lib desktop-file-utils \
		gmake localbase libtool pkgconfig qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	emuse
USE_QT=		core gui network widgets buildtools_build \
		linguisttools_build
USE_CXXSTD=	c++11
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-qt5 --enable-translations=yes
INSTALLS_ICONS=	yes

OPTIONS_DEFINE=	NLS LV2
OPTIONS_DEFAULT=LV2
OPTIONS_SUB=	yes
LV2_DESC=	Build and install LV2 plugins
LV2_CONFIGURE_OFF=	--disable-lv2plugins
NLS_CONFIGURE_ON=	--enable-translations

post-install-LV2-on:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/qmidiarp_[lsa][fer][oqp].lv2/*.so

.include <bsd.port.mk>