forked from mirrors/gstreamer-rs
ci/install-{gst, gtk}: update meson command usage
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1176>
This commit is contained in:
parent
2bcc1884cb
commit
3fb604e653
3 changed files with 7 additions and 7 deletions
|
@ -22,7 +22,7 @@ PLUGINS="-D gst-plugins-base:ogg=enabled \
|
|||
-D gst-plugins-bad:opus=enabled \
|
||||
-D gst-plugins-ugly:x264=enabled"
|
||||
|
||||
meson build \
|
||||
meson setup build \
|
||||
-D prefix=/usr/local \
|
||||
-D gpl=enabled \
|
||||
-D ugly=enabled \
|
||||
|
@ -33,8 +33,8 @@ meson build \
|
|||
-D python=disabled \
|
||||
-D vaapi=disabled \
|
||||
$PLUGINS
|
||||
ninja -C build
|
||||
ninja -C build install
|
||||
meson compile -C build
|
||||
meson install -C build
|
||||
|
||||
cd ..
|
||||
rm -rf gstreamer/
|
||||
|
|
|
@ -7,11 +7,11 @@ BRANCH=4.8.2
|
|||
git clone https://gitlab.gnome.org/GNOME/gtk.git --branch $BRANCH --depth=1
|
||||
cd gtk
|
||||
|
||||
meson build \
|
||||
meson setup build \
|
||||
-D prefix=/usr/local \
|
||||
-Dbuild-tests=false \
|
||||
-Dwayland-protocols:tests=false
|
||||
ninja -C build
|
||||
ninja -C build install
|
||||
meson compile -C build
|
||||
meson install -C build
|
||||
cd ..
|
||||
rm -rf gtk/
|
||||
|
|
|
@ -48,7 +48,7 @@ $env:MESON_ARGS = "--prefix=C:\gst-install\ " +
|
|||
"-Dgst-plugins-good:lame=disabled "
|
||||
|
||||
Write-Output "Building gst"
|
||||
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"
|
||||
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson setup _build $env:MESON_ARGS && meson compile -C _build && meson install -C _build"
|
||||
|
||||
if (!$?) {
|
||||
Write-Host "Failed to build and install gst"
|
||||
|
|
Loading…
Reference in a new issue