[Spice-devel] [spice-gtk 2/2] meson: mingw: add windows configuration

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jan 18 10:42:24 UTC 2019


Hi

On Fri, Jan 18, 2019 at 1:57 PM Victor Toso <victortoso at redhat.com> wrote:
>
> From: Victor Toso <me at victortoso.com>
>
> Using fedora 29 mingw paths. Not hardcoding prefix but keeping a
> comment that should be added in case one would like to install over
> what they have in the system :)
>
> Signed-off-by: Victor Toso <victortoso at redhat.com>

Not needed, F29 ships with its own meson mingw cross file and helper
mingw{32,64}-meson.

See also "Drop autotools" .gitlab-ci diff.


> ---
>  meson_mingw.txt | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 meson_mingw.txt
>
> diff --git a/meson_mingw.txt b/meson_mingw.txt
> new file mode 100644
> index 0000000..8a088fc
> --- /dev/null
> +++ b/meson_mingw.txt
> @@ -0,0 +1,18 @@
> +# Options for installing in a Fedora 29
> +# meson win-build --cross-file meson_mingw.txt \
> +# -Dprefix=/usr/x86_64-w64-mingw32/sys-root/mingw \
> +# -Dlibdir=lib
> +
> +[binaries]
> +c = '/usr/bin/x86_64-w64-mingw32-gcc'
> +cpp = '/usr/bin/x86_64-w64-mingw32-g++'
> +ar = '/usr/bin/x86_64-w64-mingw32-ar'
> +strip = '/usr/bin/x86_64-w64-mingw32-strip'
> +pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
> +#exe_wrapper = 'wine' # A command used to run generated executables.
> +
> +[host_machine]
> +system = 'windows'
> +cpu_family = 'x86'
> +cpu = 'x86_64'
> +endian = 'little'
> --
> 2.20.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau


More information about the Spice-devel mailing list