aboutsummaryrefslogtreecommitdiffstats
path: root/audio/guitarix-lv2/Makefile
blob: cf37d1eae0f227dc6eae2ae8d4e24b40ae0bf59a (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# $FreeBSD$

PORTNAME=   guitarix
DISTVERSION=    0.37.1
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/
PKGNAMESUFFIX=  -lv2
DISTNAME=   ${PORTNAME}2-${DISTVERSION}

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Virtual versatile amplification for Jack and set of LV2 plugins

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

BROKEN_aarch64=     fails to compile: unknown FP unit 'sse'
BROKEN_armv6=       fails to compile: unknown FP unit 'sse'
BROKEN_armv7=       fails to compile: unknown FP unit 'sse'
BROKEN_powerpc64=   fails to compile: unknown FP unit 'sse'

BUILD_DEPENDS=  lv2>0:audio/lv2 \
        ${LOCALBASE}/include/fftw3.h:math/fftw3 \
        roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \
        ladspa>0:audio/ladspa # https://sourceforge.net/p/guitarix/bugs/61/
LIB_DEPENDS=    libavahi-common.so:net/avahi-app \
        libboost_system.so:devel/boost-libs \
        libfftw3f.so:math/fftw3-float \
        libfontconfig.so:x11-fonts/fontconfig \
        libfreetype.so:print/freetype2 \
        libjack.so:audio/jack \
        liblilv-0.so:audio/lilv \
        liblrdf.so:textproc/liblrdf \
        libserd-0.so:devel/serd \
        libsndfile.so:audio/libsndfile \
        libsord-0.so:devel/sord \
        libsratom-0.so:audio/sratom \
        libzita-convolver.so:audio/zita-convolver \
        libzita-resampler.so:audio/zita-resampler
RUN_DEPENDS=    roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf

USES=       eigen:3 libarchive localbase:ldflags pkgconfig \
        python:build readline waf tar:xz
USE_GNOME=  atkmm cairo gtk20 gtkmm24 pangomm
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --enable-lfs --ldflags="${LDFLAGS}"

WRKSRC=     ${WRKDIR}/${PORTNAME}-${DISTVERSION}
BINARY_ALIAS=   python=${PYTHON_CMD}

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

NLS_CONFIGURE_ENABLE=   nls
NLS_USES=   gettext
NLS_USE=    GNOME=intltool

post-stage: # https://sourceforge.net/p/guitarix/bugs/60/
    @${RM} -r ${STAGEDIR}/applications

.include <bsd.port.mk>