Skip to content

Commit

Permalink
Update PulseAudio URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Oct 7, 2024
1 parent e56d0cc commit 0750cc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ You can disable automatic downloading of dependencies and build them manually.

First, download, build and install Roc Toolkit into the system as described on [this page](https://roc-streaming.org/toolkit/docs/building/user_cookbook.html).

Then download and unpack PulseAudio source code [from here](https://freedesktop.org/software/pulseaudio/releases/). There is no need to configure and build it, only source code is needed.
Then download and unpack PulseAudio source code [from here](https://distributions.freedesktop.org/software/pulseaudio/releases/). There is no need to configure and build it, only source code is needed.

> Note: PulseAudio doesn't provide official API for out-of-tree modules. This is the reason why we need full PulseAudio source code to build modules.
Expand Down
6 changes: 5 additions & 1 deletion cmake/download_pulseaudio.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
include(ExternalProject)

set(PULSEAUDIO_RELEASES_URL
"https://distributions.freedesktop.org/software/pulseaudio/releases"
)

ExternalProject_Add(pulseaudio
URL
"https://distributions.freedesktop.org/software/pulseaudio/releases/pulseaudio-${PULSEAUDIO_VERSION}.tar.gz"
"${PULSEAUDIO_RELEASES_URL}/pulseaudio-${PULSEAUDIO_VERSION}.tar.gz"
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/pulseaudio-src"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down
2 changes: 1 addition & 1 deletion scripts/download_pulseaudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ ver="$2"

mkdir -p "$dir"

wget -qO - "https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$ver.tar.gz" \
wget -qO - "https://distributions.freedesktop.org/software/pulseaudio/releases/pulseaudio-$ver.tar.gz" \
| tar --strip-components=1 -C "$dir" -xzf -

0 comments on commit 0750cc3

Please sign in to comment.