summaryrefslogtreecommitdiff
path: root/audio/luppp/Makefile
blob: 4e1eec745f1a6b9c0e3227a279123e8f966f08b2 (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

PORTNAME=	luppp
DISTVERSIONPREFIX=	release-
DISTVERSION=	1.2.1
PORTREVISION=	2
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Live looping music creation tool

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libjack.so:audio/jack \
		liblo.so:audio/liblo \
		libntk.so:x11-toolkits/ntk \
		libsamplerate.so:audio/libsamplerate \
		libsndfile.so:audio/libsndfile

USES=		cmake compiler:c++11-lang gnome pkgconfig xorg
USE_GITHUB=	yes
GH_ACCOUNT=	openAVproductions
GH_PROJECT=	openAV-Luppp
USE_GNOME=	cairo
USE_XORG=	x11

PLIST_FILES=	bin/luppp

post-patch:
	@${REINPLACE_CMD} -e ' \
		s|execute_process(COMMAND git log --oneline -n1|execute_process(COMMAND echo "n/a"|' \
		${WRKSRC}/CMakeLists.txt
	@${REINPLACE_CMD} -e ' \
		s| -O3||; \
		s| -g||; \
		s|"x86_64"|"amd64"|' \
		${WRKSRC}/src/CMakeLists.txt

.include <bsd.port.mk>