Switch to new download format and fix dependencies
This commit is contained in:
@@ -1,10 +1,32 @@
|
||||
name: alsa-plugins
|
||||
description: Additional ALSA plugins
|
||||
version: 1.2.12
|
||||
revision: 2
|
||||
url: https://www.alsa-project.org/
|
||||
license: GPL2-or-later,LGPL2.1-or-later
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
depends: ["alsa-lib","glibc"]
|
||||
optional_depends: ["dbus","ffmpeg","pipewire","libpulse","libsamplerate","speexdsp"]
|
||||
make_depends: ["dbus","ffmpeg","pipewire","libpulse","libsamplerate","speexdsp"]
|
||||
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,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 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
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
@@ -24,6 +14,6 @@ build() {
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.GPL "$BPM_OUTPUT"/usr/share/licenses/alsa-plugins/COPYING.GPL
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/alsa-plugins/COPYING
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/alsa-plugins
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user