Update package version to 3.2.18

This commit is contained in:
2025-07-17 13:36:41 +03:00
parent a277df3c31
commit 7235be0c91
2 changed files with 18 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Github repository
REPO="libsdl-org/SDL"
# Get tag name using Github Rest API
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
# Trim 'v' character in VERSION variable
VERSION=$(echo "$VERSION" | tr -d 'v')
echo "$VERSION"
+3 -3
View File
@@ -1,10 +1,10 @@
name: sdl3
description: Cross-platform development library providing low level access to audio, keyboard, mouse, joystick and graphics hardware
version: 3.2.16
version: 3.2.18
url: https://www.libsdl.org/
license: zlib
architecture: any
depends: ["glibc","libglvnd","libx11","libxcursor","libxext","libxrender"]
optional_depends: ["alsa-lib","libdecor","pipewire","pulseaudio","sndio","vulkan-loader"]
make_depends: ["alsa-lib","cmake","libdecor","libxinerama","libxkbcommon","libxrandr","mesa","ninja","pipewire","sndio","vulkan-headers","wayland","wayland-protocols"]
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