From 6a239c6efefab9641de76b0ba99d23b855ee9e84 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 10 Feb 2025 07:17:45 +0000 Subject: [PATCH] SDL2: update to 2.32.0 --- mingw-w64-SDL2/005-sdl-config-win-paths.patch | 8 ++++---- mingw-w64-SDL2/PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mingw-w64-SDL2/005-sdl-config-win-paths.patch b/mingw-w64-SDL2/005-sdl-config-win-paths.patch index a741540ae7..5a687eec93 100644 --- a/mingw-w64-SDL2/005-sdl-config-win-paths.patch +++ b/mingw-w64-SDL2/005-sdl-config-win-paths.patch @@ -1,9 +1,9 @@ ---- SDL2-2.0.12/sdl2-config.in -+++ SDL2-2.0.12/sdl2-config.in +--- a/sdl2-config.in ++++ b/sdl2-config.in @@ -5,6 +5,7 @@ - + # Calculate the canonical path of the prefix, relative to the folder of this script - prefix=$(cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "$(pwd -P)") + prefix=`cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "\`pwd -P\`"` +prefix=$(cygpath -m "$prefix") exec_prefix=@exec_prefix@ exec_prefix_set=no diff --git a/mingw-w64-SDL2/PKGBUILD b/mingw-w64-SDL2/PKGBUILD index 01256deb75..65cfb968e8 100644 --- a/mingw-w64-SDL2/PKGBUILD +++ b/mingw-w64-SDL2/PKGBUILD @@ -4,7 +4,7 @@ _realname=SDL2 pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=2.30.12 +pkgver=2.32.0 pkgrel=1 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) (mingw-w64)" arch=('any') @@ -26,9 +26,9 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-vulkan") source=("https://github.com/libsdl-org/SDL/releases/download/release-${pkgver}/SDL2-${pkgver}.tar.gz"{,.sig} 005-sdl-config-win-paths.patch) -sha256sums=('ac356ea55e8b9dd0b2d1fa27da40ef7e238267ccf9324704850d5d47375b48ea' +sha256sums=('f5c2b52498785858f3de1e2996eba3c1b805d08fe168a47ea527c7fc339072d0' 'SKIP' - 'f126854e9edb57f92325cc6d004072ff1e08136e0c334ed2bb163db5893a8692') + 'c47283d104039965d5cf99eeb58aebbac059648c46b931e9efcb864abab9bfd9') validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga prepare() {