summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
Diffstat (limited to 'env')
-rw-r--r--env/android_build.txt4
-rw-r--r--env/mingw_build.sh12
-rw-r--r--env/mingw_build.txt18
3 files changed, 22 insertions, 12 deletions
diff --git a/env/android_build.txt b/env/android_build.txt
new file mode 100644
index 0000000..7855be7
--- /dev/null
+++ b/env/android_build.txt
@@ -0,0 +1,4 @@
+#! /usr/bin/env sh
+meson setup build-android -Dserver=disabled -Drenderer-api=gl -Dwindow=glfm \
+ -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=mediacodec \
+ --cross-file ./cross/aarch64-linux-android.txt --default-library=static
diff --git a/env/mingw_build.sh b/env/mingw_build.sh
deleted file mode 100644
index 805c4f5..0000000
--- a/env/mingw_build.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /usr/bin/env sh
-meson setup build-mingw64 -Drenderer-api=vulkan -Drenderer=libplacebo \
- -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
- -Dcodecs=ffmpeg -Dcodec-hwaccel=enabled -Dsubtitles=enabled \
- -Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
- --default-library=static --buildtype=release --optimization=2 -Ddebug=false --strip
-
-meson setup build-mingw32-min -Drenderer-api=gl -Drenderer=momo \
- -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
- -Dcodecs=ffmpeg -Dcodec-hwaccel=disabled -Dsubtitles=enabled \
- -Dtests=disabled -Dwin32-compat=true --cross-file ./cross/i686-w64-mingw32.txt \
- --default-library=static --buildtype=release --optimization=s -Ddebug=false --strip
diff --git a/env/mingw_build.txt b/env/mingw_build.txt
new file mode 100644
index 0000000..e091f9a
--- /dev/null
+++ b/env/mingw_build.txt
@@ -0,0 +1,18 @@
+meson setup build-mingw64-vulkan -Drenderer-api=vulkan -Drenderer=libplacebo -Dwindow=win32 \
+ -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
+ -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=vulkan -Dsubtitles=enabled \
+ -Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
+ --default-library=static --buildtype=release --optimization=2 -Ddebug=false --strip
+
+meson setup build-mingw64-dx11 -Drenderer-api=dx11 -Drenderer=libplacebo -Dwindow=win32 \
+ -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
+ -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=d3d11va -Dsubtitles=enabled \
+ -Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
+ --default-library=static --buildtype=release --optimization=s -Ddebug=false --strip
+
+# Windows XP 32bit Support.
+meson setup build-mingw32-min -Drenderer-api=gl -Drenderer=momo -Dwindow=win32 \
+ -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
+ -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=3 -Dsubtitles=enabled \
+ -Dtests=disabled -Dwin32-compat=true --cross-file ./cross/i686-w64-mingw32.txt \
+ --default-library=static --buildtype=release --optimization=s -Ddebug=false --strip