From 46cf134aad442249497b5df2e1a12a86c82db022 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Mon, 27 Sep 2021 19:35:29 +1000 Subject: [PATCH] The Powder Toy: add build for secondary arch --- .../thepowdertoy/thepowdertoy-96.2.350.recipe | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/games-simulation/thepowdertoy/thepowdertoy-96.2.350.recipe b/games-simulation/thepowdertoy/thepowdertoy-96.2.350.recipe index 0f9dcfe57..f057e71dd 100644 --- a/games-simulation/thepowdertoy/thepowdertoy-96.2.350.recipe +++ b/games-simulation/thepowdertoy/thepowdertoy-96.2.350.recipe @@ -9,47 +9,49 @@ HOMEPAGE="http://powdertoy.co.uk/" COPYRIGHT="2008-2010 Stanislaw Skowronek 2010-2021 Simon Robertshaw" LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/simtr/The-Powder-Toy/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58" SOURCE_DIR="The-Powder-Toy-$portVersion" PATCHES="thepowdertoy-$portVersion.patchset" ADDITIONAL_FILES="thepowdertoy.rdef.in" -ARCHITECTURES="all" +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" PROVIDES=" - thepowdertoy = $portVersion + thepowdertoy$secondaryArchSuffix = $portVersion app:Powder = $portVersion " REQUIRES=" - haiku - lib:libbz2 - lib:libcurl - lib:libfftw3 - lib:libfftw3f - lib:liblua >= 5.1 - lib:libluajit_5.1 - lib:libsdl2_2.0 - lib:libz + haiku$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libcurl$secondaryArchSuffix + lib:libfftw3$secondaryArchSuffix + lib:libfftw3f$secondaryArchSuffix + lib:liblua$secondaryArchSuffix + lib:libluajit_5.1$secondaryArchSuffix + lib:libsdl2_2.0$secondaryArchSuffix + lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" - haiku_devel - devel:libbz2 - devel:libcurl - devel:libfftw3 - devel:libfftw3f - devel:liblua5.1 - devel:libluajit_5.1 - devel:libsdl2_2.0 - devel:libz + haiku${secondaryArchSuffix}_devel + devel:libbz2$secondaryArchSuffix + devel:libcurl$secondaryArchSuffix + devel:libfftw3$secondaryArchSuffix + devel:libfftw3f$secondaryArchSuffix + devel:liblua5.1$secondaryArchSuffix + devel:libluajit_5.1$secondaryArchSuffix + devel:libsdl2_2.0$secondaryArchSuffix + devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" - cmd:gcc + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix cmd:meson cmd:ninja - cmd:pkg_config + cmd:pkg_config$secondaryArchSuffix cmd:python3.7 "