From 994b012536aa326d0a5c97ba210d7f81a91afb59 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 3 Oct 2025 14:36:09 +0300 Subject: [PATCH] Update package version to 3.2.24 --- pkg.info | 41 ++++++++++++++++++++++++++++++++++++----- source.sh | 10 ---------- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/pkg.info b/pkg.info index 4888af6..e0af16d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,42 @@ name: sdl3 description: Cross-platform development library providing low level access to audio, keyboard, mouse, joystick and graphics hardware -version: 3.2.22 -revision: 2 +version: 3.2.24 +revision: 1 url: https://www.libsdl.org/ license: zlib architecture: any -depends: ["glibc","hidapi","libglvnd","libx11","libxcursor","libxext","libxrender"] -optional_depends: ["alsa-lib","libdecor","pipewire","libpulse","sndio","vulkan-loader"] -make_depends: ["alsa-lib","cmake","libdecor","libxinerama","libxkbcommon","libxrandr","mesa","ninja","libpulse","sndio","vulkan-headers","wayland","wayland-protocols"] type: source +depends: + - glibc + - hidapi + - libglvnd + - libx11 + - libxcursor + - libxext + - libxrender +optional_depends: + - alsa-lib + - libdecor + - pipewire + - libpulse + - sndio + - vulkan-loader +make_depends: + - alsa-lib + - cmake + - libdecor + - libxinerama + - libxkbcommon + - libxrandr + - mesa + - ninja + - libpulse + - sndio + - vulkan-headers + - wayland + - wayland-protocols +downloads: + - url: https://www.libsdl.org/release/SDL3-${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 81cc0fc17e5bf2c1754eeca9af9c47a76789ac5efdd165b3b91cbbe4b90bfb76 diff --git a/source.sh b/source.sh index 1e4e611..87acb41 100644 --- a/source.sh +++ b/source.sh @@ -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.libsdl.org/release/SDL3-${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 -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() {