1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 13:47:34 +00:00

Meta+Ports: Automatically generate a meson cross file that we can use

This commit is contained in:
Tim Schumacher 2022-07-09 16:14:03 +02:00 committed by Linus Groh
parent 0057b24b9e
commit fb877effb8
11 changed files with 36 additions and 70 deletions

View file

@ -1,2 +0,0 @@
!cross_file-i686.txt
!cross_file-x86_64.txt

View file

@ -1,16 +0,0 @@
[binaries]
c = 'i686-pc-serenity-gcc'
cpp = 'i686-pc-serenity-g++'
ar = 'i686-pc-serenity-ar'
ranlib = 'i686-pc-serenity-ranlib'
pkgconfig = 'pkg-config'
[properties]
sys_root = '../../../../Build/i686/Root'
needs_exe_wrapper = true
[host_machine]
system = 'serenity'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'

View file

@ -1,16 +0,0 @@
[binaries]
c = 'x86_64-pc-serenity-gcc'
cpp = 'x86_64-pc-serenity-g++'
ar = 'x86_64-pc-serenity-ar'
ranlib = 'x86_64-pc-serenity-ranlib'
pkgconfig = 'pkg-config'
[properties]
sys_root = '../../../../Build/x86_64/Root'
needs_exe_wrapper = true
[host_machine]
system = 'serenity'
cpu_family = 'x86'
cpu = 'x86_64'
endian = 'little'

View file

@ -2,7 +2,7 @@
port=powdertoy
version=96.2.350
useconfigure=true
configopts=("-Dbuildtype=release" "build-release" "--cross-file" "../cross_file-${SERENITY_ARCH}.txt")
configopts=("-Dbuildtype=release" "build-release" "--cross-file" "${SERENITY_BUILD_DIR}/meson-cross-file.txt")
depends=("luajit" "curl" "libfftw3f" "zlib" "SDL2")
files="https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${version}.tar.gz The-Powder-Toy-${version}.tar.gz d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58"
auth_type=sha256