Search Criteria
Package Details: mingw-w64-meson 1-26
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-meson.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-meson |
Description: | Meson wrapper for MinGW (mingw-w64) |
Upstream URL: | http://fedoraproject.org/wiki/MinGW |
Licenses: | GPL |
Submitter: | drakkan |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 8 |
Popularity: | 0.000000 |
First Submitted: | 2018-04-23 10:40 (UTC) |
Last Updated: | 2025-01-20 00:19 (UTC) |
Dependencies (5)
- meson (meson-gitAUR)
- mingw-w64-gcc (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR, llvm-mingwAUR)
- mingw-w64-pkg-configAUR (llvm-mingw-w64-pkg-configAUR)
- mingw-w64-environmentAUR (llvm-mingw-w64-environmentAUR) (make)
- mingw-w64-wineAUR (optional) – Set NEED_WINE env variable in your PKGBUILD to use wine support in meson
Required by (55)
- mingw-w64-adwaita-icon-theme (make)
- mingw-w64-cairo (make)
- mingw-w64-cairo-bootstrap (make)
- mingw-w64-cairomm (make)
- mingw-w64-cairomm-1.16 (make)
- mingw-w64-dav1d (make)
- mingw-w64-dbus (make)
- mingw-w64-directx-headers (make)
- mingw-w64-freetype2 (make)
- mingw-w64-freetype2-bootstrap (make)
- mingw-w64-fribidi (make)
- mingw-w64-gdk-pixbuf2 (make)
- mingw-w64-glib-networking (make)
- mingw-w64-glib2 (make)
- mingw-w64-glibmm (make)
- mingw-w64-glibmm-2.68 (make)
- mingw-w64-graphene (make)
- mingw-w64-grvk (make)
- mingw-w64-gst-editing-services (make)
- mingw-w64-gst-libav (make)
- Show 35 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6
Martchus commented on 2018-12-22 17:50 (UTC)
Not having -g is good enough for me right now. But good to know about the environment variable.
drakkan commented on 2018-12-22 17:32 (UTC) (edited on 2018-12-22 18:09 (UTC) by drakkan)
@Martchus, actually you can set CROSS_FILE env var that points to a different cross file. This should be enough for egde cases.
I agree that defaults flags should be consistent in mingw-w64-configure, cmake and meson, so I have no problem to change the meson defaults if we agree so.
Maybe we can do something similar to fedora
https://src.fedoraproject.org/fork/qulogic/rpms/mingw-filesystem/blob/master/f/macros.mingw64#_154
I can remove c_args and cpp_args from the cross file and so the env var should be used
Martchus commented on 2018-12-22 14:16 (UTC)
Since this package also hard codes linker flags: https://aur.archlinux.org/packages/mingw-w64-cmake/#comment-675194
Maybe it is not so easy to make the flags configurable via environment variables in case of meson. But the defaults could still be adjusted. The good thing is that the build flag which is my main concern (
-g
) isn't present in your package anyways.drakkan commented on 2018-09-03 16:05 (UTC)
I just compiled mingw-w64-gcc and retested glib complitation and it works for me.
Anyway your patch should not hurts, so I think I'll apply it later today, thanks!
Martchus commented on 2018-09-03 14:20 (UTC)
Could you
git am
this patch: https://martchus.no-ip.biz/shares/a4f78bd3d1154882e0feb89711c615/0001-Use-gcc-ar-instead-of-ar.patch ?See recent comments under https://aur.archlinux.org/packages/mingw-w64-glib2 for details.
jackoneill commented on 2018-06-12 20:23 (UTC)
And probably -Wall interferes with the --warnlevel parameter.
jackoneill commented on 2018-06-12 20:05 (UTC)
Hi! The -O2 and -g compiler parameters interfere with meson's --buildtype parameter.
Example of a compile command with --buildtype=release:
i686-w64-mingw32-g++ -Idecross@sha -I. -I.. -I/usr/i686-w64-mingw32/include -I/usr/include/vapoursynth -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O3 -Wall -Wextra -Wshadow -mfpmath=sse -msse2 -mstackrealign -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MD -MQ 'decross@sha/src_decross.cpp.obj' -MF 'decross@sha/src_decross.cpp.obj.d' -o 'decross@sha/src_decross.cpp.obj' -c ../src/decross.cpp
And with --buildtype=debug:
i686-w64-mingw32-g++ -Idecross@sha -I. -I.. -I/usr/i686-w64-mingw32/include -I/usr/include/vapoursynth -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -Wall -Wextra -Wshadow -mfpmath=sse -msse2 -mstackrealign -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MD -MQ 'decross@sha/src_decross.cpp.obj' -MF 'decross@sha/src_decross.cpp.obj.d' -o 'decross@sha/src_decross.cpp.obj' -c ../src/decross.cpp
In both cases the compiler uses -O2 because it appears later.
drakkan commented on 2018-05-10 15:43 (UTC)
Thanks! I'll merge these changes later today, I'm only a bit uncertain about wine, this way wine will be a required depends for meson since if it is not installed meson will crash with this error
FileNotFoundError: [Errno 2] No such file or directory: 'wine': 'wine'
I'll try to investigate this error
kfg commented on 2018-05-10 13:55 (UTC)
Hi
some of my packages have moved to meson and i thought it would be nice to have wrapper scripts like in the mingw-w64-configure and mingw-w64-cmake packages. So I made a template for mingw64 meson wrapper scripts based on the arch-meson script.
I've uploaded the changes here: https://pastebin.com/raw/HY2qiJEG
I also added exe_wrapper = 'wine' to the [binaries] section in the toolchain template. This is necessary for building some packages since they need to run the created windows executables to generate configs/build files or they run test binaries in the check() step.
« First ‹ Previous 1 2 3 4 5 6