Skip to content

Commit 6852a79

Browse files
authored
Bump to Pulseaduio 17.0 and Alpine 3.21 (#184)
* Bump to Pulseaduio 17.0 and Alpine 3.21 This bumps the Audio plug-in to Alpine 3.21 and Pulseaudio 17.0. Also move to the Alpine versions of the ALSA topology and UCM configuration. There is no point in extracting the same file from upstream tarballs instead of using the Alpine packages. * Make sure version is interpreted as a string
1 parent 1b15ae4 commit 6852a79

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@ FROM ${BUILD_FROM}
33

44
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
55

6-
ARG ALSA_LIB_VERSION
7-
ARG ALSA_TOOLS_VERSION
86
ARG PULSE_VERSION
97

108
COPY patches /usr/src/patches
119
RUN \
1210
set -x \
1311
&& apk add --no-cache \
1412
eudev \
13+
eudev-libs \
1514
libintl \
1615
libltdl \
1716
alsa-utils \
1817
alsa-lib \
1918
alsa-plugins-pulse \
19+
alsa-topology-conf \
20+
alsa-ucm-conf \
2021
dbus-libs \
2122
tdb-libs \
2223
bluez-libs \
@@ -46,14 +47,6 @@ RUN \
4647
m4 \
4748
patch \
4849
\
49-
&& curl -L -s --retry 5 \
50-
"https://www.alsa-project.org/files/pub/lib/alsa-ucm-conf-${ALSA_LIB_VERSION}.tar.bz2" \
51-
| tar xvfj - -C /usr/share/alsa --strip-components=1 \
52-
\
53-
&& curl -L -s --retry 5 \
54-
"https://www.alsa-project.org/files/pub/lib/alsa-topology-conf-${ALSA_TOOLS_VERSION}.tar.bz2" \
55-
| tar xvfj - -C /usr/share/alsa --strip-components=1 \
56-
\
5750
&& git clone -b v${PULSE_VERSION} --depth 1 \
5851
https://github.com/pulseaudio/pulseaudio /usr/src/pulseaudio \
5952
&& cd /usr/src/pulseaudio \

build.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
image: ghcr.io/home-assistant/{arch}-hassio-audio
22
build_from:
3-
aarch64: ghcr.io/home-assistant/aarch64-base:3.19
4-
armhf: ghcr.io/home-assistant/armhf-base:3.19
5-
armv7: ghcr.io/home-assistant/armv7-base:3.19
6-
amd64: ghcr.io/home-assistant/amd64-base:3.19
7-
i386: ghcr.io/home-assistant/i386-base:3.19
3+
aarch64: ghcr.io/home-assistant/aarch64-base:3.21
4+
armhf: ghcr.io/home-assistant/armhf-base:3.21
5+
armv7: ghcr.io/home-assistant/armv7-base:3.21
6+
amd64: ghcr.io/home-assistant/amd64-base:3.21
7+
i386: ghcr.io/home-assistant/i386-base:3.21
88
codenotary:
99
1010
base_image: [email protected]
1111
cosign:
1212
base_identity: https://github.com/home-assistant/docker-base/.*
1313
identity: https://github.com/home-assistant/plugin-audio/.*
1414
args:
15-
ALSA_LIB_VERSION: 1.2.10
16-
ALSA_TOOLS_VERSION: 1.2.5
17-
PULSE_VERSION: 16.1
15+
PULSE_VERSION: "17.0"
1816
labels:
1917
io.hass.type: audio
2018
org.opencontainers.image.title: Home Assistant Audio Plugin

0 commit comments

Comments
 (0)