From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libopenal: prioritize sndio over alsa
Date: Sat, 25 Jul 2020 14:17:57 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23829@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is a new pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages openal
https://github.com/void-linux/void-packages/pull/23829
libopenal: prioritize sndio over alsa
None
A patch file from https://github.com/void-linux/void-packages/pull/23829.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openal-23829.patch --]
[-- Type: text/x-diff, Size: 1921 bytes --]
From bbb7a5fab74cf7426413524f58e93e7997b23f12 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sat, 25 Jul 2020 14:17:37 +0200
Subject: [PATCH] libopenal: prioritize sndio over alsa
---
.../libopenal/patches/sndio-priority.patch | 26 +++++++++++++++++++
srcpkgs/libopenal/template | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/libopenal/patches/sndio-priority.patch
diff --git a/srcpkgs/libopenal/patches/sndio-priority.patch b/srcpkgs/libopenal/patches/sndio-priority.patch
new file mode 100644
index 00000000000..d47be3834c9
--- /dev/null
+++ b/srcpkgs/libopenal/patches/sndio-priority.patch
@@ -0,0 +1,26 @@
+Reason: Try sndio before alsa (and pulse). Alsa is always available
+on Void systems, so openal will try to use it, even if sndio is setup,
+furthermore the alsa sndio plugin does not work well with OpenAL
+---
+--- alc/alc.cpp 2020-01-24 08:28:45.000000000 +0100
++++ - 2020-07-25 14:13:19.805487926 +0200
+@@ -163,6 +163,9 @@
+ #ifdef HAVE_JACK
+ { "jack", JackBackendFactory::getFactory },
+ #endif
++#ifdef HAVE_SNDIO
++ { "sndio", SndIOBackendFactory::getFactory },
++#endif
+ #ifdef HAVE_PULSEAUDIO
+ { "pulse", PulseBackendFactory::getFactory },
+ #endif
+@@ -181,9 +184,6 @@
+ #ifdef HAVE_SOLARIS
+ { "solaris", SolarisBackendFactory::getFactory },
+ #endif
+-#ifdef HAVE_SNDIO
+- { "sndio", SndIOBackendFactory::getFactory },
+-#endif
+ #ifdef HAVE_OSS
+ { "oss", OSSBackendFactory::getFactory },
+ #endif
diff --git a/srcpkgs/libopenal/template b/srcpkgs/libopenal/template
index 29180831583..c1359134fe2 100644
--- a/srcpkgs/libopenal/template
+++ b/srcpkgs/libopenal/template
@@ -1,7 +1,7 @@
# Template file for 'libopenal'
pkgname=libopenal
version=1.20.1
-revision=2
+revision=3
wrksrc="openal-soft-${version}"
build_style=cmake
configure_args="-DALSOFT_EXAMPLES=OFF -DALSOFT_TESTS=OFF"
next reply other threads:[~2020-07-25 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-25 12:17 Johnnynator [this message]
2020-07-25 12:36 ` Johnnynator
2020-07-25 12:36 ` [PR PATCH] [Closed]: " Johnnynator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23829@inbox.vuxu.org \
--to=johnnynator@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).