mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
dotnet-runtime: add aspnet8-runtime
This commit is contained in:
parent
228bf70c79
commit
cbe3810b0e
@ -6,10 +6,10 @@ PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain icu aspnet6-runtime"
|
||||
PKG_DEPENDS_TARGET="toolchain icu aspnet6-runtime aspnet8-runtime"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="ASP.NET Core Runtime"
|
||||
PKG_LONGDESC="ASP.NET Core Runtime ($(get_pkg_version aspnet6-runtime)) enables you to run existing console/web/server applications."
|
||||
PKG_LONGDESC="ASP.NET Core Runtime ($(get_pkg_version aspnet6-runtime)) and ($(get_pkg_version aspnet8-runtime)) enables you to run existing console/web/server applications."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
@ -20,12 +20,24 @@ PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||
|
||||
addon() {
|
||||
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
# aspnet6-runtime
|
||||
cp -r $(get_build_dir aspnet6-runtime)/* \
|
||||
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
# aspnet8-runtime
|
||||
cp -r $(get_build_dir aspnet8-runtime)/* \
|
||||
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
|
||||
# aspnet6-runtime
|
||||
cp -L $(get_install_dir icu)/usr/lib/lib*.so.?? \
|
||||
${ADDON_BUILD}/${PKG_ADDON_ID}/bin/shared/Microsoft.NETCore.App/$(get_pkg_version aspnet6-runtime)
|
||||
# aspnet8-runtime
|
||||
cp -L $(get_install_dir icu)/usr/lib/lib*.so.?? \
|
||||
${ADDON_BUILD}/${PKG_ADDON_ID}/bin/shared/Microsoft.NETCore.App/$(get_pkg_version aspnet8-runtime)
|
||||
|
||||
# aspnet6-runtime
|
||||
sed -e "s/\"System.Reflection.Metadata.MetadataUpdater.IsSupported\": false/&,\n \"System.Globalization.AppLocalIcu\": \"$(get_pkg_version icu | cut -f 1 -d -)\"/" \
|
||||
-i ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/shared/Microsoft.NETCore.App/$(get_pkg_version aspnet6-runtime)/Microsoft.NETCore.App.runtimeconfig.json
|
||||
# aspnet8-runtime
|
||||
sed -e "s/\"tfm\": \"net8.0\"/&,\n \"configProperties\": {\n \"System.Globalization.AppLocalIcu\": \"$(get_pkg_version icu | cut -f 1 -d -)\"\n }/" \
|
||||
-i ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/shared/Microsoft.NETCore.App/$(get_pkg_version aspnet8-runtime)/Microsoft.NETCore.App.runtimeconfig.json
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user