diff options
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/Manifest.gz | bin | 1577 -> 1235 bytes | |||
-rw-r--r-- | dev-dotnet/dbus-sharp-glib/Manifest | 5 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild | 29 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild | 29 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp-glib/metadata.xml | 8 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/Manifest | 7 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild | 31 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild | 30 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch | 28 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch | 26 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/metadata.xml | 8 | ||||
-rw-r--r-- | dev-dotnet/dotnet-sdk-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.100.ebuild | 57 |
13 files changed, 61 insertions, 201 deletions
diff --git a/dev-dotnet/Manifest.gz b/dev-dotnet/Manifest.gz Binary files differindex de6987e93c90..8fa9ba4365b1 100644 --- a/dev-dotnet/Manifest.gz +++ b/dev-dotnet/Manifest.gz diff --git a/dev-dotnet/dbus-sharp-glib/Manifest b/dev-dotnet/dbus-sharp-glib/Manifest deleted file mode 100644 index 107fa771efb9..000000000000 --- a/dev-dotnet/dbus-sharp-glib/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST dbus-sharp-glib-0.5.0.tar.gz 95405 BLAKE2B 75ecffd97ada361d422afdd1e0d4b29663f982e003e95eec670556b26d59515029a42e56bd4b373a3c0e255053370f81b0dbce45b5978b2fba5c176c53e3e27c SHA512 651a8d9b42342d6aca6b7963a089e8da609f0d2e9d6421f40fb9589204af63e790f1bc5dd7735bb751f84d3f0d888e2e2f174c23f79206f8858e0502cba95065 -DIST dbus-sharp-glib-0.6.0.tar.gz 73675 BLAKE2B 21227db46a3ec816f72b823cf6c8de018484ac3ba3657cb47e07924b8ab525bbc6106cdc3c825a4b3ac6c71e1a515927456912afb7331ae20d8e3696b89b738d SHA512 271edf10d149e152290cd0ac8ebaf6ed7a6f5d0f280d5514dbfbdb84f77d8339ba0e2c5fd53242cf00e13c7d2bfa3fbf426ca9038467b26b9a8396c6c9c1ed67 -EBUILD dbus-sharp-glib-0.5.0-r1.ebuild 596 BLAKE2B 42c76fce8938d21007049a50674a9908c14d13c7d09c49a0327f4362f9154c0848aa1b34ccd5f502a55c6eab760a84172a6238cf0e8aff199a143f0c3e39d334 SHA512 bc32797a2439b0b93ccecc98f3b8bd4110543391d12c00de24137cd8c7c9126a6470bd8565323341f03fcd252a5c2a5311a4831cad9361e71c8d7855f6500a9b -EBUILD dbus-sharp-glib-0.6.0.ebuild 609 BLAKE2B 1d8d0da422bb4028e263da5230d8793c17a1a4ea15c50f7b3237a0c5e1e349e3030073e95564ea499bba08efbb797fdb1b71acb21578041f12ae3bf9af0d2238 SHA512 e81f74f7268a2ba2e26f3836be7ef613aa6e15c9d42cc8688a737df229321096ec1f0a18df6ae8997566f8df59ad22a985626e74fbd9ce33ef062cee4dfc3251 -MISC metadata.xml 253 BLAKE2B e4b30c5ddf7d92003743b4128ee37c628d53b0bd429db8319762e6ef305ce6ec77e5b3d7a4c770af76dae2d6b50c715f69911a7a452a5d0e32d9836b8bfc4f7e SHA512 d8ee397024c36d60a1487f8c9cbad16e0549d3e7c0c424a13e1a18bc517fb372c252a2d76f994dd759fbc210ff7aabe421df8dbc47e1ae7236c850c3b4bafa5f diff --git a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild deleted file mode 100644 index b52e537942b1..000000000000 --- a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.5.0-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools mono-env - -DESCRIPTION="D-Bus for .NET: GLib integration module" -HOMEPAGE="https://github.com/mono/dbus-sharp" -SRC_URI="https://github.com/downloads/mono/dbus-sharp/${P}.tar.gz" - -LICENSE="MIT" -SLOT="1.0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-lang/mono - >=dev-dotnet/dbus-sharp-0.7:1.0" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_setup() { - DOCS="AUTHORS README" - mono-env_pkg_setup -} - -src_prepare() { - sed -i -e 's/gmcs/mcs/' configure.ac || die - eautoreconf -} diff --git a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild b/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild deleted file mode 100644 index 46ee6c48b31c..000000000000 --- a/dev-dotnet/dbus-sharp-glib/dbus-sharp-glib-0.6.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools mono-env - -DESCRIPTION="D-Bus for .NET: GLib integration module" -HOMEPAGE="https://github.com/mono/dbus-sharp" -SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV%.*}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="2.0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-lang/mono - >=dev-dotnet/dbus-sharp-0.8:2.0" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_setup() { - DOCS="AUTHORS README" - mono-env_pkg_setup -} - -src_prepare() { - sed -i -e 's/gmcs/mcs/' configure.ac || die - eautoreconf -} diff --git a/dev-dotnet/dbus-sharp-glib/metadata.xml b/dev-dotnet/dbus-sharp-glib/metadata.xml deleted file mode 100644 index c81714a4f53f..000000000000 --- a/dev-dotnet/dbus-sharp-glib/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">mono/dbus-sharp</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-dotnet/dbus-sharp/Manifest b/dev-dotnet/dbus-sharp/Manifest deleted file mode 100644 index 57fed3f0f8d9..000000000000 --- a/dev-dotnet/dbus-sharp/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX dbus-sharp-0.7.0-fix-signals.patch 1242 BLAKE2B c0931a34d1cea09479932e98967392afe279906ead2907cfedf7394f9932ad2108d7df30a0c5c45dffabc0362f60934f3baad70ae1ed11a6b217a61cb55909a5 SHA512 8d7e1d29a465f4f6749a65d279b4fd93cc4c08a0a8855b2933ffed47e72b6fee5bfbaebaca874a9b1b0da84336c3ea9230aa0b2a5af0c2794b93b6231f7bb7ab -AUX dbus-sharp-0.7.0-fix-signals2.patch 978 BLAKE2B e347c20349c09578610d82312f70744432e59065b43b17ca7713588f9929560dc0e26b48d4e0c2be0f442011eda974272d64806094d3eac38dc25776dad76bb2 SHA512 e25337f5e7db06691401c9d4f6b4da5be226db56f821b139f514be181b30ac4eb44573972df08c31693018f94354e24f5eb7c35b7bc007652471a3981bc24e04 -DIST dbus-sharp-0.7.0.tar.gz 127651 BLAKE2B ab89cc44a77d7d7b8783da5bde5e278b01560ac54d5a10960c0b58afe38ebdb4d8ce1384d10b37750bb5d58c2a48c9572beba056d7480e463afe81de1d9a9b9f SHA512 76d9c83aae227476e40efee1e987a03a8b1da29def79657365906a8220d2cceabe433f4b4679a87dd74e77431382b6c2857ca5498b0671b679d5ddd566d0229d -DIST dbus-sharp-0.8.1.tar.gz 148177 BLAKE2B ca522730e75a433cb4e6ba794eadaa8420fc6d9e067be66c818e326139bae2070a1962adc563f17bbfe56d53355c312410b333690224f62657d27922bdc39d68 SHA512 da5f6cb9fb653a2303eb99865100cc959b0b27d463dee744459666c3a5851f87e30fcb229da08505be45fcc28f4a44629e707073944b321556478f9c7b5c20d3 -EBUILD dbus-sharp-0.7.0-r2.ebuild 654 BLAKE2B 33489d5ca238ad30d2a471a681a811e4b3e60c40eaa6c8efed08a8d2b1ac1341a76de66d38b237d8098c7adad78f833c98b02bee4f00c7039e391acaa4e09f6e SHA512 856e25a20c613f5df8fdb3f1a52f90208ce4c1a38c605a23bd69bf507a5764247ab82b50c790ea8eddec986bfe67d3d7a7a88b39653490b49aa57deb2dc490c0 -EBUILD dbus-sharp-0.8.1.ebuild 558 BLAKE2B d3f420b5a0195055e74ee1ea520550c171197ce765076c3563559310fe63a3a8a5c05b153ac60ee8f75dec2300796d0c94eb143f88ae86ddc9500c49f0db3e99 SHA512 6f54f6dc8567c2a66dbf190cf5191f8ddf34a71a860b027e817928fac175bcd10dfdad2c775f32617fbf7113977cde2d59ef62041e56221ca25c29899dce0e50 -MISC metadata.xml 253 BLAKE2B e4b30c5ddf7d92003743b4128ee37c628d53b0bd429db8319762e6ef305ce6ec77e5b3d7a4c770af76dae2d6b50c715f69911a7a452a5d0e32d9836b8bfc4f7e SHA512 d8ee397024c36d60a1487f8c9cbad16e0549d3e7c0c424a13e1a18bc517fb372c252a2d76f994dd759fbc210ff7aabe421df8dbc47e1ae7236c850c3b4bafa5f diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild deleted file mode 100644 index f693eb3659f1..000000000000 --- a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools mono-env epatch - -DESCRIPTION="D-Bus for .NET" -HOMEPAGE="https://github.com/mono/dbus-sharp" -SRC_URI="https://github.com/downloads/mono/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="1.0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-lang/mono - sys-apps/dbus" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_setup() { - DOCS="AUTHORS README" -} - -src_prepare() { - # Fix signals, bug #387097 - epatch "${FILESDIR}/${P}-fix-signals.patch" - epatch "${FILESDIR}/${P}-fix-signals2.patch" - sed -i -e 's/gmcs/mcs/' configure.ac || die - eautoreconf -} diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild deleted file mode 100644 index baa798eacbf0..000000000000 --- a/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools mono-env - -DESCRIPTION="D-Bus for .NET" -HOMEPAGE="https://github.com/mono/dbus-sharp" -SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="2.0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-lang/mono - sys-apps/dbus" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( AUTHORS README ) - -pkg_setup() { - mono-env_pkg_setup -} - -src_prepare() { - sed -i -e 's/gmcs/mcs/' configure.ac || die - eautoreconf -} diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch deleted file mode 100644 index 934d7630d164..000000000000 --- a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 608328ba1e0ccc8d0387c244793b229bcc184648 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com> -Date: Fri, 10 Dec 2010 15:03:12 +0000 -Subject: [PATCH] Disable broken matching on sender for signals. Fix issue #8. - ---- - src/BusObject.cs | 5 ++++- - 1 files changed, 4 insertions(+), 1 deletions(-) - -diff --git a/src/BusObject.cs b/src/BusObject.cs -index e12207e..fe32b72 100644 ---- a/src/BusObject.cs -+++ b/src/BusObject.cs -@@ -56,7 +56,10 @@ public void ToggleSignal (string iface, string member, Delegate dlg, bool adding - rule.Fields.Add (FieldCode.Interface, new MatchTest (iface)); - rule.Fields.Add (FieldCode.Member, new MatchTest (member)); - rule.Fields.Add (FieldCode.Path, new MatchTest (object_path)); -- rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name)); -+ // FIXME: Cause a regression compared to 0.6 as name wasn't matched before -+ // the problem arises because busname is not used by DBus daemon and -+ // instead it uses the canonical name of the sender (i.e. similar to ':1.13') -+ //rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name)); - - if (adding) { - if (conn.Handlers.ContainsKey (rule)) --- -1.7.5.4 - diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch deleted file mode 100644 index d74361c08019..000000000000 --- a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 76f43e6cc25eae25b658831111b37b10376311d2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com> -Date: Thu, 10 Feb 2011 17:31:38 +0000 -Subject: [PATCH] Remove sender match check on receiving side too. Properly - fix issue 8. - ---- - src/Connection.cs | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/Connection.cs b/src/Connection.cs -index b414994..e593db9 100644 ---- a/src/Connection.cs -+++ b/src/Connection.cs -@@ -278,7 +278,7 @@ internal void HandleSignal (Message msg) - rule.MessageType = MessageType.Signal; - rule.Fields.Add (FieldCode.Interface, new MatchTest (signal.Interface)); - rule.Fields.Add (FieldCode.Member, new MatchTest (signal.Member)); -- rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender)); -+ //rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender)); - rule.Fields.Add (FieldCode.Path, new MatchTest (signal.Path)); - - Delegate dlg; --- -1.7.5.4 - diff --git a/dev-dotnet/dbus-sharp/metadata.xml b/dev-dotnet/dbus-sharp/metadata.xml deleted file mode 100644 index c81714a4f53f..000000000000 --- a/dev-dotnet/dbus-sharp/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">mono/dbus-sharp</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest index c45803e95a08..c570a9039ba3 100644 --- a/dev-dotnet/dotnet-sdk-bin/Manifest +++ b/dev-dotnet/dotnet-sdk-bin/Manifest @@ -1,5 +1,9 @@ DIST dotnet-sdk-5.0.301-linux-arm.tar.gz 138735656 BLAKE2B c23732749f67bd2ca63cadba9bcb3f5abd4e10d00fed441825e6a59f9d3a3e663101502e5557dd94e737443cc9bbab0d5dbe8f7ebdbde54586596ec5c520a64f SHA512 89663ffb22299ad626d3f1d5129e493fb8784e6ed854b128a364407a060eec2979cd7d3c9e4f3df8e47ccb72b98ff8b18e8d53c7fb65b3455faa7344f67417a2 DIST dotnet-sdk-5.0.301-linux-arm64.tar.gz 136933875 BLAKE2B 6c48c8a2d47ba5bed47e6176d10e273ec996686cb5a4d5b3239098ff23d44526091f7eae1ce762a2eb2f6f31420cafda84471b936082469eadc8c62aa0dcd8bf SHA512 56e233b8f35abe80984bc8a60028f4f8dbc8543313a0711045ef13c693e11e706ee4809574518f57910ec2c93bed896da32760c8143a298556dc25478caca90f DIST dotnet-sdk-5.0.301-linux-x64.tar.gz 142255332 BLAKE2B 172888e2eb78d2f768cff6a7e99d6473b469b7cbde74a4eab63e601d85bad118be374f330a413a9b6b3e6773340bdaef8ead4ed54a194189a50cac6b61fac556 SHA512 81cd7a3550a262d5c907030677429fa9a1cb515071274931ab760bd8bb2a14f40c9384c8757e1c1aa681b1de22035f16bf20b41ed208becd054cc9bb1f620322 +DIST dotnet-sdk-6.0.100-linux-arm.tar.gz 170285721 BLAKE2B b15484a3dd3472cd1b26b88b766b9bcc23bb9191cecde3052c619ef70337fae533b87610fb124d898d9c91645a76183ae27c4e073dcb3d9f599c2708305b3b5e SHA512 c1e555893c48c4f4256d3e6b1d36b31d8a4d7763a6e958fb63dd31436c660648d481612b5e25d79a613e84a1954f5eac2c9c2b740bf410958172780f7bbeaeb3 +DIST dotnet-sdk-6.0.100-linux-arm64.tar.gz 168213476 BLAKE2B ae16caed1a9b7b50f1141dafd8b47001d7e8d1d166809c7db143d3386d420b43728c01e010cf14757290032dc7779997d28a5ed168ffe40e9ea7f2aed53cc9d1 SHA512 e5983c1c599d6dc7c3c7496b9698e47c68247f04a5d0d1e3162969d071471297bce1c2fd3a1f9fb88645006c327ae79f880dcbdd8eefc9166fd717331f2716e7 +DIST dotnet-sdk-6.0.100-linux-x64.tar.gz 173759744 BLAKE2B fea1754290fbdbeb1e46a1e1e1f0b210010a5bee648d5a1e4a39cbe3d95d9903ba1f992ee5e3a9e410b622f9c058e316f16567f2df524dfbe8d230b383567b64 SHA512 cb0d174a79d6294c302261b645dba6a479da8f7cf6c1fe15ae6998bc09c5e0baec810822f9e0104e84b0efd51fdc0333306cb2a0a6fcdbaf515a8ad8cf1af25b EBUILD dotnet-sdk-bin-5.0.301.ebuild 1348 BLAKE2B 1a3fcf60fee6bc0054330f1f1e5522203a83402f82558499cb6c8fefb47419b617e155018f3dfebf25974bbb3c1caa5dedc1ddcdc483fd47de62f55e5eeec2f8 SHA512 43b1f9c46ebda1e582fae02be5fe24c9299351c0529446465fd8164bf36e3917f82890d8a3a95f0036f0d0e1ebdcf750ef47d648e9c055d05c6f937277595cfa +EBUILD dotnet-sdk-bin-6.0.100.ebuild 1790 BLAKE2B 819af57f6b27c7a0c63a604bc8b663b27159c8d79296be1b63a07c0946fdf11321d2be98d4eaf2c8d44fc7176652a200c2c64e232fb0eb2c7f9acc6f850d59f0 SHA512 97744a8917fb4a94ed26bd61a9bc5c1587421efd18afa428b1d62d25676e081f627b80caa53d335387ab966ad8a6cddda477016bc2fd918b5e265d2b6eac3e23 MISC metadata.xml 409 BLAKE2B 9ca816be38e5b6ac61e3f2878f767404078167aa8e7e25286427319878b499e6430204141579b409253f17c7438933edab377fff5747859c08cf8bc7ac937f17 SHA512 2124293e53d388f13be1789e342c9743b5a17ed96fa9a7364ac207fc391e52e8ff26b2dea9f39eb9fa43a89fc6ff14004c4443fa56a1c57af5451d98dabd148c diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.100.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.100.ebuild new file mode 100644 index 000000000000..a52d40cfec34 --- /dev/null +++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.100.ebuild @@ -0,0 +1,57 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PV="${PV}" + +DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" +HOMEPAGE="https://dotnet.microsoft.com/" +LICENSE="MIT" + +SRC_URI=" +amd64? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${MY_PV}/dotnet-sdk-${MY_PV}-linux-x64.tar.gz ) +arm? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${MY_PV}/dotnet-sdk-${MY_PV}-linux-arm.tar.gz ) +arm64? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${MY_PV}/dotnet-sdk-${MY_PV}-linux-arm64.tar.gz ) +" + +SLOT="6.0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="+dotnet-symlink" +REQUIRED_USE="elibc_glibc" +QA_PREBUILT="*" +RESTRICT+=" splitdebug" +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-util/lttng-ust:0 + sys-libs/zlib:0/1 + dotnet-symlink? ( + !dev-dotnet/dotnet-sdk[dotnet-symlink(+)] + !dev-dotnet/dotnet-sdk-bin:5.0[dotnet-symlink(+)] + ) +" + +S=${WORKDIR} + +src_install() { + local dest="opt/${PN}-${SLOT}" + dodir "${dest%/*}" + + # 6.0.100 is SDK feature band which will not change between minor increases, so 6.0.101, 6.102 + # will still have same 6.0.100 SDK feature band in the name. Thus I have to hard code this + # https://github.com/dotnet/sdk/pull/18823#issuecomment-915603684 + local workloads="metadata/workloads/${SLOT}.100" + + { mkdir -p "${S}/${workloads}" && touch "${S}/${workloads}/userlocal"; } || die + { mv "${S}" "${ED}/${dest}" && mkdir "${S}" && fperms 0755 "/${dest}"; } || die + dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}" + + if use dotnet-symlink; then + dosym "../../${dest}/dotnet" "/usr/bin/dotnet" + dosym "../../${dest}/dotnet" "/usr/bin/dotnet-${SLOT}" + + # set an env-variable for 3rd party tools + echo "DOTNET_ROOT=/${dest}" > "${T}/90${PN}-${SLOT}" || die + doenvd "${T}/90${PN}-${SLOT}" + fi +} |