summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-01-21 12:53:53 +0000
committerMarek Szuba <marecki@gentoo.org>2021-01-21 13:02:05 +0000
commit1bbb02b5204759ded5864014b0116084ab14f93e (patch)
tree0fe74f4d7bee99f6b73d0cf49fdd3a36d27f3959 /dev-go
parentdev-python/python-utils: Bump to 2.5.2 (diff)
downloadgentoo-1bbb02b5204759ded5864014b0116084ab14f93e.tar.gz
gentoo-1bbb02b5204759ded5864014b0116084ab14f93e.tar.bz2
gentoo-1bbb02b5204759ded5864014b0116084ab14f93e.zip
dev-go/qt: Another take on migration to go-module.eclass
With updated go.sum, 'go install' no longer complains about missing .zip files - but now qtsetup fails on invalid 'go list' arguments. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/qt/Manifest25
-rw-r--r--dev-go/qt/files/qt-0_pre20200904-r1-disable_modules.patch75
-rw-r--r--dev-go/qt/files/qt-0_pre20200904-r1-go.mod21
-rw-r--r--dev-go/qt/files/qt-0_pre20200904-r1-go.sum25
-rw-r--r--dev-go/qt/files/qt-0_pre20200904-r1-unbundle_qt.patch9
-rw-r--r--dev-go/qt/qt-0_pre20200904-r1.ebuild137
6 files changed, 292 insertions, 0 deletions
diff --git a/dev-go/qt/Manifest b/dev-go/qt/Manifest
index 7b969cf03f80..8941360e0a48 100644
--- a/dev-go/qt/Manifest
+++ b/dev-go/qt/Manifest
@@ -1,3 +1,28 @@
+DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
+DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
+DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.zip 60320 BLAKE2B 86bdbc333e5c23ccf4f805945ca9f2aecc5c242d2ae824d20127eceaa2bf7bbab239ff2799572a2c8fa206166a36e97d5eccc8fc5021743d8ad32f39cd53b9eb SHA512 7b4e4df2fea731e23e05437f26f24e32b2e99028d685b72e3a726c1cb616ada4a77ca4fb9db4a6fae48178cc5172e724b74499bc776d63a9110cb97377d5edeb
+DIST github.com%2Fgolang%2Fcrypto%2F@v%2Fv0.0.0-20190418165655-df01cb2cc480.mod 88 BLAKE2B 22568b660b7e13eed0dd423bfb6b033adf659a2c2b59c6ab12d707aca9f6f7317b7b438640caf6233dea4d9840aec4eb997eff5fcccbcdb193ba81db52d814d7 SHA512 fcfc8d63d333065f1193e9c27efe32a1fab270e450fbe1db533156e00427a13c75691163cd1bc7e9aa26b84d4142625c9fbd755535c575f83d63d82d7a276066
+DIST github.com%2Fgolang%2Fcrypto%2F@v%2Fv0.0.0-20190418165655-df01cb2cc480.zip 1808119 BLAKE2B 0f68b4f4b15789f595f90d3661f3381487bd442307861ee19df64c033ae153cb41f27a8a1892c6095b9bc5927b84f132e9db994dbcaac9e40e7f5182c9a2fdc5 SHA512 f68cfc6a4a899c78117c5549401b653bd0fa0165d1d613d445e4abb664714f77dca561841a4633783af767632dc7b342dc19918628ea28d56b1f9360fb7f016e
+DIST github.com%2Fgolang%2Fnet%2F@v%2Fv0.0.0-20190420063019-afa5a82059c6.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
+DIST github.com%2Fgolang%2Fsys%2F@v%2Fv0.0.0-20190419153524-e8e3143a4f4a.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST github.com%2Fgolang%2Fsys%2F@v%2Fv0.0.0-20190419153524-e8e3143a4f4a.zip 1702173 BLAKE2B da455bfb6c4107f30d3874486e9fd6708b025f56661fae82b6fe08d6a254b6aed0939ad70e65ad4acda33633ce2ae6340b8c3e566ecb3b2cf6ec7df6cc1780fb SHA512 628680a42ad6f98b18be5b847573065bfa36975a1a53ee91fedf86b35a18c5e4ff6567f9570e73cf94972c4d0d2c4a76cd163ca2ab91e0c0113771705b1e6fc6
+DIST github.com%2Fgolang%2Ftext%2F@v%2Fv0.3.1-0.20190410012825-f4905fbd45b6.mod 88 BLAKE2B f3dd520e0e4e9b57feab62ecabb9169f37f1ce49b2846b949f9266f807767d38f55e4aa8ea006229c6f81cfc1e2c9dc0d1e3c186235e416dfb90fe7e04751d07 SHA512 d9361afb453b10c9d02787568ec33ea4c97a115899c6b3d1a1246547a749244e9218475ae5ae9f741d9b355260d2d3c33852673e805fcdd5f26f3ca40f035884
+DIST github.com%2Fgolang%2Ftools%2F@v%2Fv0.0.0-20190420181800-aa740d480789.mod 87 BLAKE2B 32cb406deea05323b1121386bf61f344f8eda0b5370e95bb73828ce0bea50bee375ae3e9b076b9d683a4d89561709c5e97e45e6b08344fbdf6b03b3ce4398dcd SHA512 18ae9b2f54109b4ec5cdea433ee0e3b7006e4d5ea57022d6e8151d4d364735a6b55cf7b5eb2f43b602ec786b2b6819ad78dfc33151ee1a63a0b1199f54ce34a1
+DIST github.com%2Fgolang%2Ftools%2F@v%2Fv0.0.0-20190420181800-aa740d480789.zip 2611426 BLAKE2B 7c8f8e4fb3637abbac095ca36371853c1a0b060c80d98cc3a51f0e1afc481cd191cb5e5f0a66795d1137c5dfbabc15bda2ee5f3610ced913b73e69ad32273c2f SHA512 da06a8e4dd3cef7eb2f83ce8733ca40b1606267017a5b872bd270e4b15f196293b8cdb81e550a6c6410807e8d2d779a9560f0e3658ae4a798b59edf1c609d35a
+DIST github.com%2Fgopherjs%2Fgopherjs%2F@v%2Fv0.0.0-20190411002643-bd77b112433e.mod 36 BLAKE2B d7cd8f31950392cb5de7f4223ff9fe3257568dd0a1c1b81c8b97934ba92379753dc936c81c39e5b553e4101bc7c035ce81c8d669d85ed1d1eee41a74218f3d88 SHA512 35151946ce44fde9d3bde1d0626749ac4bc68cc448736c3b0f056f40a9ae30aef591db614b271df3eba3a96dbc94052ea5bf7ff68749ec980088d60361934771
+DIST github.com%2Fgopherjs%2Fgopherjs%2F@v%2Fv0.0.0-20190411002643-bd77b112433e.zip 264366 BLAKE2B f868365dd345e7dc0c91157c86a5f0cf10a19550d6cab43de9b2540f8013ab46bece7cb64f1dc3b2645d803645b39a69cc652e5b8bb1e348ee345081e74d7054 SHA512 ce518f987925d02f550352b564cf956874724728a47f9b8514783ce27c023b563a9adede19f59fb25748c9bb282c2862e978d2d8fe858af83faabca009684fdf
+DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.1.mod 58 BLAKE2B 4cf48282c28d2b8237fe9ff852ad25d102cce038fbd1852a1938bcf69c895df05dfdef6e533b3c0b4da28103eb5e3a9561f802414ccdd99b2d3ec2e2db0807ee SHA512 fe33ca4de6588b95f0155458b8b6daab218553b58de5dac220efe54019dfab085838cc6a22012a106fa36a6094447f744825cad04aaf0b158fce5aa676048fe5
+DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.2.mod 58 BLAKE2B 4cf48282c28d2b8237fe9ff852ad25d102cce038fbd1852a1938bcf69c895df05dfdef6e533b3c0b4da28103eb5e3a9561f802414ccdd99b2d3ec2e2db0807ee SHA512 fe33ca4de6588b95f0155458b8b6daab218553b58de5dac220efe54019dfab085838cc6a22012a106fa36a6094447f744825cad04aaf0b158fce5aa676048fe5
+DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.2.zip 3968 BLAKE2B 223cfe3604cb674a11d4558b8f5a35e2eb41cf11d536e2e2cbdccd6a3c6bed8abf66f450774b39e7247493ea8a382906617c5f297fda02a272b18eef8dcbcf47 SHA512 16c4bf83b78541d2d684113926813ce4cc91f3f13f34dc2cf8d643661dc9f21a988b8382d2c058e138fc87c1ca197e8f694b07595959e917c82bd6ca9101a5ec
+DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902
+DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2
+DIST github.com%2Fsirupsen%2Flogrus%2F@v%2Fv1.4.1.mod 337 BLAKE2B 41471db637c5c0363cd36be6d16a6228671ce9658ef71103ad2122a2cd8cfc13c30b87bf2b34df7ba9d6c1fff1ac821462fbb86b622c274cf26a1e3ecb7fd2e9 SHA512 29a4efc27c658b047fbfc6eb2ae311753b01fe878cc733e2fdfd83f5791b3e30ab50b08addd300dff37e7880f6b57662ac0cb0f4b98df2c5a5a9f7d555bc98a5
+DIST github.com%2Fsirupsen%2Flogrus%2F@v%2Fv1.4.1.zip 57938 BLAKE2B 18024e76142472974733a56e8b651e7844b91d5eae2c34300665ee1c1280573aa510af7dc7fcc5172c9911be798e7ccfde8990c3c57c927f7aeb6a9ef49bce0c SHA512 5d47ac47438118c7beb8cad929b95b5b7723b550fe08472cd389881a595761f7589ee3a01aec06edd96d76d087647558b537fe4d0033273307e67aa02670b9f9
+DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
+DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.1.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
+DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.2.2.mod 35 BLAKE2B 0357260904c9ba41892132c7e07d2add9b10ce4a09e8db4966219d1f515f917581e2afa0987094c90759634bc2aeb66e758074e023ff331a8337f5090c0102f6 SHA512 5b7ce867497852e4918b8cde5f75ecf2f24b9c95ad112478ac132322e904243f1cea3d16f5731646efb669256dbefc129ac70a499c8b1d25403a14c7e4fad10b
+DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.mod 154 BLAKE2B 60cd7801e7cd33746305cd636b048b25a86270ec3b29a21c3c078c7e95b769bce7e80c2c7c5474113786bd788c7f88f3719e34f02141038e0d161b36e32f39b9 SHA512 bb808fad059f5abd0171e4bdc724411eff2c7e8d303a4ffb3608a00e21bb3cfafe9e83b4b4e9bccd42c9a4331f67ddc6043e3dd5eaa9a122c86626eed43a8383
+DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.zip 83537 BLAKE2B 6d6de57cc5e393aaef1cdc7e2140143eb7fa324bb2ea3b9f63bfe1e8652c02d24eb441fc3b435c6b287f165c5540a008a7c21ab4070d8bc77c77e6fb608f7e46 SHA512 c5cd06f825bbfdcf2ae58ea21edbeea03c110de3fc20fcf69db07aae26c9ae67a8ac57a9ffedec9b3b4f1f3b016089935049d75d92a9a03e45ce6345b4c9c611
DIST github.com-davecgh-go-spew-v1.1.0.tar.gz 42337 BLAKE2B 691ee430beca602ea686aa065b23af5e00356e866cbca2b014bf0c8f4cc965a2318e6a39232772098e250d61d5bd6707afb769fdf4223c81a8249cad267d1971 SHA512 20c9f0550a2d5030265dde8ad3ed009ce5c6490d010f184ad3f656b8fe5eb6e5c6abc9594408240aa731c0977afd9739d293490e6164cc0ce156652611b05b39
DIST github.com-davecgh-go-spew-v1.1.1.tar.gz 42152 BLAKE2B 3c6689b3d2861fbc4a70b8ab25b790d132865e4ec34062fd80005fc7d62c1b4cd77df534c27a2d8b1c42c63f8a551fc7d98e3649bf902d176fd965e933faf6be SHA512 b00621d2f11c4cc858e69fda3e6975f910deb375c4f2305a45b230e2d9be73f183db5d2ce4f5e30a14b27e11e79380233ee68fceeef0d855c64fca966e68111e
DIST github.com-golang-crypto-df01cb2cc480.tar.gz 1678929 BLAKE2B 1f803bbce58260aa5d57d63841999b33cfe27866bf762dfb10510b1f7e9448afa83afc7861786dd83416cfce3ed820cff8c6be5ec15c1cce6caea9656014891a SHA512 d2ccc27b8a239a8bd48af49763d6a2123d95c2db6ae0d818802c5d70c66d7ec39e4294e282ed9dc3874e48126bc26f4997dc85626cd9a51739a1854c37ac58b5
diff --git a/dev-go/qt/files/qt-0_pre20200904-r1-disable_modules.patch b/dev-go/qt/files/qt-0_pre20200904-r1-disable_modules.patch
new file mode 100644
index 000000000000..4aa93ce62804
--- /dev/null
+++ b/dev-go/qt/files/qt-0_pre20200904-r1-disable_modules.patch
@@ -0,0 +1,75 @@
+We cannot generate bindings for Nfc or RemoteObjects because they
+haven't been packaged for Gentoo yet. On the other hand, the modules:
+Script, ScriptTools and XmlPatterns have long since been deprecated.
+
+--- a/internal/binding/parser/helper.go
++++ b/internal/binding/parser/helper.go
+@@ -191,10 +191,8 @@
+ "AndroidExtras": {"Core"},
+ "Gui": {"Widgets", "Core"}, //Widgets
+ "Network": {"Core"},
+- "Xml": {"XmlPatterns", "Core"}, //XmlPatterns
++ "Xml": {"Core"}, //XmlPatterns
+ "DBus": {"Core"},
+- "Nfc": {"Core"},
+- "Script": {"Core"},
+ "Sensors": {"Core"},
+ "Positioning": {"Core"},
+ "Widgets": {"Gui", "Core"},
+@@ -202,7 +200,6 @@
+ "MacExtras": {"Gui", "Core"},
+ "Qml": {"Network", "Core"},
+ "WebSockets": {"Network", "Core"},
+- "XmlPatterns": {"Network", "Core"},
+ "Bluetooth": {"Core"},
+ "WebChannel": {"Network", "Qml", "Core"}, //Network (needed for static linking ios)
+ "Svg": {"Widgets", "Gui", "Core"},
+@@ -210,7 +207,6 @@
+ "Quick": {"QuickWidgets", "Widgets", "Network", "Qml", "Gui", "Core"}, //QuickWidgets, Widgets, Network (needed for static linking ios)
+ "Help": {"Sql", "Network", "Widgets", "Gui", "Core"}, //Sql + CLucene + Network (needed for static linking ios)
+ "Location": {"Positioning", "Quick", "Gui", "Core"},
+- "ScriptTools": {"Script", "Widgets", "Core"}, //Script, Widgets
+ "UiTools": {"Widgets", "Gui", "Core"},
+ "X11Extras": {"Gui", "Core"},
+ "WinExtras": {"Widgets", "Gui", "Core"},
+@@ -237,7 +233,6 @@
+ "WebView": {"Core"},
+
+ "NetworkAuth": {"Network", "Gui", "Core"},
+- "RemoteObjects": {"Network", "Core"},
+
+ "WebKit": {"WebKitWidgets", "Multimedia", "Positioning", "Widgets", "Sql", "Network", "Gui", "Sensors", "Core"},
+
+@@ -389,8 +384,6 @@
+ "Network",
+ "Xml",
+ "DBus",
+- "Nfc",
+- "Script", //depreached (planned) in 5.6
+ "Sensors",
+ "Positioning",
+ "Widgets",
+@@ -398,7 +391,6 @@
+ "MacExtras",
+ "Qml",
+ "WebSockets",
+- "XmlPatterns",
+ "Bluetooth",
+ "WebChannel",
+ "Svg",
+@@ -406,7 +398,6 @@
+ "Quick",
+ "Help",
+ "Location",
+- "ScriptTools", //depreached (planned) in 5.6
+ "UiTools",
+ //"X11Extras", //TODO:
+ "WinExtras",
+@@ -433,7 +424,6 @@
+ "WebView",
+
+ //"NetworkAuth", //TODO:
+- "RemoteObjects",
+
+ "WebKit",
+
diff --git a/dev-go/qt/files/qt-0_pre20200904-r1-go.mod b/dev-go/qt/files/qt-0_pre20200904-r1-go.mod
new file mode 100644
index 000000000000..a503dfd1d1f1
--- /dev/null
+++ b/dev-go/qt/files/qt-0_pre20200904-r1-go.mod
@@ -0,0 +1,21 @@
+module github.com/therecipe/qt
+
+require (
+ github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e
+ github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
+ github.com/sirupsen/logrus v1.4.1
+ github.com/stretchr/testify v1.3.0
+ golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480
+ golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a // indirect
+ golang.org/x/tools v0.0.0-20190420181800-aa740d480789
+)
+
+replace golang.org/x/crypto => github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480
+
+replace golang.org/x/net => github.com/golang/net v0.0.0-20190420063019-afa5a82059c6
+
+replace golang.org/x/sys => github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a
+
+replace golang.org/x/tools => github.com/golang/tools v0.0.0-20190420181800-aa740d480789
+
+replace golang.org/x/text => github.com/golang/text v0.3.1-0.20190410012825-f4905fbd45b6
diff --git a/dev-go/qt/files/qt-0_pre20200904-r1-go.sum b/dev-go/qt/files/qt-0_pre20200904-r1-go.sum
new file mode 100644
index 000000000000..20747429faa3
--- /dev/null
+++ b/dev-go/qt/files/qt-0_pre20200904-r1-go.sum
@@ -0,0 +1,25 @@
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480 h1:nT2Q69o++qi4aL/3w3NWpemH6bNINqfJWym3+HKtE9w=
+github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
+github.com/golang/net v0.0.0-20190420063019-afa5a82059c6/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a h1:5bYuhgnDII4NSAAw1wRU+pCovYhB/AqYVmsK2JDnK2k=
+github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+github.com/golang/text v0.3.1-0.20190410012825-f4905fbd45b6/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+github.com/golang/tools v0.0.0-20190420181800-aa740d480789 h1:Hy7qvbkxWJIZIprJ2rgaRVarxDIv9yfIDGXLocU3irs=
+github.com/golang/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e h1:XWcjeEtTFTOVA9Fs1w7n2XBftk5ib4oZrhzWk0B+3eA=
+github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=
+github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k=
+github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
diff --git a/dev-go/qt/files/qt-0_pre20200904-r1-unbundle_qt.patch b/dev-go/qt/files/qt-0_pre20200904-r1-unbundle_qt.patch
new file mode 100644
index 000000000000..b8e9a8637ef0
--- /dev/null
+++ b/dev-go/qt/files/qt-0_pre20200904-r1-unbundle_qt.patch
@@ -0,0 +1,9 @@
+--- a/internal/binding/files/docs/mod.go
++++ b/internal/binding/files/docs/mod.go
+@@ -1,6 +1 @@
+ package docs
+-
+-import (
+- _ "github.com/therecipe/qt/internal/binding/files/docs/5.12.0"
+- _ "github.com/therecipe/qt/internal/binding/files/docs/5.13.0"
+-)
diff --git a/dev-go/qt/qt-0_pre20200904-r1.ebuild b/dev-go/qt/qt-0_pre20200904-r1.ebuild
new file mode 100644
index 000000000000..ea5f7ab7abd0
--- /dev/null
+++ b/dev-go/qt/qt-0_pre20200904-r1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module xdg-utils
+
+# Warning: the current upstream go.sum is borked, this is what one gets having
+# run 'go mod tidy' and subsequently removed the packages related to bundled Qt libs.
+EGO_SUM=(
+ "github.com/davecgh/go-spew v1.1.0/go.mod"
+ "github.com/davecgh/go-spew v1.1.1"
+ "github.com/davecgh/go-spew v1.1.1/go.mod"
+ "github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480"
+ "github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod"
+ "github.com/golang/net v0.0.0-20190420063019-afa5a82059c6/go.mod"
+ "github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a"
+ "github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod"
+ "github.com/golang/text v0.3.1-0.20190410012825-f4905fbd45b6/go.mod"
+ "github.com/golang/tools v0.0.0-20190420181800-aa740d480789"
+ "github.com/golang/tools v0.0.0-20190420181800-aa740d480789/go.mod"
+ "github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e"
+ "github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e/go.mod"
+ "github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
+ "github.com/konsorten/go-windows-terminal-sequences v1.0.2"
+ "github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod"
+ "github.com/pmezard/go-difflib v1.0.0"
+ "github.com/pmezard/go-difflib v1.0.0/go.mod"
+ "github.com/sirupsen/logrus v1.4.1"
+ "github.com/sirupsen/logrus v1.4.1/go.mod"
+ "github.com/stretchr/objx v0.1.0/go.mod"
+ "github.com/stretchr/objx v0.1.1/go.mod"
+ "github.com/stretchr/testify v1.2.2/go.mod"
+ "github.com/stretchr/testify v1.3.0"
+ "github.com/stretchr/testify v1.3.0/go.mod"
+)
+
+go-module_set_globals
+
+EGIT_COMMIT="c0c124a5770d357908f16fa57e0aa0ec6ccd3f91"
+
+DESCRIPTION="Qt5 Go bindings"
+HOMEPAGE="https://github.com/therecipe/qt/"
+SRC_URI="https://github.com/therecipe/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# As of 2021-01-20 the test 'widgets/textedit' calls methods which do not exist, at least in qt-5.15.
+# TODO: figure out how to disable this test.
+RESTRICT="test"
+
+# We need qt-docs[html] because binding generation depends on core .index files
+# installed by this USE flag.
+RDEPEND="dev-qt/designer:5=
+ dev-qt/qt-docs:5=[html]
+ dev-qt/qtbluetooth:5=
+ dev-qt/qtcharts:5=
+ dev-qt/qtcore:5=
+ dev-qt/qtdatavis3d:5=
+ dev-qt/qtdbus:5=
+ dev-qt/qtgamepad:5=
+ dev-qt/qthelp:5=
+ dev-qt/qtlocation:5=
+ dev-qt/qtmultimedia:5=[widgets]
+ dev-qt/qtpositioning:5=
+ dev-qt/qtquickcontrols2:5=
+ dev-qt/qtscxml:5=
+ dev-qt/qtsensors:5=
+ dev-qt/qtserialbus:5=
+ dev-qt/qtserialport:5=
+ dev-qt/qtspeech:5=
+ dev-qt/qtsql:5=
+ dev-qt/qtsvg:5=
+ dev-qt/qtvirtualkeyboard:5=
+ dev-qt/qtwebchannel:5=
+ dev-qt/qtwebengine:5=
+ dev-qt/qtwebsockets:5=
+ dev-qt/qtwebview:5=
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0_pre20200904-r1-disable_modules.patch
+ "${FILESDIR}"/${PN}-0_pre20200904-r1-unbundle_qt.patch
+)
+
+S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
+
+src_prepare() {
+ xdg_environment_reset
+
+ cp "${FILESDIR}"/${PN}-0_pre20200904-r1-go.mod go.mod || die
+ cp "${FILESDIR}"/${PN}-0_pre20200904-r1-go.sum go.sum || die
+
+ default
+}
+
+src_configure() {
+ export QT_PKG_CONFIG=true
+ export QT_DOC_DIR="${EPREFIX}/usr/share/qt5-doc"
+}
+
+src_compile() {
+ # Not a typo, all that gets installed here is the bootstrap for generating
+ # and building actual bindings
+ go install -v -work -x -tags=no_env ./cmd/... || die
+
+ # qtsetup uses GOFLAGS as 'go list' arguments
+ GOFLAGS='' "$(go env GOPATH)"/bin/qtsetup -failfast -test=false || die
+}
+
+src_test() {
+ GOOFLAGS='' "$(go env GOPATH)"/bin/qtsetup -failfast test || die
+}
+
+#src_install() {
+# local EGO_PN="github.com/therecipe/qt"
+#
+# rm -rf vendor
+# rm -rf .git*
+# find internal/examples -type d -name deploy -exec rm -rf {} \;
+# find . -name '*.c' -exec rm -f {} \;
+# find . -name '*.h' -exec rm -f {} \;
+#
+# insinto $(dirname "$(get_golibdir)/src/${EGO_PN%/*}")
+# doins -r src/${EGO_PN%/*}
+#
+# insinto $(dirname "$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
+# doins -r pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}
+#
+# # Not sure if we still need qtsetup - but just in case, install all binaries
+# exeinto "$(get_golibdir)"/bin
+# doexe bin/*
+#}