nixpkgs/pkgs/applications/editors/oni2/esy_skia_use_nixpkgs.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
1.0 KiB
Diff
Raw Normal View History

diff --git a/build-or.sh b/build.sh
index be0bc6f..fddc9cb 100644
--- a/build-or.sh
+++ b/build.sh
@@ -50,6 +50,6 @@ else
echo "llvm toolset-7.0 does not need to be manually activated"
fi
- bin/gn gen $cur__target_dir/out/Static --script-executable="$PYTHON_BINARY" "--args=cc=\"$CC\" cxx=\"$CXX\" skia_use_system_libjpeg_turbo=true esy_skia_enable_svg=true is_debug=false extra_cflags=[\"-I${ESY_LIBJPEG_TURBO_PREFIX}/include\"] extra_ldflags=[\"-L${ESY_LIBJPEG_TURBO_PREFIX}/lib\", \"-ljpeg\" ]" || exit -1
- ninja.exe -C $cur__target_dir/out/Static || exit -1
+ gn gen $cur__target_dir/out/Static --script-executable="$PYTHON_BINARY" "--args=cc=\"$CC\" cxx=\"$CXX\" skia_use_system_libjpeg_turbo=true skia_use_system_expat=true skia_use_system_icu=true skia_use_system_libpng=true esy_skia_enable_svg=true is_debug=false extra_cflags=[\"-I${ESY_LIBJPEG_TURBO_PREFIX}/include\"] extra_ldflags=[\"-L${ESY_LIBJPEG_TURBO_PREFIX}/lib\", \"-ljpeg\" ]" || exit -1
+ ninja -C $cur__target_dir/out/Static || exit -1
fi