mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-10-02 14:31:06 -05:00
Use nitrogfx's own meson.build instead of patch_directory
This commit is contained in:
@@ -69,4 +69,4 @@ elif is_wsl_accessing_windows; then
|
||||
fi
|
||||
|
||||
# Launch meson
|
||||
"${MESON:-meson}" setup --native-file=meson/"$native_file" --native-file="$build/root.ini" --cross-file=meson/"$cross_file" --cross-file="$build/root.ini" "$@" -- "$build"
|
||||
"${MESON:-meson}" setup -Dnitrogfx:native=true --native-file=meson/"$native_file" --native-file="$build/root.ini" --cross-file=meson/"$cross_file" --cross-file="$build/root.ini" "$@" -- "$build"
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
url = https://github.com/red031000/nitrogfx.git
|
||||
revision = head
|
||||
depth = 1
|
||||
patch_directory = nitrogfx_patch
|
||||
|
||||
[provide]
|
||||
program_names = nitrogfx
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
project('nitrogfx', 'c')
|
||||
|
||||
libpng_dep = dependency('libpng', native: true)
|
||||
|
||||
nitrogfx_exe = executable('nitrogfx',
|
||||
sources: [
|
||||
'main.c',
|
||||
'convert_png.c',
|
||||
'gfx.c',
|
||||
'jasc_pal.c',
|
||||
'lz.c',
|
||||
'rl.c',
|
||||
'util.c',
|
||||
'font.c',
|
||||
'huff.c',
|
||||
'json.c',
|
||||
'cJSON.c',
|
||||
],
|
||||
dependencies: libpng_dep,
|
||||
native: true
|
||||
)
|
||||
@@ -11,4 +11,4 @@ makelcf_exe = find_program('makelcf', native: true)
|
||||
makerom_exe = find_program('makerom', native: true)
|
||||
|
||||
# External tools
|
||||
nitrogfx_exe = subproject('nitrogfx').get_variable('nitrogfx_exe')
|
||||
nitrogfx_exe = find_program('nitrogfx', native: true)
|
||||
|
||||
Reference in New Issue
Block a user