aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jalv/Makefile
blob: 2a77404306bc131421384b9c97ebb538da7bb2a5 (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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=   jalv
PORTVERSION=    1.6.0
CATEGORIES= audio
MASTER_SITES=   http://download.drobilla.net/

MAINTAINER= yuri@rawbw.com
COMMENT=    Simple but fully featured LV2 plugin host for Jack

LICENSE=    PD
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  lv2>=1.14.0:audio/lv2
LIB_DEPENDS=    liblilv-0.so:audio/lilv \
        libsratom-0.so:audio/sratom \
        libsuil-0.so:audio/suil \
        libjack.so:audio/jack \
        libsord-0.so:devel/sord \
        libserd-0.so:devel/serd \
        libfontconfig.so:x11-fonts/fontconfig \
        libfreetype.so:print/freetype2

USES=       compiler:c++11-lang waf tar:bz2 pkgconfig
CONFIGURE_ARGS= --no-qt4
USE_CXXSTD= c++11
USE_QT5=    core gui widgets buildtools_build
USE_GNOME=  atk atkmm cairo cairomm pango pangomm libsigc++20 \
        gdkpixbuf2 glib20 glibmm  gtk20 gtk30 gtkmm24
QT_NONSTANDARD= yes

post-patch:
        @${REINPLACE_CMD} 's|$${MANDIR}|${MAN1PREFIX}/man|' \
            ${WRKSRC}/wscript

post-install:
        @${GZIP_CMD} ${STAGEDIR}${MAN1PREFIX}/man/man1/*
        @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jalv*

.include <bsd.port.mk>