windows: build is now using gstreamer from subproject

This commit is contained in:
Stéphane Cerveau 2023-04-21 12:16:32 +02:00
parent 5fbd3eb7f6
commit d6521efeb6

View file

@ -1,5 +1,17 @@
$env:MESON_ARGS = "--prefix=C:\gst-install\" $env:MESON_ARGS = "-Dforce_fallback_for=gstreamer-1.0,glib,libffi,pcre2 " +
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson _build $env:MESON_ARGS && meson compile -C _build && ninja -C _build install" "-Dgstreamer-1.0:libav=disabled " +
"-Dgstreamer-1.0:examples=disabled " +
"-Dgstreamer-1.0:introspection=disabled " +
"-Dgstreamer-1.0:rtsp_server=disabled " +
"-Dgstreamer-1.0:devtools=disabled " +
"-Dgstreamer-1.0:tests=disabled " +
"-Dgst-plugins-bad:openexr=disabled -Dgstreamer-1.0:gst-examples=disabled " +
"-Dorc:gtk_doc=disabled " +
"-Dgstreamer-1.0:python=disabled " +
"--prefix=C:\gst-install\"
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson builddir $env:MESON_ARGS && meson compile -C builddir && ninja -C builddir install"
if (!$?) { if (!$?) {
Write-Host "Failed to build and install GstPipelineStudio" Write-Host "Failed to build and install GstPipelineStudio"
Exit 1 Exit 1