2016-05-12 12:00:30 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
export DEST_OS=win32
|
|
|
|
export CC=gcc
|
|
|
|
export PKG_CONFIG=/usr/bin/pkg-config
|
|
|
|
export PERL=/usr/bin/perl
|
|
|
|
export PYTHON=/usr/bin/python3
|
|
|
|
|
|
|
|
"$PYTHON" bootstrap.py
|
|
|
|
"$PYTHON" waf configure \
|
|
|
|
--check-c-compiler=gcc \
|
2019-04-16 08:18:50 +00:00
|
|
|
--enable-spirv-cross \
|
2017-11-07 11:02:03 +00:00
|
|
|
--enable-d3d-hwaccel \
|
|
|
|
--enable-d3d11 \
|
2016-05-12 12:00:30 +00:00
|
|
|
--enable-jpeg \
|
|
|
|
--enable-lcms2 \
|
|
|
|
--enable-libarchive \
|
|
|
|
--enable-libass \
|
|
|
|
--enable-lua \
|
|
|
|
--enable-rubberband \
|
2017-11-07 11:02:03 +00:00
|
|
|
--enable-shaderc \
|
|
|
|
--enable-uchardet \
|
|
|
|
--enable-vulkan
|
2016-05-12 12:00:30 +00:00
|
|
|
"$PYTHON" waf build
|