mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-05 14:58:41 +00:00
ci: Don't install pango separately on Windows
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1298>
This commit is contained in:
parent
a53069208b
commit
f8bb992aaf
2 changed files with 1 additions and 29 deletions
|
@ -15,8 +15,7 @@ RUN choco install -y pkgconfiglite nasm llvm openssl
|
||||||
RUN setx PATH '%PATH%;C:\Program Files\NASM;C:\gst-install\bin'
|
RUN setx PATH '%PATH%;C:\Program Files\NASM;C:\gst-install\bin'
|
||||||
ENV PKG_CONFIG_PATH="C:\gst-install\lib\pkgconfig"
|
ENV PKG_CONFIG_PATH="C:\gst-install\lib\pkgconfig"
|
||||||
|
|
||||||
COPY install_pango.ps1 install_gst.ps1 install_gtk.ps1 install_dav1d.ps1 C:\
|
COPY install_gst.ps1 install_gtk.ps1 install_dav1d.ps1 C:\
|
||||||
RUN C:\install_pango.ps1
|
|
||||||
RUN C:\install_gst.ps1
|
RUN C:\install_gst.ps1
|
||||||
RUN C:\install_gtk.ps1
|
RUN C:\install_gtk.ps1
|
||||||
RUN C:\install_dav1d.ps1
|
RUN C:\install_dav1d.ps1
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
||||||
|
|
||||||
$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dharfbuzz:freetype=enabled -Dfreetype:harfbuzz=disabled"
|
|
||||||
|
|
||||||
# Download pango all its subprojects
|
|
||||||
git clone -b main --depth 1 https://gitlab.gnome.org/gnome/pango.git C:\pango
|
|
||||||
if (!$?) {
|
|
||||||
Write-Host "Failed to clone pango"
|
|
||||||
Exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
Set-Location C:\pango
|
|
||||||
|
|
||||||
Write-Output "Building pango"
|
|
||||||
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"
|
|
||||||
|
|
||||||
if (!$?) {
|
|
||||||
Write-Host "Failed to build and install pango"
|
|
||||||
Exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
cd C:\
|
|
||||||
cmd /c rmdir /s /q C:\pango
|
|
||||||
if (!$?) {
|
|
||||||
Write-Host "Failed to remove gtk checkout"
|
|
||||||
Exit 1
|
|
||||||
}
|
|
Loading…
Reference in a new issue