diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-util/mingw64-runtime | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/mingw64-runtime')
21 files changed, 0 insertions, 1811 deletions
diff --git a/dev-util/mingw64-runtime/Manifest b/dev-util/mingw64-runtime/Manifest deleted file mode 100644 index 906d226b5c4e..000000000000 --- a/dev-util/mingw64-runtime/Manifest +++ /dev/null @@ -1,30 +0,0 @@ -AUX mingw64-runtime-4.0.1-build.patch 2981 BLAKE2B 10d65cddf96527ef5909106526dc8a5e977ffb3c216b78fdccc55ed9f4178b78424ea455a2cd150c6f90fca62dab0fc4c434ebc9df5662156d795437a95daa9d SHA512 6495f898b736188800b1fc02956cfe021c7668a2d38d8acabc2d035e90aa1d72d761ae15141396f8d3dad8ac7111dcaac5fdb0c59c0d34bd2d820e54ab30c89d -AUX mingw64-runtime-4.0.1-winpthreads.patch 3142 BLAKE2B 7e70e058aa3e96d638c0f617c912ea42edf3a696acc907b3aef4d39e8207fd60ff8260168136da651d396ab85a6139a02e763dbf176df1930ac0a9fc1282b6e9 SHA512 5a4e34257f0eb9f3f9b51677459111b08b389dbebf3f29d30d99dcccd06e41bf1b82d6d0a1ce01fbfa5c0833bff205679203a0146d77b5416ef277c4c047a492 -AUX mingw64-runtime-5.0.2-implicit-fallthrough.patch 1329 BLAKE2B 597fe524eb50da22f4f034301bba2287a290a0b3125f76943a892bdd65fcc2b319a52791a4adaed18b4ff25040f4f534a1fbfa2686e1e7d478a145bcfb6c3d01 SHA512 9de46f074d42fd7dcc7b9ce01343eae22d803a8f20662b57e309aad5c7f349552048fe2ab39983b5f7e4b7b703617e6e884ef2714c9a67ea47129d4ae6dd1f8b -AUX mingw64-runtime-5.0.2-locale.patch 595 BLAKE2B 475bb6aef664821d7e1f94c1188774840ff93c00671b6f2ffc2a42c1eced5334f8805d9c718f82550926c50b5779020e57c181d43ec00d4452b48d1cd7d092a2 SHA512 82d1fc293be628f8e967a108001d0e04c53e6c4581be2aa954e05c07e52473a6ffb4cedffc1f27202ea607316e6d38e64997ccc8d3eaee44125ec795d9a30553 -AUX mingw64-runtime-5.0.3-build.patch 1116 BLAKE2B 18ac65c7c7dbc94ca9101f4221407f656702f178ce4d9bfe5647205fccde201d8945a282084e751aef041d37fd72ca041b7f491eb006177e18609b06db7a7b6a SHA512 5f3cebbb246e831617e020e240b8c700be0c31e7fe85a0da30ee36b2e5184fff4061ea205e4e7afa6105d8fcc79b8a956238a6342c314b8c3b38d2da6a8cc0ec -DIST mingw-w64-v3.0.0.tar.bz2 7012419 BLAKE2B a1c7f4cb1b25bfb8e44ae782895a7f6fd9deb17bcdfae3a6184a8da562fc2f371df693b2a423a58c626a327b3b70b20ae9ba10db0936dbfcc1236d6cc4f2af0e SHA512 7fc438908328ae4429f79dfaaae92bc7e88bc0f46517bdebdc3c45b3e8062ff6c27f166eb51103c2d49aae01851d82f33e0b031c8d98198baaeb119e19221989 -DIST mingw-w64-v3.1.0.tar.bz2 7021162 BLAKE2B d7e757911ebedb57c7ad9d4a7926e6fbadc171caad1ad9c3e6117538bffff65e07e3e732a697abc0925293079d863240efbae3d58180052dc33e2eb6346dfbd7 SHA512 9f418694aa0f072e2f08766fcee8929ac3022187750028781336243e050495b9709bb9ae87b4a83a8e9d3856478c525d8636277a4c219e282421b269dafa68d8 -DIST mingw-w64-v3.2.0.tar.bz2 7053254 BLAKE2B 29ba4837f8bf970a76a1a7159f58fba1058d805d4a6c033ba5d13eebb506dd5ef3d4a8dc11a253fc7b10350a813012194c0fcea9eb234d556e6577fd3197f4cc SHA512 dd483bcf7ba0e698a33a0b02a811b181e601cd344b87dafd0f6c477f68efb9a617a4109046fd06735242623f87833cf97688f057583e1378d6d84e7818927593 -DIST mingw-w64-v4.0.1.tar.bz2 10803072 BLAKE2B 7863b388a9cb011e9ff6e4adec9ef0b3842c7bfabca8812287dc5dff7ba9f2cf35a097322ec8e117fd41a36b7b05d305abd8e7c45747b76ea8fda85f037c276e SHA512 a216a09a460c56c29208aee1e1cdb428e856f9c8d59dd399723ccf6d549368f0a13a6aacb046d211ddec7c0a1f1c227d5dd599e4f0c33ba4b6d9c92bd0a7fa1b -DIST mingw-w64-v4.0.4.tar.bz2 10812375 BLAKE2B 59180d741e0b4325a4c02690a21f8a04304e46744c5a986ef79a13fe1d68a1d25a7ff7866232e4f09937a3cb8442cb2497c781dd5cab42e11a1bbe2c5b76ddfd SHA512 06de6b592f776676184a9c50c63eb105c82a912965dee5d8217f9b5b325e0258c188f5d7d5e28aaeacf7bad44ce5d36bd837b9f1cbb91358754787738fb15146 -DIST mingw-w64-v4.0.6.tar.bz2 10853871 BLAKE2B a166692d4ddbf740f566abc844d577d38b9cfe436f4d0a55c7e8bca2708bd92c6cfe1be072fae428d88c682215d390ec1ff15b38485540adb2b77dd8724f1837 SHA512 c9ec75b10fe40d80e620b569ca8f452b1f78e9e4dd45ad087a2b69297dc661d06aa30255ea310786f28c042256c35a1d3e709ff7ea8bc19e7f4ea914c120f020 -DIST mingw-w64-v5.0.1.tar.bz2 9160780 BLAKE2B 52964e7ae113d8886648cb0395514067fa054840d153e86407317ccd2f299fccb6d21f76c773e1e2ef22b2c00b53728c18065091125a000750395e96fb601f05 SHA512 73b746f227930597a97f117cf9f9aa19ddabb6090907cf6850864cf30089e5d6e1cd07e257b3b0b9ae0ac762cb24a6f5acf7336c9be48760c975ac038569dcfa -DIST mingw-w64-v5.0.2.tar.bz2 9107077 BLAKE2B b8e3e614fe4a1ea6a4770efdd029300e923e3b7b39b71731692281da44f468b235d487d38d7e1b4396e1b44a4c60fcc7a67a6c1331fb46e339c13c86bf7de7bd SHA512 430065a822afb9901219b1f86ea221ae70ef7820ea298f51828bf1689a014115dade967a806388b7ee3ed1ea1d6c53970514ec64d0185b5024523093d9e96060 -DIST mingw-w64-v5.0.3.tar.bz2 9160627 BLAKE2B 941b40c426548564e8b2da0af8e917dad34bdbf0b05c63ea2127e39139bcce5d86e80433817483c64cd2a6ef6140a7818a76564ff5d9408614ecaa58f17b41e7 SHA512 85bc0244cd30ef38262792d61502a012348b8220ef249352b68ddfa40663ca1cae5f81bed70caa9579469fad6ad16a95f02387c280effeda7ce8287b549f3fc9 -DIST mingw-w64-v5.0.4.tar.bz2 9163093 BLAKE2B fd039995c73690c12ddf1612d42edefbb572386b2ca8508fd5a5edd9e715ced41c05c62efec8eda07b9ec7a1e9e658bf3b3dedeb18695a076b5bc2067e86d68d SHA512 5b279222e86475a982e2aeb9fc14853f4fac0ca0c5a2d56f303584d1b348726afd99b0292a5ed050d326e7cb1434e5ad5b5dfdfb37c73fd08f13e7f4f4bcc046 -EBUILD mingw64-runtime-3.0.0.ebuild 1777 BLAKE2B f561aa2e16d977314513aad7255eed44bf86217c710d66f763ad89b63499674fbe221ab156788588bdfefae74d3501d8f698f1b74f8b130d37cc0949593f8c51 SHA512 f5a3baf2bd4dd0a1526db279cd428d6502f8eed03d001b6de7ff5ff582fcb4de14d12f7290cb881a8eb11810f34108b160fcd220d65cf31fea327329ee5c4664 -EBUILD mingw64-runtime-3.1.0.ebuild 1777 BLAKE2B f561aa2e16d977314513aad7255eed44bf86217c710d66f763ad89b63499674fbe221ab156788588bdfefae74d3501d8f698f1b74f8b130d37cc0949593f8c51 SHA512 f5a3baf2bd4dd0a1526db279cd428d6502f8eed03d001b6de7ff5ff582fcb4de14d12f7290cb881a8eb11810f34108b160fcd220d65cf31fea327329ee5c4664 -EBUILD mingw64-runtime-3.2.0-r1.ebuild 1777 BLAKE2B f561aa2e16d977314513aad7255eed44bf86217c710d66f763ad89b63499674fbe221ab156788588bdfefae74d3501d8f698f1b74f8b130d37cc0949593f8c51 SHA512 f5a3baf2bd4dd0a1526db279cd428d6502f8eed03d001b6de7ff5ff582fcb4de14d12f7290cb881a8eb11810f34108b160fcd220d65cf31fea327329ee5c4664 -EBUILD mingw64-runtime-4.0.1.ebuild 2548 BLAKE2B aef0473dfc7211ac19ff4f57e080a881d1c0c7d282ac2432549f5a2ee425c529a419e25009352daa58188a6d4a07b79fb54b5b07ac9643bd9e170814fa60e1b1 SHA512 38c1ce7514a4fa35931d3fc8b97a0bd5f0e1027ee9d7b07326f7e7f2598fa747f94bfb6d750d98fc15841a2ccaa45a9f321e4ef0a2aecb4ba49e7598003c152b -EBUILD mingw64-runtime-4.0.4.ebuild 2562 BLAKE2B fde901cf5ecbfb20c0cf94a847f41b6eaa4c2b12a308fc754b2f31808e611574168f80535a71ee8ab55a4ead555a109a944cb492f5fb6cd558ee644c4c2a9b65 SHA512 51bcd841320ca40b48453e4cf8832ca494751a5d5c9f7014b326eff92d3e16a2c11d8e8074aa9066cdbc44007c2914d5f3abeed2a0cc1c4f02434504e12b1149 -EBUILD mingw64-runtime-4.0.6.ebuild 2516 BLAKE2B eba545412da47c8d2adfab359c12071619a0f7b10fb925382dcc3ec09b4de52c51db3c633ef923c0dfcfc3cd55cf9c872216da4d6dc5f0fbb18d623c26f5b777 SHA512 a60f10631f26e8eb26aa7ad071af73115c2c7ec84ef39d73d228a4bc038cc2f10788401424d845264f09b0a74682f53d6bd8362005b8c8abc93e16681faf4392 -EBUILD mingw64-runtime-5.0.1.ebuild 2524 BLAKE2B f9ab5353a35a61bc2f41720825ae5329e7b8fdc81e96c8ebfa5bad6ea99e8b09fbf10c51344c69ff17b3f1892ae6ea2cf92def90d458a0523e86581f5ba6af32 SHA512 91d08c3b756d0ec758a02f3180d1f2f7392b7416e843b2645325469f125fdf6eeca9cf4b236930c6ebcdc595c97734c5c19854763e4051e00a3e272a272d916f -EBUILD mingw64-runtime-5.0.2-r1.ebuild 2615 BLAKE2B fda70d33c5c91481a162f88e431996582fb0da14b6a6c725aa1879780a9b993fa18bd522a9808f71cdf6b2eda5205b073a5e24ff2f605e74327318cc5ccc88ad SHA512 9c6520b42eaa6f06ab03da66284a6648b6d787323367ebd6b0be57c116a7644f131492779023fd1a8708fd8711347247e199a0aee9783fe51b6d11ef76e33528 -EBUILD mingw64-runtime-5.0.2-r2.ebuild 2655 BLAKE2B 1b9cf748d095cc8c7d7683a07462b8c9ea8116418bd549a93d4392f8bfd61b60d70a50bf4d8102f7b271c56b86768f879a745140b29b7b7a2057feae85e44ce7 SHA512 38e16934a793b9c1fe05a4f611682fffbb336e509d49ada6c9bfacb97d55144815177986b892e9650e3842a47699229efc154ff842f4db034bf91f3e21c86b2b -EBUILD mingw64-runtime-5.0.2.ebuild 2524 BLAKE2B f9ab5353a35a61bc2f41720825ae5329e7b8fdc81e96c8ebfa5bad6ea99e8b09fbf10c51344c69ff17b3f1892ae6ea2cf92def90d458a0523e86581f5ba6af32 SHA512 91d08c3b756d0ec758a02f3180d1f2f7392b7416e843b2645325469f125fdf6eeca9cf4b236930c6ebcdc595c97734c5c19854763e4051e00a3e272a272d916f -EBUILD mingw64-runtime-5.0.3-r1.ebuild 2572 BLAKE2B 9caca29d8aa7fdf54d3437a3801d7640bac7e4c9becd805b311a7247103d8772b8cfcef553db1175ed7b4973bd6667a5f7715b2179b1e66a0e44f90d366e9fae SHA512 c7b33d49e829790eaddd9739c5077a036a68ec0beae3e9d0a39687870028fc4a757878d6be89900ba56ac08cedfd5e7f90f4c1a26591902332de2b0a23dbde9f -EBUILD mingw64-runtime-5.0.3-r2.ebuild 2683 BLAKE2B 92ccdb40cc2ebdc49bc903da98384f82a5fd7836f990b861662bdfb338478339702831b1e13c46301fd2329f2718e22357af0edc56dee238a75ff938207975bb SHA512 67946916dcc13cbae20ed39e8d90ad0905fd3179f3aed454e41dc48d417db33db61e374bbe00764ab373972cfd88a405a296950f5e13a4c4e34c73cb7d22f85c -EBUILD mingw64-runtime-5.0.3.ebuild 2497 BLAKE2B ba30e069818937c620dc436e4a3c8d9e9bc0838620c80372f8e30153c2f3903dbfda3e0c6d157e9cccd94241bc3da47dec7ba3b92a39808b85771fc58dc2636d SHA512 8cf13af35caf3ceb2fc8bafdb6e3f980a0d63bc7795ef8bf12e2b6195bf1bb6e8fe0c0c0b5af45350c3e4a83a14ac4d7b98f1e4f9bf3c6807a29533f6eb1947e -EBUILD mingw64-runtime-5.0.4.ebuild 2597 BLAKE2B 500aecb0c6f8a8fe314c18937515438c730e25d6637d0b641d90cbbef8cb0764ffd690c7313c6cbade86bbf8bdf725f2bc075460a1e96987f9c6c043609f72da SHA512 cca85d0666b28bec6abcd4c4d40b89f9fb6c76077b10b8e8111b1fb6a96f78bc3877392c7f03f17a733e421bb242adcb8b2058af82136fc9c32c18b9fb7120b7 -MISC metadata.xml 544 BLAKE2B 5d2a688f8f644b6893efd4f7a2e756d336c569a6a51fc4a0b0df94623ef7f3e8fa317fe6c971f233883b424e1abeaaf03ef92d56434cfea6eab5bdd3798ad6d5 SHA512 297a90e704de81f41a4f29871f96bed47aa00c703e79fd825b3a06ab8850fe67896c66dee2603f86cd6596a0c5cbd533c87cb94c1c674714f65767954341a3c8 diff --git a/dev-util/mingw64-runtime/files/mingw64-runtime-4.0.1-build.patch b/dev-util/mingw64-runtime/files/mingw64-runtime-4.0.1-build.patch deleted file mode 100644 index 6461b98e5044..000000000000 --- a/dev-util/mingw64-runtime/files/mingw64-runtime-4.0.1-build.patch +++ /dev/null @@ -1,88 +0,0 @@ -From 67434f57cbb5aba791e9ca973a86859e0736f829 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Mon, 4 May 2015 21:31:10 +0300 -Subject: [PATCH 2/2] build: autoconf: enable multiple tools and libs - -this somewhat reduces the error checking, but makes code and usage nicer. - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - configure.ac | 55 ++++++++++++------------------------------------------- - 1 file changed, 12 insertions(+), 43 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 468d1b1..1b59821 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -56,32 +56,12 @@ AC_ARG_WITH([libraries], - [Build the extra mingw-w64 libs, where ARG is one of libmangle, pseh, winpthreads, or all])], - [], - [with_libraries=no]) --AS_CASE([$with_libraries], -- [yes|all],[ -- with_libraries="libmangle,pseh,winpthreads" -- with_libraries_winpthreads=yes -- with_libraries_mangle=yes -- with_libraries_pseh=yes], -- [libmangle],[ -- with_libraries="libmangle" -- with_libraries_winpthreads=no -- with_libraries_mangle=yes -- with_libraries_pseh=no], -- [pseh],[ -- with_libraries="pseh" -- with_libraries_winpthreads=no -- with_libraries_mangle=no -- with_libraries_pseh=yes], -- [winpthreads],[ -- with_libraries="winpthreads" -- with_libraries_winpthreads=yes -- with_libraries_mangle=no -- with_libraries_pseh=no], -- [no],[ -- with_libraries_winpthreads=no -- with_libraries_mangle=no -- with_libraries_pseh=no], -- [MW64_OPTION_ERROR([with-libraries])]) -+for l in winpthreads mangle pseh; do -+ res=`echo "${with_libraries}" | grep $l > /dev/null && echo yes || echo no` -+ AS_CASE([$with_libraries], -+ [all|yes],[res=yes]) -+ AS_VAR_COPY([with_libraries_$l], [res]) -+done - AM_CONDITIONAL([LIBRARIES_MANGLE],[test "x$with_libraries_mangle" = xyes]) - AM_CONDITIONAL([LIBRARIES_PSEH],[test "x$with_libraries_pseh" = xyes]) - AM_CONDITIONAL([LIBRARIES_WINPTHREADS],[test "x$with_libraries_winpthreads" = xyes]) -@@ -96,23 +76,12 @@ AC_ARG_WITH([tools], - [Build the extra mingw-w64 tools, where ARG is one of gendef, genidl, or all])], - [], - [with_tools=no]) --AS_CASE([$with_tools], -- [yes|all],[ -- with_tools="gendef,genidl" -- with_tools_gendef=yes -- with_tools_genidl=yes], -- [gendef],[ -- with_tools="gendef" -- with_tools_gendef=yes -- with_tools_genidl=no], -- [genidl],[ -- with_tools="genidl" -- with_tools_gendef=no -- with_tools_genidl=yes], -- [no],[ -- with_tools_gendef=no -- with_tools_genidl=no], -- [MW64_OPTION_ERROR([with-tools])]) -+for t in gendef genidl; do -+ res=`echo "${with_tools}" | grep $t > /dev/null && echo yes || echo no` -+ AS_CASE([$with_tools], -+ [all|yes],[res=yes]) -+ AS_VAR_COPY([with_tools_$t], [res]) -+done - AM_CONDITIONAL([TOOLS_GENDEF],[test "x$with_tools_gendef" = xyes]) - AM_CONDITIONAL([TOOLS_GENIDL],[test "x$with_tools_genidl" = xyes]) - AM_COND_IF([TOOLS_GENDEF],[AC_CONFIG_SUBDIRS([mingw-w64-tools/gendef])]) --- -2.3.6 - diff --git a/dev-util/mingw64-runtime/files/mingw64-runtime-4.0.1-winpthreads.patch b/dev-util/mingw64-runtime/files/mingw64-runtime-4.0.1-winpthreads.patch deleted file mode 100644 index 0d3e59dc9dd5..000000000000 --- a/dev-util/mingw64-runtime/files/mingw64-runtime-4.0.1-winpthreads.patch +++ /dev/null @@ -1,86 +0,0 @@ -From 0adec5d0e1c65fc4ce4f84f3d4bb6738e923e1de Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Mon, 4 May 2015 20:39:52 +0300 -Subject: [PATCH 1/2] build: autoconf: support winpthreads library - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - Makefile.am | 6 +++++- - configure.ac | 15 +++++++++++++-- - 2 files changed, 18 insertions(+), 3 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 26a7606..308b6fd 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -14,6 +14,10 @@ if LIBRARIES_PSEH - MAYBE_LIBRARIES_PSEH = mingw-w64-libraries/pseh - endif - -+if LIBRARIES_WINPTHREADS -+ MAYBE_LIBRARIES_WINPTHREADS = mingw-w64-libraries/winpthreads -+endif -+ - if TOOLS_GENDEF - MAYBE_TOOLS_GENDEF = mingw-w64-tools/gendef - endif -@@ -22,7 +26,7 @@ if TOOLS_GENIDL - MAYBE_TOOLS_GENIDL = mingw-w64-tools/genidl - endif - --SUBDIRS = $(MAYBE_HEADER) $(MAYBE_CRT) $(MAYBE_LIBRARIES_MANGLE) $(MAYBE_LIBRARIES_PSEH) $(MAYBE_TOOLS_GENDEF) $(MAYBE_TOOLS_GENIDL) -+SUBDIRS = $(MAYBE_HEADER) $(MAYBE_CRT) $(MAYBE_LIBRARIES_MANGLE) $(MAYBE_LIBRARIES_PSEH) $(MAYBE_LIBRARIES_WINPTHREADS) $(MAYBE_TOOLS_GENDEF) $(MAYBE_TOOLS_GENIDL) - - DISTCHECK_CONFIGURE_FLAGS = --with-headers --with-crt --with-libraries=all --with-tools=all - -diff --git a/configure.ac b/configure.ac -index 4bb3926..468d1b1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -53,30 +53,41 @@ AC_MSG_RESULT([$with_crt]) - AC_MSG_CHECKING([whether to build the optional libraries]) - AC_ARG_WITH([libraries], - [AS_HELP_STRING([--with-libraries=ARG], -- [Build the extra mingw-w64 libs, where ARG is one of libmangle, pseh, or all])], -+ [Build the extra mingw-w64 libs, where ARG is one of libmangle, pseh, winpthreads, or all])], - [], - [with_libraries=no]) - AS_CASE([$with_libraries], - [yes|all],[ -- with_libraries="libmangle,pseh" -+ with_libraries="libmangle,pseh,winpthreads" -+ with_libraries_winpthreads=yes - with_libraries_mangle=yes - with_libraries_pseh=yes], - [libmangle],[ - with_libraries="libmangle" -+ with_libraries_winpthreads=no - with_libraries_mangle=yes - with_libraries_pseh=no], - [pseh],[ - with_libraries="pseh" -+ with_libraries_winpthreads=no - with_libraries_mangle=no - with_libraries_pseh=yes], -+ [winpthreads],[ -+ with_libraries="winpthreads" -+ with_libraries_winpthreads=yes -+ with_libraries_mangle=no -+ with_libraries_pseh=no], - [no],[ -+ with_libraries_winpthreads=no - with_libraries_mangle=no - with_libraries_pseh=no], - [MW64_OPTION_ERROR([with-libraries])]) - AM_CONDITIONAL([LIBRARIES_MANGLE],[test "x$with_libraries_mangle" = xyes]) - AM_CONDITIONAL([LIBRARIES_PSEH],[test "x$with_libraries_pseh" = xyes]) -+AM_CONDITIONAL([LIBRARIES_WINPTHREADS],[test "x$with_libraries_winpthreads" = xyes]) - AM_COND_IF([LIBRARIES_MANGLE],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/libmangle])]) - AM_COND_IF([LIBRARIES_PSEH],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/pseh])]) -+AM_COND_IF([LIBRARIES_WINPTHREADS],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/winpthreads])]) - AC_MSG_RESULT([$with_libraries]) - - AC_MSG_CHECKING([whether to build the optional tools]) --- -2.3.6 - diff --git a/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.2-implicit-fallthrough.patch b/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.2-implicit-fallthrough.patch deleted file mode 100644 index 859e00243d33..000000000000 --- a/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.2-implicit-fallthrough.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff --git a/mingw-w64-tools/gendef/src/gendef.c b/mingw-w64-tools/gendef/src/gendef.c -index a935abfe..cefdd8cb 100644 ---- a/mingw-w64-tools/gendef/src/gendef.c -+++ b/mingw-w64-tools/gendef/src/gendef.c -@@ -1031,13 +1031,16 @@ redo_switch: - PRDEBUG(" 0x%x illegal ", (unsigned int) b); - #endif - *aCode=c_ill; return 0; -- case c_4: sz++; -- case c_3: sz++; -- case c_lb: -- case c_2: sz++; -- case c_retn: case c_retf: -- case c_iret: case c_int3: -- case c_ad: case c_op: -+ case c_4: sz++; // fallthrough -+ case c_3: sz++; // fallthrough -+ case c_lb: // fallthrough -+ case c_2: sz++; // fallthrough -+ case c_retn: // fallthrough -+ case c_retf: // fallthrough -+ case c_iret: // fallthrough -+ case c_int3: // fallthrough -+ case c_ad: // fallthrough -+ case c_op: // fallthrough - case c_1: *aCode=tb1; return sz; - case c_lv: - if (oper_mode) sz+=4; -diff --git a/mingw-w64-tools/genpeimg/src/genpeimg.c b/mingw-w64-tools/genpeimg/src/genpeimg.c -index b2430bbc..6a37b1a0 100644 ---- a/mingw-w64-tools/genpeimg/src/genpeimg.c -+++ b/mingw-w64-tools/genpeimg/src/genpeimg.c -@@ -203,7 +203,7 @@ pass_args (int argc, char **argv) - goto error_point; - case 'h': - if (h[2] == 0) -- show_usage (); -+ show_usage (); // fallthrough - default: - error_point: - fprintf (stderr, "Unknown option ,%s'\n", h); diff --git a/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.2-locale.patch b/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.2-locale.patch deleted file mode 100644 index a7a0a09dc162..000000000000 --- a/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.2-locale.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/mingw-w64-crt/lib32/msvcrt.def.in -+++ b/mingw-w64-crt/lib32/msvcrt.def.in -@@ -138,6 +138,7 @@ _copysign - _cprintf - _cputs - _creat -+_create_locale - _cscanf - _ctype DATA - _cwait -@@ -192,6 +193,7 @@ _fpieee_flt - _fpreset DATA - _fputchar - _fputwchar -+_free_locale - _fsopen - _fstat - _fstat32 == _fstat ---- a/mingw-w64-crt/lib64/msvcrt.def.in -+++ b/mingw-w64-crt/lib64/msvcrt.def.in -@@ -240,6 +240,7 @@ _cprintf_p_l - _cputs - _cputws - _creat -+_create_locale - _cscanf - _cscanf_l - _cscanf_s -@@ -315,6 +316,7 @@ _fputchar - _fputwchar - _fscanf_l - _fscanf_s_l -+_free_locale - _fsopen - _fstat - _fstat64 diff --git a/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.3-build.patch b/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.3-build.patch deleted file mode 100644 index 624a492338e3..000000000000 --- a/dev-util/mingw64-runtime/files/mingw64-runtime-5.0.3-build.patch +++ /dev/null @@ -1,37 +0,0 @@ -From cb860ab6fba86f646bcd3bff6cadcc2bdd3c6964 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 4 Nov 2017 21:58:10 +0200 -Subject: [PATCH] build: enable pseh only in x86 - -pseh supports only x86, no point in enabling it when libraries are -enabled. This enables downstream to enable libraries without failing. - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - configure.ac | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 468d1b19..cfb07362 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -58,10 +58,14 @@ AC_ARG_WITH([libraries], - [with_libraries=no]) - AS_CASE([$with_libraries], - [yes|all],[ -- with_libraries="libmangle,pseh,winpthreads" -+ with_libraries="libmangle,winpthreads" - with_libraries_winpthreads=yes - with_libraries_mangle=yes -- with_libraries_pseh=yes], -+ AS_CASE([$host_cpu], -+ [i?86], [ -+ with_libraries="$with_libraries,pseh" -+ with_libraries_pseh=yes -+ ])], - [libmangle],[ - with_libraries="libmangle" - with_libraries_winpthreads=no --- -2.13.6 - diff --git a/dev-util/mingw64-runtime/metadata.xml b/dev-util/mingw64-runtime/metadata.xml deleted file mode 100644 index 5d6c0c23c0d6..000000000000 --- a/dev-util/mingw64-runtime/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>toolchain@gentoo.org</email> - <name>Gentoo Toolchain Project</name> - </maintainer> - <use> - <flag name="idl"> - Install idl files. - </flag> - <flag name="libraries"> - Build extra libraries. - </flag> - <flag name="tools"> - Build extra tools. - </flag> - </use> - <upstream> - <remote-id type="sourceforge">mingw-w64</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild deleted file mode 100644 index 4397725c87a9..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -inherit flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_configure() { - local extra_conf=() - - if just_headers; then - extra_conf+=( --without-crt ) - else - extra_conf+=( --with-crt ) - fi - - case ${CTARGET} in - x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;; - i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;; - *) die "Unsupported ${CTARGET}" ;; - esac - - CHOST=${CTARGET} strip-unsupported-flags - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(use_enable idl) \ - "${extra_conf[@]}" -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild deleted file mode 100644 index 4397725c87a9..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -inherit flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_configure() { - local extra_conf=() - - if just_headers; then - extra_conf+=( --without-crt ) - else - extra_conf+=( --with-crt ) - fi - - case ${CTARGET} in - x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;; - i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;; - *) die "Unsupported ${CTARGET}" ;; - esac - - CHOST=${CTARGET} strip-unsupported-flags - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(use_enable idl) \ - "${extra_conf[@]}" -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild deleted file mode 100644 index 4397725c87a9..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -inherit flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_configure() { - local extra_conf=() - - if just_headers; then - extra_conf+=( --without-crt ) - else - extra_conf+=( --with-crt ) - fi - - case ${CTARGET} in - x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;; - i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;; - *) die "Unsupported ${CTARGET}" ;; - esac - - CHOST=${CTARGET} strip-unsupported-flags - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(use_enable idl) \ - "${extra_conf[@]}" -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild deleted file mode 100644 index 3bb7305cf0f7..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${P}-winpthreads.patch" - epatch "${FILESDIR}/${P}-build.patch" - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - local extra_conf=() - - case ${CTARGET} in - x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;; - i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;; - *) die "Unsupported ${CTARGET}" ;; - esac - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - "${extra_conf[@]}" -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild deleted file mode 100644 index f279453e0e46..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-4.0.1-winpthreads.patch" - epatch "${FILESDIR}/${PN}-4.0.1-build.patch" - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - local extra_conf=() - - case ${CTARGET} in - x86_64*) extra_conf+=( --disable-lib32 --enable-lib64 ) ;; - i?86*) extra_conf+=( --enable-lib32 --disable-lib64 ) ;; - *) die "Unsupported ${CTARGET}" ;; - esac - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - "${extra_conf[@]}" -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild deleted file mode 100644 index 2a6523281428..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-4.0.1-winpthreads.patch" - epatch "${FILESDIR}/${PN}-4.0.1-build.patch" - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild deleted file mode 100644 index d013a17c428a..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.1-winpthreads.patch" - "${FILESDIR}/${PN}-4.0.1-build.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild deleted file mode 100644 index 25df5eae738c..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.1-winpthreads.patch" - "${FILESDIR}/${PN}-4.0.1-build.patch" - "${FILESDIR}/${PN}-5.0.2-implicit-fallthrough.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --libdir=/usr/${CTARGET}/usr/lib \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild deleted file mode 100644 index 5141174deb44..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.1-winpthreads.patch" - "${FILESDIR}/${PN}-4.0.1-build.patch" - "${FILESDIR}/${PN}-5.0.2-implicit-fallthrough.patch" - "${FILESDIR}/${PN}-5.0.2-locale.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --libdir=/usr/${CTARGET}/usr/lib \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild deleted file mode 100644 index d013a17c428a..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.1-winpthreads.patch" - "${FILESDIR}/${PN}-4.0.1-build.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl) \ - $(crt_use_with libraries libraries winpthreads,libmangle) \ - $(crt_use_with tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild deleted file mode 100644 index 68655a1ed3a5..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - is_crosscompile && use headers-only -} -alt_prefix() { - is_crosscompile && echo /usr/${CTARGET} -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix="${EPREFIX}"$(alt_prefix) \ - --includedir="${EPREFIX}"$(alt_prefix)/usr/include \ - --libdir="${EPREFIX}"$(alt_prefix)/usr/lib \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl idl) \ - $(crt_use_with libraries libraries) \ - $(crt_use_with tools tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r2.ebuild deleted file mode 100644 index e52536087f3e..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r2.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only -} -alt_prefix() { - is_crosscompile && echo /usr/${CTARGET} -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - # By default configure tries to set --sysroot=${prefix}. We disable - # this behaviour with --with-sysroot=no to use gcc's sysroot default. - # That way we can cross-build mingw64-runtime with cross-emerge. - CHOST=${CTARGET} econf \ - --with-sysroot=no \ - --prefix="${EPREFIX}"$(alt_prefix)/usr \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl idl) \ - $(crt_use_with libraries libraries) \ - $(crt_use_with tools tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild deleted file mode 100644 index 225bba7d7322..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only && [[ ${CHOST} != ${CTARGET} ]] -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - CHOST=${CTARGET} econf \ - --prefix=/usr/${CTARGET} \ - --includedir=/usr/${CTARGET}/usr/include \ - --libdir=/usr/${CTARGET}/usr/lib \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl idl) \ - $(crt_use_with libraries libraries) \ - $(crt_use_with tools tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.4.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.4.ebuild deleted file mode 100644 index 25722876100e..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.4.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -WANT_AUTOMAKE="1.15" - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="headers-only idl libraries tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only -} -alt_prefix() { - is_crosscompile && echo /usr/${CTARGET} -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - # By default configure tries to set --sysroot=${prefix}. We disable - # this behaviour with --with-sysroot=no to use gcc's sysroot default. - # That way we can cross-build mingw64-runtime with cross-emerge. - CHOST=${CTARGET} econf \ - --with-sysroot=no \ - --prefix="${EPREFIX}"$(alt_prefix)/usr \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl idl) \ - $(crt_use_with libraries libraries) \ - $(crt_use_with tools tools) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${ED}/usr/share" -} |