aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rosegarden/Makefile
blob: 25df28e4770445d33cd43b172da30b5e0c77c2a4 (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
# Created by: shanee@augusta.de
# $FreeBSD$

PORTNAME=   rosegarden
PORTVERSION=    16.06
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    General purpose music editor and sequencer suite

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

BUILD_DEPENDS=  dssi_osc_update:audio/dssi \
        ${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS=    libasound.so:audio/alsa-lib \
        libfftw3f.so:math/fftw3-float \
        liblrdf.so:textproc/liblrdf
RUN_DEPENDS=    dssi_osc_update:audio/dssi \
        flac:audio/flac \
        wavpack:audio/wavpack \
        xdg-open:devel/xdg-utils \
        lilypond:print/lilypond

USES=       alias cmake:outsource desktop-file-utils pkgconfig \
        shared-mime-info tar:bzip2

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE=     LIRC
OPTIONS_SINGLE=     TOOLKIT
OPTIONS_SINGLE_TOOLKIT= QT4 QT5
OPTIONS_DEFAULT=    QT4

LIRC_LIB_DEPENDS=   liblirc_client.so:comms/lirc
LIRC_CMAKE_ON=      -DENABLE_LIRC:BOOL=ON
QT4_USE=        qt4=gui,network,testlib,xml \
            qt4=linguisttools_build,moc_build,qmake_build \
            qt4=rcc_build,uic_build
QT4_CMAKE_ON=       -DUSE_QT4:BOOL=ON
QT5_USES=       compiler:c++11-lib
QT5_USE=        qt5=network,printsupport,testlib,widgets,xml \
            qt5=buildtools_build,linguisttools_build,qmake_build
QT5_CMAKE_ON=       -DUSE_QT5:BOOL=ON
TOOLKIT_DESC=       Qt toolkit

.include <bsd.port.mk>