commit:     e396408c30767babb730a3b80fb6866d458642a4
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 23:11:02 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 23:11:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e396408c

dev-dotnet/dotnet-sdk-bin: icu optfeature

Closes: https://bugs.gentoo.org/833281
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.420.ebuild    | 8 ++++++++
 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.421.ebuild    | 8 ++++++++
 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.407-r1.ebuild | 8 ++++++++
 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.408.ebuild    | 8 ++++++++
 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.301.ebuild    | 8 ++++++++
 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.302.ebuild    | 8 ++++++++
 6 files changed, 48 insertions(+)

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.420.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.420.ebuild
index dabeb4bdbf70..595560460cba 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.420.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.420.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PV="${PV}"
 
 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
@@ -46,3 +48,9 @@ src_install() {
                doenvd "${T}/90${PN}-${SLOT}"
        fi
 }
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.421.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.421.ebuild
index dabeb4bdbf70..595560460cba 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.421.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.421.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PV="${PV}"
 
 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
@@ -46,3 +48,9 @@ src_install() {
                doenvd "${T}/90${PN}-${SLOT}"
        fi
 }
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.407-r1.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.407-r1.ebuild
index 35084c97d1ab..0a495504107e 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.407-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.407-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PV="${PV}"
 
 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
@@ -49,3 +51,9 @@ src_install() {
                doenvd "${T}/90${PN}-${SLOT}"
        fi
 }
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.408.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.408.ebuild
index 35084c97d1ab..0a495504107e 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.408.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-5.0.408.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PV="${PV}"
 
 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
@@ -49,3 +51,9 @@ src_install() {
                doenvd "${T}/90${PN}-${SLOT}"
        fi
 }
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.301.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.301.ebuild
index 4a71ab6b42e1..5983f350bfe8 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.301.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.301.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PV="${PV}"
 
 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
@@ -56,3 +58,9 @@ src_install() {
                doenvd "${T}/90${PN}-${SLOT}"
        fi
 }
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.302.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.302.ebuild
index 4a71ab6b42e1..5983f350bfe8 100644
--- a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.302.ebuild
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.302.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PV="${PV}"
 
 DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
@@ -56,3 +58,9 @@ src_install() {
                doenvd "${T}/90${PN}-${SLOT}"
        fi
 }
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

Reply via email to