Switch to new download format and fix dependencies

This commit is contained in:
2026-03-24 12:52:35 +02:00
parent 3c536c9029
commit fb3eb51bb0
2 changed files with 27 additions and 15 deletions
+25 -3
View File
@@ -1,10 +1,32 @@
name: alsa-plugins name: alsa-plugins
description: Additional ALSA plugins description: Additional ALSA plugins
version: 1.2.12 version: 1.2.12
revision: 2
url: https://www.alsa-project.org/ url: https://www.alsa-project.org/
license: GPL2-or-later,LGPL2.1-or-later license: GPL2-or-later,LGPL2.1-or-later
maintainers:
- [email protected]
architecture: any architecture: any
depends: ["alsa-lib","glibc"]
optional_depends: ["dbus","ffmpeg","pipewire","libpulse","libsamplerate","speexdsp"]
make_depends: ["dbus","ffmpeg","pipewire","libpulse","libsamplerate","speexdsp"]
type: source type: source
depends:
- alsa-lib
- glibc
optional_depends:
- dbus:For the maemo plugin
- ffmpeg:For the pcm_a53 plugin
- jack:For the pcm_jack plugin
- libpulse:For the pcm-aaf plugin
- libsamplerate:For the conf_pulse, ctl_pulse and pcm_pulse plugins
- speexdsp:For the pcm_speex and rate_speexrate plugins
make_depends:
- dbus
- ffmpeg
- jack
- libpulse
- libsamplerate
- speexdsp
downloads:
- url: https://www.alsa-project.org/files/pub/plugins/alsa-plugins-${BPM_PKG_VERSION}.tar.bz2
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 7bd8a83d304e8e2d86a25895d8dcb0ef0245a8df32e271959cdbdc6af39b66f2
+2 -12
View File
@@ -2,16 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://www.alsa-project.org/files/pub/plugins/alsa-plugins-${BPM_PKG_VERSION}.tar.bz2"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
@@ -24,6 +14,6 @@ build() {
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
install -Dm644 "$BPM_SOURCE"/COPYING.GPL "$BPM_OUTPUT"/usr/share/licenses/alsa-plugins/COPYING.GPL # Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/alsa-plugins/COPYING install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/alsa-plugins
} }