Lines 1-78
Link Here
|
1 |
# Created by: Tilman Linneweh <arved@FreeBSD.org> |
|
|
2 |
|
3 |
PORTNAME= jackit |
1 |
PORTNAME= jackit |
4 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 1.9.16 |
3 |
DISTVERSION= 1.9.20 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= audio |
4 |
CATEGORIES= audio |
8 |
|
5 |
|
9 |
MAINTAINER= multimedia@FreeBSD.org |
6 |
MAINTAINER= dev@submerge.ch |
10 |
COMMENT= Low latency audio server |
7 |
COMMENT= Low latency audio server |
11 |
|
8 |
|
12 |
LICENSE= GPLv2 LGPL21 |
9 |
LICENSE= GPLv2 LGPL21 |
13 |
LICENSE_COMB= multi |
10 |
LICENSE_COMB= multi |
14 |
|
11 |
|
15 |
LIB_DEPENDS= libsndfile.so:audio/libsndfile \ |
12 |
LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ |
16 |
libsamplerate.so:audio/libsamplerate \ |
|
|
17 |
libsysinfo.so:devel/libsysinfo |
13 |
libsysinfo.so:devel/libsysinfo |
18 |
|
14 |
|
19 |
USES= compiler:c11 pkgconfig python:3.4+ shebangfix waf |
15 |
USES= compiler:c11 pkgconfig python:3.4+ shebangfix waf |
20 |
USE_LDCONFIG= yes |
16 |
USE_LDCONFIG= yes |
21 |
USE_RC_SUBR= jackd |
17 |
USE_RC_SUBR= jackd |
22 |
|
18 |
|
23 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
24 |
GH_ACCOUNT= 0EVSG |
20 |
GH_ACCOUNT= jackaudio |
25 |
GH_PROJECT= jack2 |
21 |
GH_PROJECT= jack2 |
26 |
GH_TAGNAME= eaedec353489f26617221d66f80fd2503953c663 |
|
|
27 |
|
22 |
|
28 |
CFLAGS+= -fPIC |
23 |
CFLAGS+= -fPIC |
29 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
30 |
|
25 |
|
31 |
SHEBANG_FILES= tools/jack_control |
26 |
SHEBANG_FILES= dbus/jack_control |
32 |
SHEBANG_LANG= python3 |
27 |
SHEBANG_LANG= python3 |
33 |
|
28 |
|
34 |
CONFIGURE_ARGS= --celt=no --sndfile=yes --samplerate=yes |
29 |
CONFIGURE_ARGS= --celt=no --sndfile=no --samplerate=yes \ |
|
|
30 |
--readline=no --example-tools=no |
35 |
|
31 |
|
36 |
OPTIONS_DEFINE= ALSA DBUS READLINE OPUS PROFILING |
32 |
OPTIONS_DEFINE= ALSA DBUS OPUS PROFILING |
37 |
OPTIONS_DEFAULT= DBUS READLINE OPUS |
33 |
OPTIONS_DEFAULT= DBUS OPUS |
38 |
OPTIONS_SUB= yes |
34 |
OPTIONS_SUB= yes |
39 |
|
35 |
|
40 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
36 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
41 |
ALSA_CONFIGURE_OFF= --alsa=no |
37 |
ALSA_CONFIGURE_OFF= --alsa=no |
42 |
ALSA_CONFIGURE_ON= --alsa=yes |
38 |
ALSA_CONFIGURE_ON= --alsa=yes |
43 |
|
39 |
|
44 |
DBUS_CONFIGURE_ON= --dbus --classic --autostart=dbus |
40 |
DBUS_CONFIGURE_ON= --dbus --classic --autostart=dbus |
45 |
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus \ |
41 |
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus \ |
46 |
libexpat.so:textproc/expat2 |
42 |
libexpat.so:textproc/expat2 |
47 |
DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} |
43 |
DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} |
48 |
|
44 |
|
49 |
READLINE_USES= readline |
45 |
OPUS_LIB_DEPENDS= libopus.so:audio/opus |
50 |
READLINE_CONFIGURE_ON= --readline=yes |
|
|
51 |
READLINE_CONFIGURE_OFF= --readline=no |
52 |
READLINE_LDFLAGS= -lreadline |
53 |
|
54 |
OPUS_LIB_DEPENDS= libopus.so:audio/opus |
55 |
OPUS_CONFIGURE_ON= --opus=yes |
46 |
OPUS_CONFIGURE_ON= --opus=yes |
56 |
OPUS_CONFIGURE_OFF= --opus=no |
47 |
OPUS_CONFIGURE_OFF= --opus=no |
57 |
|
48 |
|
58 |
PROFILING_DESC= Build with profiling information |
49 |
PROFILING_DESC= Build with profiling information |
59 |
PROFILING_CONFIGURE_ON= --profile |
50 |
PROFILING_CONFIGURE_ON= --profile |
60 |
|
51 |
|
61 |
.include <bsd.port.pre.mk> |
52 |
.include <bsd.port.pre.mk> |
62 |
|
53 |
|
63 |
.if ${PORT_OPTIONS:MDBUS} |
54 |
.if ${PORT_OPTIONS:MDBUS} |
64 |
PLIST_SUB+= CLASSIC="@comment " |
55 |
PLIST_SUB+= CLASSIC="@comment " |
65 |
.else |
56 |
.else |
66 |
PLIST_SUB+= CLASSIC="" |
57 |
PLIST_SUB+= CLASSIC="" |
67 |
.endif |
58 |
.endif |
68 |
|
59 |
|
69 |
post-extract: |
|
|
70 |
@echo '#define SVN_VERSION "${GH_TAGNAME}"' > ${WRKSRC}/svnversion.h |
71 |
|
72 |
post-install: |
60 |
post-install: |
73 |
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \ |
61 |
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \ |
74 |
lib/libjack*.so \ |
62 |
lib/libjack*.so \ |
75 |
lib/jack/*.so \ |
63 |
lib/jack/*.so \ |
76 |
$$(ls bin/* | grep -v jack_control) |
64 |
$$(ls bin/* | ${GREP} -v jack_control) |
77 |
|
65 |
|
78 |
.include <bsd.port.post.mk> |
66 |
.include <bsd.port.post.mk> |