Switch to new download format and raise version number
This commit is contained in:
@@ -1,8 +1,18 @@
|
|||||||
name: sdl-sound
|
name: sdl-sound
|
||||||
description: An abstract soundfile decoder
|
description: An abstract soundfile decoder
|
||||||
version: 1.0.3
|
version: 1.0.3
|
||||||
|
revision: 2
|
||||||
url: https://github.com/icculus/SDL_sound
|
url: https://github.com/icculus/SDL_sound
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["flac","libvorbis","sdl12-compat","speex"]
|
|
||||||
type: source
|
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
|
||||||
|
|||||||
@@ -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 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://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
|
# 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() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user