Lines 5-11
Link Here
|
5 |
# PORTREVISION bumps of depending ports. |
5 |
# PORTREVISION bumps of depending ports. |
6 |
|
6 |
|
7 |
PORTNAME= pulseaudio |
7 |
PORTNAME= pulseaudio |
8 |
PORTVERSION= 8.0 |
8 |
PORTVERSION= 9.0 |
9 |
CATEGORIES= audio |
9 |
CATEGORIES= audio |
10 |
MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ |
10 |
MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ |
11 |
|
11 |
|
Lines 16-39
Link Here
|
16 |
LICENSE_FILE= ${WRKSRC}/LGPL |
16 |
LICENSE_FILE= ${WRKSRC}/LGPL |
17 |
|
17 |
|
18 |
LIB_DEPENDS= libsndfile.so:audio/libsndfile \ |
18 |
LIB_DEPENDS= libsndfile.so:audio/libsndfile \ |
19 |
libspeexdsp.so:audio/speexdsp \ |
|
|
20 |
libfftw3.so:math/fftw3 \ |
19 |
libfftw3.so:math/fftw3 \ |
21 |
libfftw3f.so:math/fftw3-float \ |
20 |
libfftw3f.so:math/fftw3-float \ |
22 |
liborc-0.4.so:devel/orc \ |
|
|
23 |
libjson-c.so:devel/json-c \ |
21 |
libjson-c.so:devel/json-c \ |
24 |
libdbus-1.so:devel/dbus \ |
22 |
libdbus-1.so:devel/dbus \ |
25 |
libltdl.so:devel/libltdl \ |
23 |
libltdl.so:devel/libltdl \ |
26 |
libck-connector.so:sysutils/consolekit |
24 |
libck-connector.so:sysutils/consolekit |
27 |
|
25 |
|
28 |
USE_GNOME= glib20 intltool |
26 |
USE_GNOME= glib20 intltool |
29 |
USE_XORG= x11 sm xtst ice |
27 |
USE_XORG= ice sm x11 xcb xtst |
30 |
USE_LDCONFIG= yes |
28 |
USE_LDCONFIG= yes |
31 |
USES= cpe compiler:c11 execinfo gettext gmake gnome libtool \ |
29 |
USES= compiler:c11 cpe execinfo gettext gmake gnome iconv libtool \ |
32 |
pathfix pkgconfig shebangfix tar:xz |
30 |
pathfix pkgconfig shebangfix ssl tar:xz |
33 |
GNU_CONFIGURE= yes |
31 |
GNU_CONFIGURE= yes |
34 |
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" \ |
32 |
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" \ |
35 |
OPENSSL_CFLAGS="-I/usr/include" \ |
33 |
OPENSSL_CFLAGS="-I${OPENSSLINC}" \ |
36 |
OPENSSL_LIBS="-lcrypto -lssl" \ |
34 |
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ |
37 |
LIBS="-lm -lintl" \ |
35 |
LIBS="-lm -lintl" \ |
38 |
ac_cv_header_linux_input_h="" |
36 |
ac_cv_header_linux_input_h="" |
39 |
CPPFLAGS+= -I${LOCALBASE}/include |
37 |
CPPFLAGS+= -I${LOCALBASE}/include |
Lines 45-91
Link Here
|
45 |
SUB_FILES= pkg-message |
43 |
SUB_FILES= pkg-message |
46 |
|
44 |
|
47 |
CONFIGURE_ARGS= --localstatedir=/var \ |
45 |
CONFIGURE_ARGS= --localstatedir=/var \ |
48 |
--with-database=simple \ |
|
|
49 |
--without-caps \ |
46 |
--without-caps \ |
50 |
--disable-udev \ |
47 |
--disable-udev \ |
51 |
--disable-gtk3 \ |
48 |
--disable-gtk3 \ |
52 |
--disable-systemd \ |
49 |
--disable-systemd-daemon \ |
|
|
50 |
--disable-systemd-journal \ |
51 |
--disable-systemd-login \ |
53 |
--disable-neon-opt \ |
52 |
--disable-neon-opt \ |
54 |
--disable-xen \ |
53 |
--disable-xen \ |
55 |
--disable-lirc # untested |
54 |
--disable-lirc # untested |
56 |
|
55 |
|
57 |
#FIXME --with-database=auto|tdb|gdbm|simple |
|
|
58 |
|
59 |
USERS= pulse |
56 |
USERS= pulse |
60 |
GROUPS= pulse pulse-access pulse-rt |
57 |
GROUPS= pulse pulse-access pulse-rt |
61 |
|
58 |
|
62 |
OPTIONS_SUB= yes |
59 |
OPTIONS_SUB= yes |
63 |
OPTIONS_DEFINE= JACK AVAHI GCONF ALSA SIMD BASH ZSH |
60 |
OPTIONS_DEFINE= AVAHI GCONF SIMD |
64 |
OPTIONS_DEFAULT=AVAHI SIMD |
61 |
OPTIONS_DEFAULT=AVAHI SIMD SIMPLE SOXR SPEEX |
65 |
JACK_CONFIGURE_ENABLE= jack |
|
|
66 |
JACK_LIB_DEPENDS= libjack.so:audio/jack |
67 |
AVAHI_CONFIGURE_ENABLE= avahi |
62 |
AVAHI_CONFIGURE_ENABLE= avahi |
68 |
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app |
63 |
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app |
69 |
GCONF_CONFIGURE_ENABLE= gconf |
64 |
GCONF_CONFIGURE_ENABLE= gconf |
70 |
GCONF_USE= GNOME=gconf2 |
65 |
GCONF_USE= GNOME=gconf2 |
71 |
ALSA_CONFIGURE_ENABLE= alsa |
|
|
72 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
73 |
SIMD_CONFIGURE_ENABLE= orc |
66 |
SIMD_CONFIGURE_ENABLE= orc |
74 |
SIMD_LIB_DEPENDS= liborc-0.4.so:devel/orc |
67 |
SIMD_LIB_DEPENDS= liborc-0.4.so:devel/orc |
|
|
68 |
|
69 |
OPTIONS_GROUP= AUDIO COMPLETIONS |
70 |
OPTIONS_GROUP_AUDIO= ALSA JACK SOXR SPEEX |
71 |
OPTIONS_GROUP_COMPLETIONS= BASH ZSH |
72 |
AUDIO_DESC= Audio support |
73 |
COMPLETIONS_DESC= Programmable completions |
74 |
ALSA_CONFIGURE_ENABLE= alsa |
75 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
76 |
JACK_CONFIGURE_ENABLE= jack |
77 |
JACK_LIB_DEPENDS= libjack.so:audio/jack |
78 |
SOXR_DESC= SoX resampler support |
79 |
SOXR_CONFIGURE_WITH= soxr |
80 |
SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr |
81 |
SPEEX_DESC= Speex resampler and AEC support |
82 |
SPEEX_CONFIGURE_WITH= speex |
83 |
SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp |
75 |
ZSH_CONFIGURE_OFF= --without-zsh-completion-dir |
84 |
ZSH_CONFIGURE_OFF= --without-zsh-completion-dir |
76 |
|
85 |
|
|
|
86 |
OPTIONS_SINGLE= DATABASE |
87 |
OPTIONS_SINGLE_DATABASE= TDB GDBM SIMPLE |
88 |
DATABASE_DESC= Database support |
89 |
GDBM_DESC= GNU database manager support |
90 |
GDBM_CONFIGURE_ON= --with-database=gdbm |
91 |
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm |
92 |
SIMPLE_DESC= Simple database support |
93 |
SIMPLE_CONFIGURE_ON= --with-database=simple |
94 |
TDB_DESC= Trivial database support |
95 |
TDB_CONFIGURE_ON= --with-database=tdb |
96 |
TDB_LIB_DEPENDS= libtdb.so:databases/tdb |
97 |
|
77 |
PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} |
98 |
PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} |
78 |
PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} |
99 |
PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} |
79 |
|
100 |
|
80 |
post-patch: |
101 |
post-patch: |
81 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ |
102 |
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ |
82 |
${WRKSRC}/src/daemon/default.pa.in |
103 |
${WRKSRC}/src/daemon/default.pa.in |
83 |
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ |
104 |
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ |
84 |
-e 's|/lib/dbus/machine-id|/db/dbus/machine-id|g' \ |
105 |
-e 's|/lib/dbus/machine-id|/db/dbus/machine-id|g' \ |
85 |
${WRKSRC}/configure |
106 |
${WRKSRC}/configure |
86 |
|
107 |
|
87 |
post-install: |
108 |
post-install: |
88 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse |
109 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse |
89 |
.for ii in default.pa daemon.conf client.conf system.pa |
110 |
.for ii in default.pa daemon.conf client.conf system.pa |
90 |
${INSTALL_DATA} ${WRKSRC}/src/${ii} \ |
111 |
${INSTALL_DATA} ${WRKSRC}/src/${ii} \ |
91 |
${STAGEDIR}${PREFIX}/etc/pulse/${ii}.sample |
112 |
${STAGEDIR}${PREFIX}/etc/pulse/${ii}.sample |