Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-dotnet/dotnet-runtime-bin/, dev-dotnet/dotnet-runtime-bin/files/
Date: Fri, 30 Apr 2021 11:18:17
Message-Id: 1619781479.4bfca52ca35af352270d7ffc2d93ecc1c853dd19.telans@gentoo
1 commit: 4bfca52ca35af352270d7ffc2d93ecc1c853dd19
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Fri Apr 30 11:17:27 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Fri Apr 30 11:17:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4bfca52c
7
8 dev-dotnet/dotnet-runtime-bin: initial import
9
10 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
11
12 dev-dotnet/dotnet-runtime-bin/Manifest | 3 ++
13 .../dotnet-runtime-bin-5.0.5.ebuild | 50 ++++++++++++++++++++++
14 dev-dotnet/dotnet-runtime-bin/files/80dotnet | 2 +
15 dev-dotnet/dotnet-runtime-bin/metadata.xml | 8 ++++
16 4 files changed, 63 insertions(+)
17
18 diff --git a/dev-dotnet/dotnet-runtime-bin/Manifest b/dev-dotnet/dotnet-runtime-bin/Manifest
19 new file mode 100644
20 index 000000000..92e6c2069
21 --- /dev/null
22 +++ b/dev-dotnet/dotnet-runtime-bin/Manifest
23 @@ -0,0 +1,3 @@
24 +DIST dotnet-runtime-5.0.5-linux-arm.tar.gz 28939822 BLAKE2B 7b0d311789624e94943c5fbfa3df76992b43dd12fb838f9af427e12c2b0f91027e1263265a59ecf43652cf711f36c1ac6518bf8d6b5aa0d93fabde81a81fffb2 SHA512 b7032a935a808370b1eedad7d3e7204c4d05518d21be5aa0b990bf935b48cc89ed70d2fcb282a5ae191034722bc09dfcbc12e2ad674b37c8bd23db8811cde3cb
25 +DIST dotnet-runtime-5.0.5-linux-arm64.tar.gz 28659540 BLAKE2B 1633092a1344a8e293e2382bcbec0ca55c9fceb6214ec6d14f3b4beca301d7941a43fc80cf1eee63aad87579d6721a6497c20ab0da0b2532295af0bede902e3c SHA512 d3ea167e1877f6a30ed3e2243bfde572340db295cdc2fe91a6035bfaaab4b15a42023bbef79db3cdbc8cf32a24efd91d53975701c8068cbcc0a51965a70efdee
26 +DIST dotnet-runtime-5.0.5-linux-x64.tar.gz 30858909 BLAKE2B 7d4b777045e58793cc57b25e7b111b2f8affde574dd7f7ccd9b76b827b2c23139f9a0a4150ec83ba47a7d1419df35addecc53bb992fe9edb3ba7812c56ef28f2 SHA512 ce9d3778c9a331b35cf18d7b64f9eec8fc37d9088f1a2208488577f611b2ab0f8b3a82b7f559b331d584ac86e1f09153ee2e255e617239fe9a9382373f873237
27
28 diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-5.0.5.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-5.0.5.ebuild
29 new file mode 100644
30 index 000000000..3bcb44373
31 --- /dev/null
32 +++ b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-5.0.5.ebuild
33 @@ -0,0 +1,50 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +DESCRIPTION=".NET Runtime"
40 +HOMEPAGE="https://dotnet.microsoft.com/"
41 +SRC_URI="
42 + amd64? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-x64.tar.gz )
43 + arm? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm.tar.gz )
44 + arm64? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm64.tar.gz )
45 +"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64"
50 +
51 +# The SDK includes dotnet-runtime-bin so prevent installing the SDK at the same time
52 +RDEPEND="
53 + app-crypt/mit-krb5
54 + !dev-dotnet/dotnet-sdk-bin
55 + !dev-dotnet/dotnet-sdk-bin-common
56 + dev-libs/icu
57 + dev-util/lldb
58 + dev-util/lttng-ust
59 + net-misc/curl
60 + sys-apps/lsb-release
61 + sys-devel/llvm
62 + sys-libs/zlib
63 + || (
64 + dev-libs/openssl
65 + dev-libs/openssl-compat
66 + )
67 + || (
68 + sys-libs/libunwind
69 + sys-libs/llvm-libunwind
70 + )
71 +"
72 +
73 +QA_PREBUILT="*"
74 +
75 +S="${WORKDIR}"
76 +
77 +src_install() {
78 + insinto /opt/dotnet
79 + doins -r "${S}/."
80 + dosym ../../opt/dotnet/dotnet /usr/bin/dotnet
81 + fperms +x /usr/bin/dotnet
82 + doenvd "${FILESDIR}/80dotnet"
83 +}
84
85 diff --git a/dev-dotnet/dotnet-runtime-bin/files/80dotnet b/dev-dotnet/dotnet-runtime-bin/files/80dotnet
86 new file mode 100644
87 index 000000000..4cf0206ea
88 --- /dev/null
89 +++ b/dev-dotnet/dotnet-runtime-bin/files/80dotnet
90 @@ -0,0 +1,2 @@
91 +DOTNET_CLI_TELEMETRY_OPTOUT=1
92 +DOTNET_ROOT=/opt/dotnet
93
94 diff --git a/dev-dotnet/dotnet-runtime-bin/metadata.xml b/dev-dotnet/dotnet-runtime-bin/metadata.xml
95 new file mode 100644
96 index 000000000..17cfe1629
97 --- /dev/null
98 +++ b/dev-dotnet/dotnet-runtime-bin/metadata.xml
99 @@ -0,0 +1,8 @@
100 +<?xml version="1.0" encoding="UTF-8"?>
101 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
102 +<pkgmetadata>
103 + <maintainer type="project">
104 + <email>telans@××××××.de</email>
105 + <name>Theo Anderson</name>
106 + </maintainer>
107 +</pkgmetadata>