Switch to new download format and raise version number

This commit is contained in:
2025-10-16 22:12:34 +03:00
parent 311c27404b
commit 2c90b8fdee
2 changed files with 13 additions and 9 deletions
+11 -1
View File
@@ -1,8 +1,18 @@
name: sdl-sound
description: An abstract soundfile decoder
version: 1.0.3
revision: 2
url: https://github.com/icculus/SDL_sound
license: LGPL2.1-or-later
architecture: any
depends: ["flac","libvorbis","sdl12-compat","speex"]
type: source
depends:
- flac
- libvorbis
- sdl12-compat
- speex
downloads:
- url: https://github.com/icculus/SDL_sound/archive/refs/tags/release-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 5e20c780653fa14b7b3dc299dfcd91b546c75d0abb8043da5178e8b91c765d61
+1 -7
View File
@@ -2,15 +2,9 @@
# 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://github.com/icculus/SDL_sound/archive/refs/tags/release-${BPM_PKG_VERSION}.tar.gz"
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
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
./bootstrap
}