Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] allegro5: enable pulseaudio support and fix audio in pipewire
@ 2023-12-31  9:12 oreo639
  2024-01-01 16:27 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: oreo639 @ 2023-12-31  9:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1728 bytes --]

There is a new pull request by oreo639 against master on the void-packages repository

https://github.com/oreo639/void-packages allegro5
https://github.com/void-linux/void-packages/pull/48008

allegro5: enable pulseaudio support and fix audio in pipewire
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

Currently, running an allegro application with a system using pipwire as a replacement for pulse audio results in all applications not being able to output audio with `snd_pcm_avail after recover: Broken pipe`. Enabling pulseaudio fixed this issue for me.

You can test this using the `opensurge` which uses allegro5. As soon as you open the application, no applications (including opensurge) will be able to output audio until opensurge is closed.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48008.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-allegro5-48008.patch --]
[-- Type: text/x-diff, Size: 1217 bytes --]

From abc713e9e0b438efe69b2896b59fc73ffc4d3662 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sun, 31 Dec 2023 01:02:55 -0800
Subject: [PATCH] allegro5: enable pulseaudio support and fix audio in pipewire

---
 srcpkgs/allegro5/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/allegro5/template b/srcpkgs/allegro5/template
index 070425ff3bccb..17359ecb9d4aa 100644
--- a/srcpkgs/allegro5/template
+++ b/srcpkgs/allegro5/template
@@ -1,14 +1,14 @@
 # Template file for 'allegro5'
 pkgname=allegro5
 version=5.2.7.0
-revision=2
+revision=3
 build_style=cmake
 configure_args="-DWANT_DOCS=1 -DWANT_PHYSFS=1"
 hostmakedepends="pkg-config"
 makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
  libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel
  libjpeg-turbo-devel libtheora-devel freetype-devel libflac-devel physfs-devel
- libopenal-devel gtk+3-devel opus-devel opusfile-devel"
+ libopenal-devel gtk+3-devel opus-devel opusfile-devel pulseaudio-devel"
 depends="virtual?libGL"
 short_desc="Portable library mainly aimed at video game and multimedia programming"
 maintainer="Orphaned <orphan@voidlinux.org>"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: allegro5: enable pulseaudio support and fix audio in pipewire
  2023-12-31  9:12 [PR PATCH] allegro5: enable pulseaudio support and fix audio in pipewire oreo639
@ 2024-01-01 16:27 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2024-01-01 16:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

There's a merged pull request on the void-packages repository

allegro5: enable pulseaudio support and fix audio in pipewire
https://github.com/void-linux/void-packages/pull/48008

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

Currently, running an allegro5 application with a system using pipwire as a replacement for pulseaudio results in all applications not being able to output audio with `snd_pcm_avail after recover: Broken pipe`. Enabling pulseaudio fixed this issue for me.

You can test this using the `opensurge` which uses allegro5. As soon as you open the application, no applications (including opensurge) will be able to output audio until opensurge is closed.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-01 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-31  9:12 [PR PATCH] allegro5: enable pulseaudio support and fix audio in pipewire oreo639
2024-01-01 16:27 ` [PR PATCH] [Merged]: " classabbyamp

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).