mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
Meta+Ports: Automatically generate a meson cross file that we can use
This commit is contained in:
parent
0057b24b9e
commit
fb877effb8
11 changed files with 36 additions and 70 deletions
2
Ports/glib/.gitignore
vendored
2
Ports/glib/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
!cross_file-i686.txt
|
||||
!cross_file-x86_64.txt
|
|
@ -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'
|
|
@ -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'
|
|
@ -4,7 +4,7 @@ version='2.73.0'
|
|||
files="https://gitlab.gnome.org/GNOME/glib/-/archive/${version}/glib-${version}.tar.gz glib-${version}.tar.gz 3f573319adbdf572d79255e8bae85c7e2902d1aa6177d2646605a00c0a607eca"
|
||||
auth_type='sha256'
|
||||
useconfigure='true'
|
||||
configopts=("--cross-file" "../cross_file-${SERENITY_ARCH}.txt")
|
||||
configopts=("--cross-file" "${SERENITY_BUILD_DIR}/meson-cross-file.txt")
|
||||
depends=("libiconv" "libffi" "zlib" "gettext" "pcre")
|
||||
|
||||
configure() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue