thepowdertoy: update to version 97.0.352 (#8700)

- Switch to Python 3.9
- Clean-up/Fix dependencies.
This commit is contained in:
OscarL
2023-05-21 11:45:17 -03:00
committed by GitHub
parent d71460b2ed
commit 44e22950d3
2 changed files with 8 additions and 6 deletions

View File

@@ -9,9 +9,9 @@ HOMEPAGE="http://powdertoy.co.uk/"
COPYRIGHT="2008-2010 Stanislaw Skowronek
2010-2021 Simon Robertshaw"
LICENSE="GNU GPL v3"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/simtr/The-Powder-Toy/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58"
CHECKSUM_SHA256="3ab27e1b9a84db1da7342e61232ad5be981ca1ddf001c4924fd08b61cc8d287a"
SOURCE_DIR="The-Powder-Toy-$portVersion"
PATCHES="thepowdertoy-$portVersion.patchset"
ADDITIONAL_FILES="thepowdertoy.rdef.in"
@@ -29,8 +29,9 @@ REQUIRES="
lib:libcurl$secondaryArchSuffix
lib:libfftw3$secondaryArchSuffix
lib:libfftw3f$secondaryArchSuffix
lib:liblua$secondaryArchSuffix
lib:libjsoncpp$secondaryArchSuffix
lib:libluajit_5.1$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libsdl2_2.0$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
@@ -41,8 +42,9 @@ BUILD_REQUIRES="
devel:libcurl$secondaryArchSuffix
devel:libfftw3$secondaryArchSuffix
devel:libfftw3f$secondaryArchSuffix
devel:liblua5.1$secondaryArchSuffix
devel:libjsoncpp$secondaryArchSuffix
devel:libluajit_5.1$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libsdl2_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
@@ -52,14 +54,14 @@ BUILD_PREREQUIRES="
cmd:meson
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
cmd:python3.7
cmd:python3
"
BUILD()
{
export DISABLE_ASLR=1
meson build
meson build --buildtype=release -Dworkaround_elusive_bzip2_include_dir=""
ninja -C build $jobArgs
}