ci: remove gst build from windows docker

Build gstreamer as a subproject
This commit is contained in:
Stéphane Cerveau 2023-04-21 12:23:23 +02:00
parent d6521efeb6
commit d1eafd2b80
3 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,4 @@
variables:
GST_RS_IMG_TAG: '2023-04-12.1'
GST_RS_IMG_TAG: '2023-04-21.0'
GST_RS_STABLE: '1.67.0'
GST_RS_MSRV: '1.63.0'

View file

@ -6,7 +6,7 @@ FROM "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2023-03-20.0-ma
ENV ErrorActionPreference='Stop'
SHELL ["powershell","-NoLogo", "-NonInteractive", "-Command"]
ARG DEFAULT_GST_BRANCH="1.22"
#ARG DEFAULT_GST_BRANCH="1.22"
ARG DEFAULT_GTK_BRANCH="4.8.2"
ARG DEFAULT_PANGO_BRANCH="1.50.14"
ARG RUST_VERSION="invalid"
@ -17,11 +17,15 @@ RUN choco install -y pkgconfiglite nasm llvm
RUN setx PATH '%PATH%;C:\Program Files\NASM;C:\gst-install\bin;c:\Program Files\gettext-iconv\bin'
ENV PKG_CONFIG_PATH="C:\gst-install\lib\pkgconfig"
COPY install_pango.ps1 install_gst.ps1 install_gtk.ps1 C:\
COPY install_pango.ps1 C:\
RUN C:\install_pango.ps1
RUN C:\install_gst.ps1
# COPY install_gst.ps1 C:\
# RUN C:\install_gst.ps1
COPY install_gtk.ps1 C:\
RUN C:\install_gtk.ps1
RUN Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile C:\rustup-init.exe
RUN C:\rustup-init.exe -y --profile minimal --default-toolchain $env:RUST_VERSION

View file

@ -1,6 +1,6 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
$env:MESON_ARGS = "--prefix=C:\gst-install\"
$env:MESON_ARGS = "-Dmedia-gstreamer=disabled --prefix=C:\gst-install\"
# Download gtk and all its subprojects
git clone -b $env:DEFAULT_GTK_BRANCH --depth 1 https://gitlab.gnome.org/gnome/gtk.git C:\gtk