Deps: Update to SDL3 3.2.4
This commit is contained in:
parent
901927d7fe
commit
3e8ef44a1d
|
@ -90,7 +90,7 @@ LIBJPEGTURBO=3.1.0
|
|||
LIBPNG=1.6.45
|
||||
LIBWEBP=1.5.0
|
||||
LIBZIP=1.11.3
|
||||
SDL3=3.2.2
|
||||
SDL3=3.2.4
|
||||
QT=6.8.2
|
||||
ZSTD=1.5.6
|
||||
|
||||
|
@ -118,7 +118,7 @@ fi
|
|||
|
||||
cat > SHASUMS <<EOF
|
||||
baf8aebd22002b762d803ba0e1e389b6b4415159334e9d34bba1a938f6de8ce6 $LIBBACKTRACE.tar.gz
|
||||
d3dcf1b2f64746be0f248ef27b35aec4f038dafadfb83491f98a7fecdaf6efec SDL3-$SDL3.tar.gz
|
||||
2938328317301dfbe30176d79c251733aa5e7ec5c436c800b99ed4da7adcb0f0 SDL3-$SDL3.tar.gz
|
||||
e1351218d270db49c3dddcba04fb2153b09731ea3fa6830e423f5952f44585be cpuinfo-$CPUINFO.tar.gz
|
||||
3eea5ccce6670c126282f1ba4d32c19d486db49a1a5cbfb8d6f48774784d310c discord-rpc-$DISCORD_RPC.tar.gz
|
||||
3998b024b0d442614a9ee270e76e018bb37a17b8c6941212171731123cbbcac7 lunasvg-$LUNASVG.tar.gz
|
||||
|
|
|
@ -72,7 +72,7 @@ LIBJPEGTURBO=3.1.0
|
|||
LIBPNG=1.6.45
|
||||
LIBWEBP=1.5.0
|
||||
LIBZIP=1.11.3
|
||||
SDL3=3.2.2
|
||||
SDL3=3.2.4
|
||||
QT=6.8.2
|
||||
ZSTD=1.5.6
|
||||
|
||||
|
@ -99,7 +99,7 @@ fi
|
|||
|
||||
cat > SHASUMS <<EOF
|
||||
baf8aebd22002b762d803ba0e1e389b6b4415159334e9d34bba1a938f6de8ce6 $LIBBACKTRACE.tar.gz
|
||||
d3dcf1b2f64746be0f248ef27b35aec4f038dafadfb83491f98a7fecdaf6efec SDL3-$SDL3.tar.gz
|
||||
2938328317301dfbe30176d79c251733aa5e7ec5c436c800b99ed4da7adcb0f0 SDL3-$SDL3.tar.gz
|
||||
e1351218d270db49c3dddcba04fb2153b09731ea3fa6830e423f5952f44585be cpuinfo-$CPUINFO.tar.gz
|
||||
3eea5ccce6670c126282f1ba4d32c19d486db49a1a5cbfb8d6f48774784d310c discord-rpc-$DISCORD_RPC.tar.gz
|
||||
3998b024b0d442614a9ee270e76e018bb37a17b8c6941212171731123cbbcac7 lunasvg-$LUNASVG.tar.gz
|
||||
|
|
|
@ -38,7 +38,7 @@ fi
|
|||
|
||||
FREETYPE=2.13.3
|
||||
HARFBUZZ=10.2.0
|
||||
SDL3=3.2.2
|
||||
SDL3=3.2.4
|
||||
ZSTD=1.5.6
|
||||
LIBPNG=1.6.45
|
||||
LIBJPEGTURBO=3.1.0
|
||||
|
@ -86,7 +86,7 @@ cat > SHASUMS <<EOF
|
|||
9564c72b1dfd1d6fe6274c5f95a8d989b59854575d4bbee44ade7bc17aa9bc93 libjpeg-turbo-$LIBJPEGTURBO.tar.gz
|
||||
7d6fab70cf844bf6769077bd5d7a74893f8ffd4dfb42861745750c63c2a5c92c libwebp-$LIBWEBP.tar.gz
|
||||
9509d878ba788271c8b5abca9cfde1720f075335686237b7e9a9e7210fe67c1b libzip-$LIBZIP.tar.xz
|
||||
d3dcf1b2f64746be0f248ef27b35aec4f038dafadfb83491f98a7fecdaf6efec SDL3-$SDL3.tar.gz
|
||||
2938328317301dfbe30176d79c251733aa5e7ec5c436c800b99ed4da7adcb0f0 SDL3-$SDL3.tar.gz
|
||||
8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1 zstd-$ZSTD.tar.gz
|
||||
40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6 ffmpeg-$FFMPEG.tar.xz
|
||||
f415a09385030c6510a936155ce211f617c31506db5fbc563e804345f1ecf56e v$MOLTENVK.tar.gz
|
||||
|
|
|
@ -51,7 +51,7 @@ set LIBJPEGTURBO=3.1.0
|
|||
set LIBPNG=1645
|
||||
set QT=6.8.2
|
||||
set QTMINOR=6.8
|
||||
set SDL3=3.2.2
|
||||
set SDL3=3.2.4
|
||||
set WEBP=1.5.0
|
||||
set LIBZIP=1.11.3
|
||||
set ZLIB=1.3.1
|
||||
|
@ -71,7 +71,7 @@ call :downloadfile "freetype-%FREETYPE%.tar.gz" "https://download.savannah.gnu.o
|
|||
call :downloadfile "harfbuzz-%HARFBUZZ%.zip" "https://github.com/harfbuzz/harfbuzz/archive/refs/tags/%HARFBUZZ%.zip" 180cec309e817ec50953cd4d4208025c1931203231cf455418b0dd4021091951 || goto error
|
||||
call :downloadfile "lpng%LIBPNG%.zip" "https://download.sourceforge.net/libpng/lpng%LIBPNG%.zip" a66c4b1350b67776e90263e2550933067cd9ccbd318db489f84dcc0d2b033249 || goto error
|
||||
call :downloadfile "libjpeg-turbo-%LIBJPEGTURBO%.tar.gz" "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/%LIBJPEGTURBO%/libjpeg-turbo-%LIBJPEGTURBO%.tar.gz" 9564c72b1dfd1d6fe6274c5f95a8d989b59854575d4bbee44ade7bc17aa9bc93 || goto error
|
||||
call :downloadfile "SDL3-%SDL3%.zip" "https://github.com/libsdl-org/SDL/releases/download/release-%SDL3%/SDL3-%SDL3%.zip" 58d8adc7068d38923f918e0bdaa9c4948f93d9ba204fe4de8cc6eaaf77ad6f82 || goto error
|
||||
call :downloadfile "SDL3-%SDL3%.zip" "https://github.com/libsdl-org/SDL/releases/download/release-%SDL3%/SDL3-%SDL3%.zip" 369c242d44ba0647873a8981cb071ee82c51d45f91f449bee97171bfad98422b || goto error
|
||||
call :downloadfile "qtbase-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtbase-everywhere-src-%QT%.zip" 44087aec0caa4aa81437e787917d29d97536484a682a5d51ec035878e57c0b5c || goto error
|
||||
call :downloadfile "qtimageformats-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtimageformats-everywhere-src-%QT%.zip" 83c72b5dfad04854acf61d592e3f9cdc2ed894779aab8d0470d966715266caaf || goto error
|
||||
call :downloadfile "qtsvg-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtsvg-everywhere-src-%QT%.zip" 144d55e4d199793a76c53f19872633a79aec0314039f6f99b6a10b5be7a78fbf || goto error
|
||||
|
|
|
@ -49,7 +49,7 @@ set LIBJPEGTURBO=3.1.0
|
|||
set LIBPNG=1645
|
||||
set QT=6.8.2
|
||||
set QTMINOR=6.8
|
||||
set SDL3=3.2.2
|
||||
set SDL3=3.2.4
|
||||
set WEBP=1.5.0
|
||||
set LIBZIP=1.11.3
|
||||
set ZLIB=1.3.1
|
||||
|
@ -69,7 +69,7 @@ call :downloadfile "freetype-%FREETYPE%.tar.gz" "https://download.savannah.gnu.o
|
|||
call :downloadfile "harfbuzz-%HARFBUZZ%.zip" "https://github.com/harfbuzz/harfbuzz/archive/refs/tags/%HARFBUZZ%.zip" 180cec309e817ec50953cd4d4208025c1931203231cf455418b0dd4021091951 || goto error
|
||||
call :downloadfile "lpng%LIBPNG%.zip" "https://download.sourceforge.net/libpng/lpng%LIBPNG%.zip" a66c4b1350b67776e90263e2550933067cd9ccbd318db489f84dcc0d2b033249 || goto error
|
||||
call :downloadfile "libjpeg-turbo-%LIBJPEGTURBO%.tar.gz" "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/%LIBJPEGTURBO%/libjpeg-turbo-%LIBJPEGTURBO%.tar.gz" 9564c72b1dfd1d6fe6274c5f95a8d989b59854575d4bbee44ade7bc17aa9bc93 || goto error
|
||||
call :downloadfile "SDL3-%SDL3%.zip" "https://github.com/libsdl-org/SDL/releases/download/release-%SDL3%/SDL3-%SDL3%.zip" 58d8adc7068d38923f918e0bdaa9c4948f93d9ba204fe4de8cc6eaaf77ad6f82 || goto error
|
||||
call :downloadfile "SDL3-%SDL3%.zip" "https://github.com/libsdl-org/SDL/releases/download/release-%SDL3%/SDL3-%SDL3%.zip" 369c242d44ba0647873a8981cb071ee82c51d45f91f449bee97171bfad98422b || goto error
|
||||
call :downloadfile "qtbase-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtbase-everywhere-src-%QT%.zip" 44087aec0caa4aa81437e787917d29d97536484a682a5d51ec035878e57c0b5c || goto error
|
||||
call :downloadfile "qtimageformats-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtimageformats-everywhere-src-%QT%.zip" 83c72b5dfad04854acf61d592e3f9cdc2ed894779aab8d0470d966715266caaf || goto error
|
||||
call :downloadfile "qtsvg-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtsvg-everywhere-src-%QT%.zip" 144d55e4d199793a76c53f19872633a79aec0314039f6f99b6a10b5be7a78fbf || goto error
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
|
||||
# NOTE: These package files are intended for your own personal/private use.
|
||||
# You do not have permission to upload them independently to other package repositories.
|
||||
#
|
||||
# To build yourself:
|
||||
# git clone https://github.com/stenzek/duckstation.git
|
||||
# cd duckstation/scripts/packaging/arch
|
||||
# makepkg -i
|
||||
|
||||
pkgname=duckstation
|
||||
pkgver=0
|
||||
|
@ -28,9 +33,9 @@ depends=('libjpeg.so' # libjpeg or libjpeg-turbo
|
|||
'libx11'
|
||||
'libxrandr'
|
||||
'libzip'
|
||||
'qt6-base>=6.8.0'
|
||||
'qt6-imageformats>=6.8.0'
|
||||
'qt6-svg>=6.8.0'
|
||||
'qt6-base>=6.8.2'
|
||||
'qt6-imageformats>=6.8.2'
|
||||
'qt6-svg>=6.8.2'
|
||||
'wayland'
|
||||
'zlib'
|
||||
'zstd'
|
||||
|
@ -46,13 +51,21 @@ makedepends=('base-devel'
|
|||
'lld'
|
||||
'llvm'
|
||||
'ninja'
|
||||
'qt6-tools>=6.8.0')
|
||||
'qt6-tools>=6.8.2')
|
||||
|
||||
source=(
|
||||
"${pkgname}::git+file://${startdir}/../../.."
|
||||
"https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||
"https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||
)
|
||||
sha256sums=(
|
||||
"SKIP"
|
||||
"SKIP"
|
||||
"SKIP"
|
||||
)
|
||||
noextract=(
|
||||
"cheats.zip"
|
||||
"patches.zip"
|
||||
)
|
||||
|
||||
# Name of the .desktop file that will be installed.
|
||||
|
@ -70,6 +83,9 @@ pkgver() {
|
|||
prepare() {
|
||||
cd "${pkgname}"
|
||||
|
||||
# Copy resources
|
||||
cp "../cheats.zip" "../patches.zip" "data/resources"
|
||||
|
||||
# Are we creating a CI/official build?
|
||||
_tagpath="${startdir}/../../../src/scmversion/tag.h"
|
||||
if [[ -f "${_tagpath}" ]]; then
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
# SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2019-2025 Connor McLaughlin <stenzek@gmail.com>
|
||||
# SPDX-License-Identifier: CC-BY-NC-ND-4.0
|
||||
|
||||
# NOTE: These package files are intended for your own personal/private use.
|
||||
# You do not have permission to upload them independently to other package repositories.
|
||||
#
|
||||
# To build:
|
||||
# git clone https://github.com/stenzek/duckstation.git
|
||||
# rpmbuild -bb scripts/packaging/fedora/duckstation.spec
|
||||
# sudo rpm -ivh ~/rpmbuild/RPMS/duckstation-*.rpm
|
||||
|
||||
Name: duckstation
|
||||
Version: 0.0.0
|
||||
|
@ -14,7 +19,7 @@ BuildRequires: alsa-lib-devel, clang, cmake, dbus-devel, egl-wayland-devel, extr
|
|||
BuildRequires: extra-cmake-modules, freetype-devel, libavcodec-free-devel, libavformat-free-devel
|
||||
BuildRequires: libavutil-free-devel, libcurl-devel, libevdev-devel, libswresample-free-devel
|
||||
BuildRequires: libswscale-free-devel, libpng-devel, libwebp-devel, libX11-devel, libXrandr-devel
|
||||
BuildRequires: libzip-devel, libzstd-devel, lld, llvm, make, mesa-libEGL-devel, mesa-libGL-devel
|
||||
BuildRequires: libzip-devel, libzip-tools, libzstd-devel, lld, llvm, make, mesa-libEGL-devel, mesa-libGL-devel
|
||||
BuildRequires: ninja-build, patch, pipewire-devel pulseaudio-libs-devel, wayland-devel, zlib-devel
|
||||
BuildRequires: qt6-qtbase-devel, qt6-qtbase-private-devel, qt6-qttools, qt6-qttools-devel
|
||||
|
||||
|
@ -28,7 +33,7 @@ Requires: qt6-qtbase qt6-qtbase-gui qt6-qtimageformats qt6-qtsvg
|
|||
%undefine _include_frame_pointers
|
||||
|
||||
# Defines -O2, -flto, and others. We manage LTO ourselves.
|
||||
%global _general_options "-O2" "-pipe"
|
||||
%global _general_options "-O3" "-pipe"
|
||||
%global _preprocessor_defines ""
|
||||
|
||||
# We include debug information in the main package for user backtrace reporting.
|
||||
|
@ -44,6 +49,8 @@ DuckStation is an simulator/emulator of the Sony PlayStation(TM) console, focusi
|
|||
%prep
|
||||
%setup -n duckstation -c -T
|
||||
git clone file://%{SOURCEURL0} .
|
||||
curl -L -o "data/resources/cheats.zip" "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||
curl -L -o "data/resources/patches.zip" "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||
if [ -f "%{SOURCEURL0}/src/scmversion/tag.h" ]; then
|
||||
echo "Copying SCM release tag..."
|
||||
cp "%{SOURCEURL0}/src/scmversion/tag.h" src/scmversion
|
||||
|
|
|
@ -14,8 +14,8 @@ build-options:
|
|||
strip: true
|
||||
sources:
|
||||
- type: archive
|
||||
url: "https://github.com/libsdl-org/SDL/releases/download/release-3.2.2/SDL3-3.2.2.tar.gz"
|
||||
sha256: "d3dcf1b2f64746be0f248ef27b35aec4f038dafadfb83491f98a7fecdaf6efec"
|
||||
url: "https://github.com/libsdl-org/SDL/releases/download/release-3.2.4/SDL3-3.2.4.tar.gz"
|
||||
sha256: "2938328317301dfbe30176d79c251733aa5e7ec5c436c800b99ed4da7adcb0f0"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
|
|
Loading…
Reference in New Issue