extra/pulseaudio to 15.0-1

This commit is contained in:
Kevin Mihelich 2021-07-29 00:28:28 +00:00
parent 1dd0e116fe
commit 6d3bc90b73
2 changed files with 28 additions and 20 deletions

View file

@ -1,4 +1,4 @@
From bc4cdcd76159b3b2fadd3274322433a9b9e72966 Mon Sep 17 00:00:00 2001 From 5e83594fa0f7e18747030684f4de512052f2df56 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org> From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 12 Sep 2019 05:44:39 -0600 Date: Thu, 12 Sep 2019 05:44:39 -0600
Subject: [PATCH] disable neon Subject: [PATCH] disable neon
@ -8,17 +8,17 @@ Subject: [PATCH] disable neon
1 file changed, 1 deletion(-) 1 file changed, 1 deletion(-)
diff --git a/src/pulsecore/meson.build b/src/pulsecore/meson.build diff --git a/src/pulsecore/meson.build b/src/pulsecore/meson.build
index 5f78be012..4955e859e 100644 index d7f9ef2cf..933d1de0e 100644
--- a/src/pulsecore/meson.build --- a/src/pulsecore/meson.build
+++ b/src/pulsecore/meson.build +++ b/src/pulsecore/meson.build
@@ -174,7 +174,6 @@ simd = import('unstable-simd') @@ -175,7 +175,6 @@ simd = import('unstable-simd')
libpulsecore_simd = simd.check('libpulsecore_simd', simd_variants = [
mmx : ['remap_mmx.c', 'svolume_mmx.c'], { 'mmx' : ['remap_mmx.c', 'svolume_mmx.c'] },
sse : ['remap_sse.c', 'sconv_sse.c', 'svolume_sse.c'], { 'sse' : ['remap_sse.c', 'sconv_sse.c', 'svolume_sse.c'] },
- neon : ['remap_neon.c', 'sconv_neon.c', 'mix_neon.c'], - { 'neon' : ['remap_neon.c', 'sconv_neon.c', 'mix_neon.c'] },
c_args : [pa_c_args], ]
include_directories : [configinc, topinc],
implicit_include_directories : false, libpulsecore_simd_lib = []
-- --
2.28.0 2.30.0

View file

@ -2,24 +2,25 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to remove meson NEON check # - patch to remove meson NEON check
# - remove makedepend on valgrind, meson with -D valgrind=disabled
pkgbase=pulseaudio pkgbase=pulseaudio
pkgname=(pulseaudio libpulse pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer,rtp}) pkgname=(pulseaudio libpulse pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer,rtp})
pkgdesc="A featureful, general-purpose sound server" pkgdesc="A featureful, general-purpose sound server"
pkgver=14.2 pkgver=15.0
pkgrel=3 pkgrel=1
arch=(x86_64) arch=(x86_64)
url="https://www.freedesktop.org/wiki/Software/PulseAudio/" url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
license=(GPL) license=(GPL)
makedepends=(libasyncns libcap attr libxtst libsm libsndfile rtkit libsoxr makedepends=(libasyncns libcap attr libxtst libsm libsndfile rtkit libsoxr
speexdsp tdb systemd dbus avahi bluez bluez-libs jack2 sbc speexdsp tdb systemd dbus avahi bluez bluez-libs jack2 sbc
lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson
xmltoman) xmltoman doxygen)
_commit=6a487c5244563f49a025088de3510c80824fc99e # tags/v14.2^0 _commit=6329a2498eb038f8a9537888280a62b00a93f68e # tags/v15.0^0
source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit" source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit"
'0001-disable-neon.patch') '0001-disable-neon.patch')
sha256sums=('SKIP' sha256sums=('SKIP'
'7572bfc1a185f8b6f7757db217d35f9134128fc8cd047845f34acb17e2fe67d1') 'a6fc3a127aa8523b9b88f53217aeae01fb1831f33e265b9e1e233c3db2a97cf2')
pkgver() { pkgver() {
cd pulseaudio cd pulseaudio
@ -38,10 +39,17 @@ prepare() {
} }
build() { build() {
arch-meson pulseaudio build \ local meson_options=(
-D pulsedsp-location='/usr/\$LIB/pulseaudio' \ -D stream-restore-clear-old-devices=true
-D stream-restore-clear-old-devices=true \ -D pulsedsp-location='/usr/\$LIB/pulseaudio'
-D udevrulesdir=/usr/lib/udev/rules.d -D udevrulesdir=/usr/lib/udev/rules.d
-D bluez5-gstreamer=disabled
-D elogind=disabled
-D tcpwrap=disabled
-D valgrind=disabled
)
arch-meson pulseaudio build "${meson_options[@]}"
meson compile -C build meson compile -C build
} }
@ -80,7 +88,7 @@ package_pulseaudio() {
done done
pulsever=${pulsever%%-*} pulsever=${pulsever%%-*}
DESTDIR="$pkgdir" meson install -C build meson install -C build --destdir "$pkgdir"
cd "$pkgdir" cd "$pkgdir"