summaryrefslogtreecommitdiff
path: root/audio/fabla2-lv2/Makefile
blob: 7f6c950d2be31160a758c31dd23c56b1306bd443 (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
# $FreeBSD$

PORTNAME=	fabla2
DISTVERSION=	g20180331
CATEGORIES=	audio
PKGNAMESUFFIX=	-lv2

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Sampler with multiple layers, banks, pads, integrated FX and routing

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	lv2>0:audio/lv2
LIB_DEPENDS=	libsamplerate.so:audio/libsamplerate \
		libsndfile.so:audio/libsndfile

USES=		cmake compiler:c++11-lang gnome pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	openAVproductions
GH_PROJECT=	openAV-Fabla2
GH_TAGNAME=	33f4062
USE_GNOME=	cairo
USE_XORG=	x11

CFLAGS+=	-I${FILESDIR}

PLIST_FILES=	lib/lv2/fabla2.lv2/fabla2.so \
		lib/lv2/fabla2.lv2/fabla2.ttl \
		lib/lv2/fabla2.lv2/fabla2ui.so \
		lib/lv2/fabla2.lv2/manifest.ttl

post-patch:
	@${REINPLACE_CMD} -e 's|GLOB srcUI  |GLOB srcUI  ${FILESDIR}/mntent_compat.c++ |' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>