Created attachment 358962 [details] mingw64-runtime-3.0.9999.ebuild Hi, Today I noticed 3.0 was released, but then reverted after few hours. Branch exist so we can prepare. Attached is a live ebuild for the 3.x series, I hope I got it right. I am attaching full ebuild as there were significant changes. Working for win32 and win64. Thanks!
Released!
Created attachment 359310 [details] mingw64-runtime-3.0.0.ebuild
Comment on attachment 359310 [details] mingw64-runtime-3.0.0.ebuild you should really post diffs, not whole files have you tested bootstrapping from nothing ? `crossdev -C mingw64 && crossdev mingw64` ... >KEYWORDS="~x86 ~amd64" >IUSE="crosscompile_opts_headers-only tools idl" keep things sorted >src_configure() { > if just_headers; then > extra_conf="--without-crt" > else > extra_conf=" \ > --with-crt \ > $(use_with tools) \ > " > fi declare extra_econf as `local`, and change it to an array > case "${CTARGET}" in drop the quotes > x86_64*) extra_conf="${extra_conf} --disable-lib32 --enable-lib64" ;; > i686*) extra_conf="${extra_conf} --enable-lib32 --disable-lib64" ;; i686 misses other x86 targets. and it should `die` if the target is unknown. also unindent it so the case statements are the same level as the `case` and `esac`
(In reply to SpanKY from comment #3) > Comment on attachment 359310 [details] > mingw64-runtime-3.0.0.ebuild > > you should really post diffs, not whole files comment#0... I am attaching full ebuild as there were significant changes. > > have you tested bootstrapping from nothing ? `crossdev -C mingw64 && > crossdev mingw64` ... yes, will try again. thanks for the comments.
Created attachment 359706 [details, diff] mingw64-runtime-3.0.0.ebuild.diff Updated ebuild. diff per on your request. I hope I addressed all your comments. Tested using: crossdev -C -t x86_64-w64-mingw32 crossdev -t x86_64-w64-mingw32 crossdev -C -t i686-w64-mingw32 crossdev -t i686-w64-mingw32
Comment on attachment 359706 [details, diff] mingw64-runtime-3.0.0.ebuild.diff >+ if just_headers; then >+ extra_conf+=( "--without-crt" ) >+ else >+ extra_conf+=( >+ "--with-crt" >+ "$(use_with tools)" i would drop the quotes with these flags as they're unnecessary. it also makes it harder for syntax highlighters do their job. >+ ${extra_conf[@]} this should have quotes though so it is properly expanded
Created attachment 359726 [details, diff] mingw64-runtime-3.0.0.ebuild.diff Thanks! Handled quotes.
(In reply to Alon Bar-Lev from comment #7) LGTM; feel free to commit
(In reply to SpanKY from comment #8) > (In reply to Alon Bar-Lev from comment #7) > > LGTM; feel free to commit Done. CC me on every issue. Thanks!