From: emilio1625 <emilio1625@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Gstreamer codecs support for pulse audio
Date: Thu, 08 Sep 2022 00:30:57 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39158@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
There is a new pull request by emilio1625 against master on the void-packages repository
https://github.com/emilio1625/void-packages pulseaudio-gstreamer-support
https://github.com/void-linux/void-packages/pull/39158
Gstreamer codecs support for pulse audio
Along with #39157 allows the use of aptx or ldac codec for Bluetooth headsets
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39158.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pulseaudio-gstreamer-support-39158.patch --]
[-- Type: text/x-diff, Size: 3125 bytes --]
From 4ebb4ea83c13dafaf034ac878eef32a815bb48fc Mon Sep 17 00:00:00 2001
From: Emilio Cabrera <emilio1625@gmail.com>
Date: Wed, 7 Sep 2022 16:51:45 -0500
Subject: [PATCH 1/2] pulseaudio: add gstreamer codec support
---
srcpkgs/pulseaudio/files/README.voidlinux | 1 +
srcpkgs/pulseaudio/template | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/pulseaudio/files/README.voidlinux b/srcpkgs/pulseaudio/files/README.voidlinux
index 68bcd10179c3..1a4374ffee23 100644
--- a/srcpkgs/pulseaudio/files/README.voidlinux
+++ b/srcpkgs/pulseaudio/files/README.voidlinux
@@ -5,3 +5,4 @@ and security reasons.
Optional dependencies:
* `python3-PyQt5-dbus` for running `qpaeq`
+* `gst-plugins-bad1` and `libopenaptx` for aptX support
diff --git a/srcpkgs/pulseaudio/template b/srcpkgs/pulseaudio/template
index 685154e8c0e1..3750dde96c4f 100644
--- a/srcpkgs/pulseaudio/template
+++ b/srcpkgs/pulseaudio/template
@@ -1,22 +1,25 @@
# Template file for 'pulseaudio'
pkgname=pulseaudio
version=15.0
-revision=3
+revision=4
build_style=meson
configure_args="-Djack=enabled -Dlirc=disabled -Dhal-compat=false -Dorc=enabled
-Dgtk=disabled -Dsystemd=disabled -Dwebrtc-aec=enabled
-Dgsettings=enabled -Dbluez5=enabled
-Dbluez5-ofono-headset=false -Dbluez5-native-headset=true
+ -Dgstreamer=$(vopt_if gstreamer enabled disabled)
+ -Dbluez5-gstreamer=$(vopt_if gstreamer enabled disabled)
-Delogind=enabled -Dudevrulesdir=/usr/lib/udev/rules.d
-Dbashcompletiondir=/usr/share/bash-completion/completions"
hostmakedepends="cmake m4 gettext libtool orc-devel perl-XML-Parser pkg-config
doxygen"
makedepends="$(vopt_if avahi avahi-libs-devel) eudev-libudev-devel fftw-devel jack-devel
libSM-devel libXtst-devel libasyncns-devel libbluetooth-devel
+ $(vopt_if gstreamer gstreamer1-devel) $(vopt_if gstreamer gst-plugins-base1-devel)
libcap-devel libcap-progs libglib-devel libltdl-devel openssl-devel
libsndfile-devel libsoxr-devel orc-devel sbc-devel speex-devel tdb-devel
webrtc-audio-processing-devel xcb-util-devel check-devel elogind-devel"
-depends="pulseaudio-utils>=${version}_${revision} rtkit"
+depends="pulseaudio-utils>=${version}_${revision} rtkit $(vopt_if gstreamer gstreamer1)"
conf_files="/etc/pulse/*"
short_desc="Featureful, general-purpose sound server"
maintainer="Orphaned <orphan@voidlinux.org>"
From 75f5a8cabb1b127b06a502551003b366456aec11 Mon Sep 17 00:00:00 2001
From: Emilio Cabrera <emilio1625@gmail.com>
Date: Wed, 7 Sep 2022 16:58:47 -0500
Subject: [PATCH 2/2] pulseaudio: workaround for failing test
---
srcpkgs/pulseaudio/template | 2 ++
1 file changed, 2 insertions(+)
diff --git a/srcpkgs/pulseaudio/template b/srcpkgs/pulseaudio/template
index 3750dde96c4f..7b164d4289ee 100644
--- a/srcpkgs/pulseaudio/template
+++ b/srcpkgs/pulseaudio/template
@@ -52,6 +52,8 @@ pre_configure() {
# Disable neon optimizations for the arm* architectures
arm*) vsed -e '/ neon/d' -i src/pulsecore/meson.build ;;
esac
+ # workaround remove test that fails
+ vsed -e '/core-util-test/{N;d;}' -i src/tests/meson.build
}
post_install() {
next reply other threads:[~2022-09-07 22:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-07 22:30 emilio1625 [this message]
2022-09-07 22:32 ` classabbyamp
2022-09-07 22:33 ` [PR PATCH] [Updated] " emilio1625
2022-09-07 22:39 ` emilio1625
2022-09-07 22:43 ` classabbyamp
2022-09-07 22:47 ` [PR PATCH] [Updated] " emilio1625
2022-09-07 23:00 ` emilio1625
2022-09-08 9:53 ` [PR REVIEW] " Duncaen
2022-12-08 2:32 ` github-actions
2022-12-23 1:57 ` [PR PATCH] [Closed]: " github-actions
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-39158@inbox.vuxu.org \
--to=emilio1625@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).