summaryrefslogtreecommitdiff
path: root/dev-dotnet/dotnet-sdk-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-17 05:37:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-17 05:37:24 +0000
commitc4a46526c2232ba00b0ccc97f2d2a30b0c6baea5 (patch)
tree704e1ac4fe255581fb2a4fdff0d69c5329e1e403 /dev-dotnet/dotnet-sdk-bin
parentd228f661892a9e55a86f00c2c14625490631d797 (diff)
gentoo auto-resync : 17:02:2024 - 05:37:23
Diffstat (limited to 'dev-dotnet/dotnet-sdk-bin')
-rw-r--r--dev-dotnet/dotnet-sdk-bin/Manifest15
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.417-r4.ebuild8
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.404-r4.ebuild22
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild24
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.101-r3.ebuild24
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.200.ebuild157
6 files changed, 222 insertions, 28 deletions
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index f9560e22d6d0..b1d5eae09038 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -22,8 +22,15 @@ DIST dotnet-sdk-8.0.101-linux-musl-arm.tar.gz 209611402 BLAKE2B d833a8bcf794e3ea
DIST dotnet-sdk-8.0.101-linux-musl-arm64.tar.gz 209818487 BLAKE2B ac7bb3babf4008a513b57c37d8f7b8e0bdf119e51ad9e42011aba7cfe6a32e11d8d9a0b2c835d25d39ad7a74302804ecb776acf0dafe134cf276eae86ba4ddf9 SHA512 796d9fa4fda9d7d0f014820e20a8bad63052ba5e15dcb4fcb44ce33438a1aa4cd5e2ea0ad4a538b07946302b9649638762e3bfaa22a70318f0f17bc50c105193
DIST dotnet-sdk-8.0.101-linux-musl-x64.tar.gz 214418879 BLAKE2B 981dab8fb6248749e34f7229cf0c3f3702908c6347e6cf2c266787913e79095af2acb81316a82ae55c74d4a34a4c782218c69e92ac6cf3ce6830350bc3f949c5 SHA512 95751235b774ed1050b721528495c1ba561c0bce99989a5fd6c0d0510b8b7d07a34ef186f347d16194b07d5ec4966ae8cb47aa7c1a65eebcea8a68fd90fb22e5
DIST dotnet-sdk-8.0.101-linux-x64.tar.gz 214222713 BLAKE2B 7b886f200ec07e6625ca004c7875a3a921d2e935c0767173821502c0d37974aecf89e4bbee62c44c83f49f306107189311d94a18f4265408acbcc708e5688984 SHA512 26df0151a3a59c4403b52ba0f0df61eaa904110d897be604f19dcaa27d50860c82296733329cb4a3cf20a2c2e518e8f5d5f36dfb7931bf714a45e46b11487c9a
-EBUILD dotnet-sdk-bin-6.0.417-r4.ebuild 3648 BLAKE2B 30f9f9137ca49917cab920be7512d598892bddb724bfa46f661a0e2fd5803c3eba49e1bfe9efdab9d807c8d9c232fd6e0a46850f82e1be436e961cd01c4ea7a3 SHA512 8e5462640b371e08dc6ae09b4dabb87b5fbed64e489a651205e300233d91858ebfe06448550d7eff0ec2a19ea7a0e83eb4f5a6d35728f9b215ff632a6db06442
-EBUILD dotnet-sdk-bin-7.0.404-r4.ebuild 3690 BLAKE2B c41cb0900c2443dd7513742631524dd506ba7369cdb1e28a013fae0288a146ca5e2dfb6c8cf0811e856ebf91ba030f3191a6d9f357dac3ddf6a14b751ccdddd9 SHA512 7a98fb4176848cac670e05160f83efc1fa4eb733d959906328106c5fd530f786105ec9352e3d44a4303488bbf2a9ea492ec157ac1dd0407b16726ea5173dbadb
-EBUILD dotnet-sdk-bin-8.0.100-r4.ebuild 3731 BLAKE2B 8d0a4db925472a4496dc059cbd7ff865177b5304c98b8184f2482a7786bf9d4214f0c0fcab4800c0191d2628d13707f69b37bade9ceb644d040914e1224c4583 SHA512 2dd1a3e3df3a26b83c55ecfd00bd3ea56b5550018bb60756b83f6173e2479463377e7ad586bacaaeb735ca28c6679339590b6fd86e85350fa30c714fc6d407c5
-EBUILD dotnet-sdk-bin-8.0.101-r3.ebuild 3734 BLAKE2B a9daacbf73c5ac348fba10cc52c2970f450208a18af7c949629cfc9b153357eb1d607b19f0e94e5646feca6eae3adba7e0d462bce4ce9d16d29ed7f702c2dbcb SHA512 2c0b9e1c63106b641753ae85f87c018426f0c6cf86d53e2c7b49cc5fb85e03e8cab79445ae3b628f644735ab8087458645a3d624d2c16720cbfc48cf5057f15f
+DIST dotnet-sdk-8.0.200-linux-arm.tar.gz 221531494 BLAKE2B 2ee8e9115476dca7774c6eb410a537201a30d579f8c7725491a4aa7839f2bbff998dbe0e653f9a3c3ebd4b318967ba37f00a1ee58411f51950d892a2903799b1 SHA512 a7359c6b714bea6a0e56a89465866e78e241a3587b916fbd8ce4c9ea89c3bf987ab95d8b12d64308257ae0213c724ebafb34e0ff244058172b58719cef0184d5
+DIST dotnet-sdk-8.0.200-linux-arm64.tar.gz 221425754 BLAKE2B d4c967579a05429b9dea1f08a047eed34e918bcee5429e2837b4d6ae7d27fa6805e222d91b9f24b46a6eaad344fcd1cbd99f05bc895e6aba74672171ccbf6401 SHA512 ebb11b2dba2843175f55b6a78a29f6a22860eb1198e4562f206f5fd3c0cd1711bb5c8919967396ac6a0e354c43bd6d012e47fdbd85ad951c7ff0e3e87b0a0b19
+DIST dotnet-sdk-8.0.200-linux-musl-arm.tar.gz 221630199 BLAKE2B a3ffe46d7b790d9a83eb1d32d8deb9e5b6b7bde1cdf7041c028b44b128af8faa55796ac483377587e4ddbfebdabcec9ac2f07f8da891cb422207fe5c2b1527bf SHA512 2995e624ddc1dfb81b37a2865e1cef9227c473c50cf48b4e6d47032dd3763b57a2421aee1bb221c7307b18d8c2cec1a0531dda61b0ea33dd2d7b8c3b33055943
+DIST dotnet-sdk-8.0.200-linux-musl-arm64.tar.gz 221489257 BLAKE2B fd0cb9bf1007cbdc42f196674fd19e0461e9435aa4968beca051a31133b5e830dc1c9c7969f1a489efc4f18dabb2f999ac14269fb06fff1e264b22a71e407c1e SHA512 a65149b1b6eca4ebca30bf0f537e0759bc84ae6bb6ab528dcbbc357a0ebeaac21dbaab320ee97a9cb107d6b43b2f042837d669cf6c45df7f5756cfb3e7beab21
+DIST dotnet-sdk-8.0.200-linux-musl-x64.tar.gz 226287389 BLAKE2B e73229c5ce60b6d6933725ac9f911d44486cb5515baca45f8abf874d4a179eacddc6b8ea5190a552019fb1de1ff6ad0d6cb18b3e62aa1fa29cbfb8c3431f99e5 SHA512 c13d33ae2ec4ffbc8269ab89bced97fa659eaf173b0ca146f06174d51990b74bcbfb13333c9162973754ef5c328e41a52643f61fc33474c5335b6bacb9bb5fda
+DIST dotnet-sdk-8.0.200-linux-x64.tar.gz 226151582 BLAKE2B 2677de02a7725894045bddc6d1c3aa3a33cd42c41a069b76254e285f2f2e80959fbbbc4f2aa328143505da6af45fc56d387a2759074f82f0219861751a8a68d0 SHA512 58417468b72c89a66ad0bf54a0e4af13f8a3a37f2aae6e28ef762b9cdd783af0c13ad62ce185446d920b2709ec73c980d888fd73a413a8dce154ac15cb0056a3
+EBUILD dotnet-sdk-bin-6.0.417-r4.ebuild 3648 BLAKE2B cae115deee48b38c6ebb1eba1a4eea60d4d21d5378702aa1a72dd3569b548f1bbdfbe0f0030ec0911eb9f564d208c49fbba14712651d2da555cc778b5399a435 SHA512 36011a4300685da89ece02df2f3f4193e34976e3e38ea41c88937a1b90e4ba21fb0fa908e5544b90b4e3ccde89af9b15d86fdf9969233ca4e2a85e267cb45b0a
+EBUILD dotnet-sdk-bin-7.0.404-r4.ebuild 3827 BLAKE2B ebeeaad4a1a335fff5ea6f07e0a28d65337b0d948626636bbe8435cc4fa7a8ef356fbd78b294dad0f9913b595775d45bc5a0ed45cfc0daf7705280b492224d18 SHA512 9d841acc5259e8c5f1ad98b1864bdec93b972c797ff7cfad17bd1ab03ad35a25554868f20167de622513ac47ab49f5e492fd9bad97256f7db5598abd6f994cc0
+EBUILD dotnet-sdk-bin-8.0.100-r4.ebuild 3868 BLAKE2B 9f0965a9c0662237d3f24741128c0c8539fedad7965462837d20271d4299d5424e7b7c956ba54f0fc2b0382ffe78bcee89e2f3259a9e3867fe3ae50770cd3ebc SHA512 59e1f1507c54637eb5ace597faeb7c9e9229dd4e0ea7b00aa2e4ac6a9fa7542153eb9b2411ff4f354cdc29adcc938e0da84548739a7ba863bdff3673cb6105b7
+EBUILD dotnet-sdk-bin-8.0.101-r3.ebuild 3871 BLAKE2B 6c95505a92b9b5201292c281f639a4a27f24ea92ddbaca9240087b0ab08f6a2c4243d82de099f17409034e8e8ab015f4acdc2a6fee4c05777c2e96779e0613e2 SHA512 052402bf55a19d23590bf78c702dcde554976130f902e86a0b3a69e37f6721ccb8f10bc1aba9b777819660a11d8085d5c6b168fb1e2e78b51b8f8bec4da405e5
+EBUILD dotnet-sdk-bin-8.0.200.ebuild 3871 BLAKE2B bf155a2c6f76fabbb1a1206a7fe7791b11f77323f32e34e371e5c413c63bc7463f0061feb8065034fa8eedac390d5bfe27f5aad35911982d1ca1b2190f0c54a7 SHA512 e7cd897b1cdeac1291916762ef1b80c5acd92a05eb16f0880425c65e44f2781a363f080abae5611e5776000f59fccf71c2d11898c1367786c629c7310cec7538
MISC metadata.xml 399 BLAKE2B 77e69a42625154f791fdf1e9559921a4e7aa077e91f78d3ec52779818287d05612080ca21a4199a3531e8d1af34a78f362a07b3cd89cd027dc1f0b6cf84fbbdf SHA512 d0b85e5ea0a2a4aa361d21a81218ef5dd68f6d51972addc771681208342075a860436a135e8f219cb5b4424f8a40d1dace8260c6c0eb1da3ef1a0dd13811c1d0
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.417-r4.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.417-r4.ebuild
index 0714019b2155..f3e305f5c58e 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.417-r4.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.417-r4.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.25"
+
DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
https://github.com/dotnet/dotnet/"
@@ -22,11 +25,8 @@ arm64? (
"
S="${WORKDIR}"
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.25"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-
LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
KEYWORDS="amd64 arm arm64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.404-r4.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.404-r4.ebuild
index 3e3f048ac1ab..5b132bbcc2c9 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.404-r4.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.404-r4.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.14"
+
DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
https://github.com/dotnet/dotnet/"
@@ -22,17 +25,25 @@ arm64? (
"
S="${WORKDIR}"
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.14"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-
LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
KEYWORDS="amd64 arm arm64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
# bug https://bugs.gentoo.org/923430
RESTRICT="splitdebug strip"
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.25
+"
+NUGETS_DEPEND="
+ ${CURRENT_NUGETS_DEPEND}
+ ${EXTRA_NUGETS_DEPEND}
+"
+
RDEPEND="
app-crypt/mit-krb5:0/0
dev-libs/icu
@@ -46,8 +57,7 @@ IDEPEND="
app-eselect/eselect-dotnet
"
PDEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
- ~dev-dotnet/dotnet-runtime-nugets-6.0.25
+ ${NUGETS_DEPEND}
"
QA_PREBUILT="*"
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild
index 06710163ef35..fdbb81c6c024 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100-r4.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.0"
+
DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
https://github.com/dotnet/dotnet/"
@@ -22,17 +25,26 @@ arm64? (
"
S="${WORKDIR}"
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.0"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-
LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
KEYWORDS="amd64 arm arm64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
# bug https://bugs.gentoo.org/923430
RESTRICT="splitdebug strip"
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.25
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.14
+"
+NUGETS_DEPEND="
+ ${CURRENT_NUGETS_DEPEND}
+ ${EXTRA_NUGETS_DEPEND}
+"
+
RDEPEND="
app-crypt/mit-krb5:0/0
dev-libs/icu
@@ -46,9 +58,7 @@ IDEPEND="
app-eselect/eselect-dotnet
"
PDEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
- ~dev-dotnet/dotnet-runtime-nugets-6.0.25
- ~dev-dotnet/dotnet-runtime-nugets-7.0.14
+ ${NUGETS_DEPEND}
"
QA_PREBUILT="*"
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.101-r3.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.101-r3.ebuild
index 81675d234044..c12f37a86041 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.101-r3.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.101-r3.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.1"
+
DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
https://github.com/dotnet/dotnet/"
@@ -22,17 +25,26 @@ arm64? (
"
S="${WORKDIR}"
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.1"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-
LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
KEYWORDS="~amd64 ~arm ~arm64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
# bug https://bugs.gentoo.org/923430
RESTRICT="splitdebug strip"
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.26
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.15
+"
+NUGETS_DEPEND="
+ ${CURRENT_NUGETS_DEPEND}
+ ${EXTRA_NUGETS_DEPEND}
+"
+
RDEPEND="
app-crypt/mit-krb5:0/0
dev-libs/icu
@@ -46,9 +58,7 @@ IDEPEND="
app-eselect/eselect-dotnet
"
PDEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
- ~dev-dotnet/dotnet-runtime-nugets-6.0.26
- ~dev-dotnet/dotnet-runtime-nugets-7.0.15
+ ${NUGETS_DEPEND}
"
QA_PREBUILT="*"
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.200.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.200.ebuild
new file mode 100644
index 000000000000..38929dc875b5
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.200.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.2"
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/
+ https://github.com/dotnet/dotnet/"
+SRC_URI="
+amd64? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-x64.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-x64.tar.gz )
+)
+arm? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm.tar.gz )
+)
+arm64? (
+ elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm64.tar.gz )
+ elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm64.tar.gz )
+)
+"
+S="${WORKDIR}"
+
+LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
+# bug https://bugs.gentoo.org/923430
+RESTRICT="splitdebug strip"
+
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.27
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.16
+"
+NUGETS_DEPEND="
+ ${CURRENT_NUGETS_DEPEND}
+ ${EXTRA_NUGETS_DEPEND}
+"
+
+RDEPEND="
+ app-crypt/mit-krb5:0/0
+ dev-libs/icu
+ dev-util/lttng-ust:0/2.12
+ sys-libs/zlib:0/1
+"
+BDEPEND="
+ dev-util/patchelf
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+PDEPEND="
+ ${NUGETS_DEPEND}
+"
+
+QA_PREBUILT="*"
+
+MUSL_BAD_LINKS=(
+ apphost
+ createdump
+ dotnet
+ libSystem.Globalization.Native.so
+ libSystem.IO.Compression.Native.so
+ libSystem.Native.so
+ libSystem.Net.Security.Native.so
+ libSystem.Security.Cryptography.Native.OpenSsl.so
+ libclrgc.so
+ libclrjit.so
+ libcoreclr.so
+ libcoreclrtraceptprovider.so
+ libdbgshim.so
+ libhostfxr.so
+ libhostpolicy.so
+ libmscordaccore.so
+ libmscordbi.so
+ libnethost.so
+ singlefilehost
+)
+MUSL_BAD_SONAMES=(
+ libc.musl-aarch64.so.1
+ libc.musl-armv7.so.1
+ libc.musl-x86_64.so.1
+)
+
+src_prepare() {
+ default
+
+ # Fix musl libc SONAME links, bug https://bugs.gentoo.org/894760
+ if use elibc_musl ; then
+ local musl_bad_link
+ local musl_bad_link_path
+ local musl_bad_soname
+
+ for musl_bad_link in "${MUSL_BAD_LINKS[@]}" ; do
+ while read -r musl_bad_link_path ; do
+ # Skip if file either does not end with ".so" or is not executable.
+ # Using "case" here for easier matching in case we have to add
+ # a special exception.
+ case "${musl_bad_link_path}" in
+ *.so )
+ :
+ ;;
+ * )
+ if [[ ! -x "${musl_bad_link_path}" ]] ; then
+ continue
+ fi
+ ;;
+ esac
+
+ einfo "Fixing musl libc link for ${musl_bad_link_path}"
+
+ for musl_bad_soname in "${MUSL_BAD_SONAMES[@]}" ; do
+ patchelf --remove-needed "${musl_bad_soname}" "${musl_bad_link_path}" || die
+ done
+
+ patchelf --add-needed libc.so "${musl_bad_link_path}" || die
+ done < <(find . -type f -name "${musl_bad_link}")
+ done
+ fi
+
+ # Remove static libraries, bug https://bugs.gentoo.org/825774
+ find ./packs -type f -name "libnethost.a" -delete || die
+}
+
+src_install() {
+ local dest="opt/${PN}-${SDK_SLOT}"
+ dodir "${dest%/*}"
+
+ # Create a magic workloads file, bug #841896
+ local featureband="$(( $(ver_cut 3) / 100 * 100 ))" # e.g. 404 -> 400
+ local workloads="metadata/workloads/${SDK_SLOT}.${featureband}"
+
+ mkdir -p "${S}/${workloads}" || die
+ touch "${S}/${workloads}/userlocal" || die
+
+ mv "${S}" "${ED}/${dest}" || die
+ mkdir "${S}" || die
+
+ fperms 0755 "/${dest}"
+ dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SDK_SLOT}"
+}
+
+pkg_postinst() {
+ eselect dotnet update ifunset
+}
+
+pkg_postrm() {
+ eselect dotnet update ifunset
+}