Update package version to 3.2.18
This commit is contained in:
@@ -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"
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
name: sdl3
|
name: sdl3
|
||||||
description: Cross-platform development library providing low level access to audio, keyboard, mouse, joystick and graphics hardware
|
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/
|
url: https://www.libsdl.org/
|
||||||
license: zlib
|
license: zlib
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","libglvnd","libx11","libxcursor","libxext","libxrender"]
|
depends: ["glibc","libglvnd","libx11","libxcursor","libxext","libxrender"]
|
||||||
optional_depends: ["alsa-lib","libdecor","pipewire","pulseaudio","sndio","vulkan-loader"]
|
optional_depends: ["alsa-lib","libdecor","pipewire","libpulse","sndio","vulkan-loader"]
|
||||||
make_depends: ["alsa-lib","cmake","libdecor","libxinerama","libxkbcommon","libxrandr","mesa","ninja","pipewire","sndio","vulkan-headers","wayland","wayland-protocols"]
|
make_depends: ["alsa-lib","cmake","libdecor","libxinerama","libxkbcommon","libxrandr","mesa","ninja","libpulse","sndio","vulkan-headers","wayland","wayland-protocols"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
Reference in New Issue
Block a user