mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
audio/pulseaudio: update to 11.0
- Drop --disable-xen following upstream change in 10.0 Changes: https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/ ABI: https://abi-laboratory.pro/tracker/timeline/pulseaudio/ PR: 222093 Submitted by: lightside <lightside@gmx.com> MFH: 2017Q3
This commit is contained in:
parent
5bb052790d
commit
306fb1c9b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449350
6 changed files with 31 additions and 22 deletions
|
@ -5,8 +5,7 @@
|
|||
# PORTREVISION bumps of depending ports.
|
||||
|
||||
PORTNAME= pulseaudio
|
||||
PORTVERSION= 10.0
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 11.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/
|
||||
|
||||
|
@ -51,7 +50,6 @@ CONFIGURE_ARGS= --localstatedir=/var \
|
|||
--disable-systemd-journal \
|
||||
--disable-systemd-login \
|
||||
--disable-neon-opt \
|
||||
--disable-xen \
|
||||
--disable-lirc # untested
|
||||
|
||||
USERS= pulse
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1484711815
|
||||
SHA256 (pulseaudio-10.0.tar.xz) = a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57
|
||||
SIZE (pulseaudio-10.0.tar.xz) = 1608040
|
||||
TIMESTAMP = 1504603004
|
||||
SHA256 (pulseaudio-11.0.tar.xz) = 072305d4018fc5e75bb1b45ee6b938fa52fc9fd27493bf327415ef89ed14c969
|
||||
SIZE (pulseaudio-11.0.tar.xz) = 1648128
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- src/Makefile.in.orig 2016-06-24 23:00:54 UTC
|
||||
--- src/Makefile.in.orig 2017-09-05 09:14:12 UTC
|
||||
+++ src/Makefile.in
|
||||
@@ -11092,7 +11092,7 @@ info-am:
|
||||
@@ -11203,7 +11203,7 @@ info-am:
|
||||
|
||||
install-data-am: install-commonlibLTLIBRARIES install-dbuspolicyDATA \
|
||||
install-dist_alsapathsDATA install-dist_alsaprofilesetsDATA \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- src/modules/module-detect.c.orig 2016-05-10 12:28:04 UTC
|
||||
--- src/modules/module-detect.c.orig 2017-09-03 11:41:12 UTC
|
||||
+++ src/modules/module-detect.c
|
||||
@@ -160,11 +160,45 @@ static int detect_oss(pa_core *c, int ju
|
||||
@@ -160,11 +160,41 @@ static int detect_oss(pa_core *c, int ju
|
||||
continue;
|
||||
|
||||
} else if (sscanf(line, "pcm%u: ", &device) == 1) {
|
||||
|
@ -14,34 +14,30 @@
|
|||
+ continue;
|
||||
+
|
||||
+ if (!pa_endswith(line, "default"))
|
||||
+ continue;
|
||||
continue;
|
||||
+
|
||||
+ const char *p = strrchr(line, '(');
|
||||
+
|
||||
+ if (!p)
|
||||
continue;
|
||||
+ continue;
|
||||
+
|
||||
+ if (!c->default_sink && (strstr(p, "play") || (strstr(p, "p:") && !strstr(p, "(0p:")))) {
|
||||
+ if (!c->configured_default_sink && (strstr(p, "play") || (strstr(p, "p:") && !strstr(p, "(0p:")))) {
|
||||
+ uint32_t idx = PA_IDXSET_INVALID;
|
||||
+ pa_sink *s;
|
||||
+ PA_IDXSET_FOREACH(s, c->sinks, idx) {
|
||||
+ if (s->module == m) {
|
||||
+ if (!pa_namereg_set_default_sink(c, s))
|
||||
+ pa_log_error("failed to set default sink for device: /dev/dsp%u", device);
|
||||
+
|
||||
+ pa_core_set_configured_default_sink(c, s->name);
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (!c->default_source && (strstr(p, "rec") || (strstr(p, "r:") && !strstr(p, "/0r:")))) {
|
||||
+ if (!c->configured_default_source && (strstr(p, "rec") || (strstr(p, "r:") && !strstr(p, "/0r:")))) {
|
||||
+ uint32_t idx = PA_IDXSET_INVALID;
|
||||
+ pa_source *s;
|
||||
+ PA_IDXSET_FOREACH(s, c->sources, idx) {
|
||||
+ if (s->module == m) {
|
||||
+ if (!pa_namereg_set_default_source(c, s))
|
||||
+ pa_log_error("failed to set default source for device: /dev/dsp%u", device);
|
||||
+
|
||||
+ pa_core_set_configured_default_source(c, s->name);
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
|
|
13
audio/pulseaudio/files/patch-src_modules_raop_raop-client.c
Normal file
13
audio/pulseaudio/files/patch-src_modules_raop_raop-client.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/modules/raop/raop-client.c.orig 2017-07-24 23:14:10 UTC
|
||||
+++ src/modules/raop/raop-client.c
|
||||
@@ -35,6 +35,10 @@
|
||||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
+#ifdef HAVE_NETINET_IN_H
|
||||
+#include <netinet/in.h>
|
||||
+#endif
|
||||
+
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/sample.h>
|
|
@ -66,10 +66,10 @@ lib/libpulse-mainloop-glib.so.0
|
|||
lib/libpulse-mainloop-glib.so.0.0.5
|
||||
lib/libpulse-simple.so
|
||||
lib/libpulse-simple.so.0
|
||||
lib/libpulse-simple.so.0.1.0
|
||||
lib/libpulse-simple.so.0.1.1
|
||||
lib/libpulse.so
|
||||
lib/libpulse.so.0
|
||||
lib/libpulse.so.0.20.1
|
||||
lib/libpulse.so.0.20.2
|
||||
%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/libavahi-wrap.so
|
||||
lib/pulse-%%PULSE_VERSION%%/modules/module-allow-passthrough.so
|
||||
lib/pulse-%%PULSE_VERSION%%/modules/module-device-manager.so
|
||||
|
@ -246,6 +246,7 @@ share/locale/gu/LC_MESSAGES/pulseaudio.mo
|
|||
share/locale/gl/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/he/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/hi/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/hr/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/hu/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/id/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/it/LC_MESSAGES/pulseaudio.mo
|
||||
|
@ -256,6 +257,7 @@ share/locale/lt/LC_MESSAGES/pulseaudio.mo
|
|||
share/locale/ml/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/mr/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/nl/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/nn/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/oc/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/or/LC_MESSAGES/pulseaudio.mo
|
||||
share/locale/pa/LC_MESSAGES/pulseaudio.mo
|
||||
|
|
Loading…
Add table
Reference in a new issue