Lines 6-41
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dssi |
8 |
PORTNAME= dssi |
9 |
PORTVERSION= 1.1.0 |
9 |
PORTVERSION= 1.1.1 |
10 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
11 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
12 |
|
12 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= API for audio processing plugins |
14 |
COMMENT= API for audio processing plugins |
15 |
|
15 |
|
|
|
16 |
LICENSE= BSD LGPL21 |
17 |
LICENSE_COMB= multi |
18 |
|
19 |
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
16 |
LIB_DEPENDS= dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \ |
20 |
LIB_DEPENDS= dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \ |
17 |
lo.7:${PORTSDIR}/audio/liblo \ |
21 |
lo.7:${PORTSDIR}/audio/liblo \ |
18 |
jack.0:${PORTSDIR}/audio/jack \ |
22 |
samplerate.1:${PORTSDIR}/audio/libsamplerate \ |
19 |
sndfile.1:${PORTSDIR}/audio/libsndfile \ |
23 |
sndfile.1:${PORTSDIR}/audio/libsndfile \ |
20 |
samplerate.1:${PORTSDIR}/audio/libsamplerate |
24 |
jack.0:${PORTSDIR}/audio/jack |
21 |
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
|
|
22 |
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
25 |
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
23 |
|
26 |
|
24 |
GNU_CONFIGURE= yes |
27 |
OPTIONS= QT "Enable Qt4 support" off |
25 |
CFLAGS+= -I${LOCALBASE}/include |
28 |
|
26 |
USE_GMAKE= yes |
|
|
27 |
USE_GNOME= gnomehack |
29 |
USE_GNOME= gnomehack |
28 |
MAN1= dssi_osc_send.1 dssi_osc_update.1 jack-dssi-host.1 \ |
30 |
USE_GMAKE= yes |
29 |
dssi_analyse_plugin.1 dssi_list_plugins.1 |
31 |
GNU_CONFIGURE= yes |
|
|
32 |
MAKE_JOBS_SAFE= yes |
33 |
|
34 |
CPPFLAGS+= -I${LOCALBASE}/include |
35 |
LDFLAGS+= -L${LOCALBASE}/lib |
36 |
|
37 |
MAN1= dssi_analyse_plugin.1 dssi_list_plugins.1 dssi_osc_send.1 \ |
38 |
dssi_osc_update.1 jack-dssi-host.1 |
39 |
|
40 |
.include <bsd.port.options.mk> |
30 |
|
41 |
|
31 |
.if defined(WITH_QT) |
42 |
.if defined(WITH_QT) |
32 |
USE_QT_VER= 3 |
43 |
USE_QT_VER= 4 |
33 |
PLIST_SUB= WITH_QT="" |
44 |
QT_COMPONENTS= corelib gui |
|
|
45 |
QT_NONSTANDARD= yes |
46 |
PLIST_SUB= QT="" |
34 |
.else |
47 |
.else |
35 |
PLIST_SUB= WITH_QT="@comment " |
48 |
PLIST_SUB= QT="@comment " |
36 |
.endif |
49 |
.endif |
37 |
|
50 |
|
38 |
post-extract: |
51 |
post-patch: |
39 |
@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/examples/Makefile.in |
52 |
@${REINPLACE_CMD} -e \ |
|
|
53 |
'/^lts_uidir/s|^|@HAVE_QT_TRUE@| ; \ |
54 |
/^trivial_sampler_uidir/s|^|@HAVE_QT_TRUE@| ; \ |
55 |
s|-ldl$$||' ${WRKSRC}/examples/Makefile.in |
56 |
@${REINPLACE_CMD} -e \ |
57 |
's|-ldl$$||' ${WRKSRC}/jack-dssi-host/Makefile.in |
58 |
@${REINPLACE_CMD} -e \ |
59 |
'/alsa >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure |
60 |
.if !defined(WITH_QT) |
61 |
@${REINPLACE_CMD} -e \ |
62 |
'/QtCore >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure |
63 |
.endif |
40 |
|
64 |
|
41 |
.include <bsd.port.mk> |
65 |
.include <bsd.port.mk> |