aboutsummaryrefslogtreecommitdiffstats
path: root/audio/luppp/Makefile
blob: d2f5f21a37c78088175dc884f2965c72caf63c43 (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
# $FreeBSD$

PORTNAME=   luppp
DISTVERSIONPREFIX=  release-
DISTVERSION=    1.2.0
PORTREVISION=   1
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:outsource compiler:c++11-lang gnome pkgconfig
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>