Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15146 from EyeCantCU/jellyfin
feat(packages): Add Jellyfin
- Loading branch information
Showing
4 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package: | ||
name: jellyfin-web | ||
version: 10.8.13 | ||
epoch: 0 | ||
description: Web Client for Jellyfin | ||
copyright: | ||
- license: GPL-2.0-only | ||
dependencies: | ||
runtime: | ||
- jellyfin | ||
- nodejs | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- busybox | ||
- jellyfin | ||
- nodejs | ||
- npm | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/jellyfin/jellyfin-web | ||
tag: v${{package.version}} | ||
expected-commit: 8e37078b6066715b27fd2dde1f7d1eda216044d9 | ||
|
||
- runs: | | ||
npm ci --no-audit --unsafe-perm | ||
npm run build:production | ||
mkdir -p "${{targets.destdir}}"/usr/lib/jellyfin/jellyfin-web | ||
cp -r dist/* "${{targets.destdir}}"/usr/lib/jellyfin/jellyfin-web | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
ignore-regex-patterns: | ||
- '.*alpha.*' | ||
- '.*beta.*' | ||
- '.*rc.*' | ||
github: | ||
identifier: jellyfin/jellyfin-web | ||
use-tag: true | ||
strip-prefix: v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package: | ||
name: jellyfin | ||
version: 10.8.13 | ||
epoch: 0 | ||
description: The Free Software Media System | ||
copyright: | ||
- license: GPL-2.0-only | ||
dependencies: | ||
runtime: | ||
- aspnet-6-runtime | ||
- dotnet-6 | ||
- ffmpeg | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- aspnet-6-runtime | ||
- busybox | ||
- dotnet-6-sdk | ||
- ffmpeg | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/jellyfin/jellyfin | ||
tag: v${{package.version}} | ||
expected-commit: e93d03d8cbff2122d7296f477604146f64758a73 | ||
|
||
- uses: patch | ||
with: | ||
patches: | | ||
GHSA-j7hp-h8jx-5ppr.patch \ | ||
GHSA-qrmm-w75w-3wpx.patch | ||
- runs: | | ||
# Set runtime arch | ||
if [[ "${{build.arch}}" == "aarch64" ]]; then | ||
runtime_arch="arm64" | ||
elif [[ "${{build.arch}}" == "x86_64" ]]; then | ||
runtime_arch="x64" | ||
fi | ||
dotnet publish \ | ||
--configuration Release Jellyfin.Server \ | ||
--no-self-contained \ | ||
--output publish \ | ||
--runtime linux-$runtime_arch \ | ||
-p:DebugSymbols=false \ | ||
-p:DebugType=none | ||
mkdir -p "${{targets.destdir}}"/usr/lib | ||
cp -dr publish "${{targets.destdir}}"/usr/lib/jellyfin | ||
mkdir -p "${{targets.destdir}}"/usr/bin | ||
ln -s /usr/lib/jellyfin/jellyfin "${{targets.destdir}}"/usr/bin/jellyfin | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
ignore-regex-patterns: | ||
- '.*alpha.*' | ||
- '.*beta.*' | ||
- '.*rc.*' | ||
github: | ||
identifier: jellyfin/jellyfin | ||
use-tag: true | ||
strip-prefix: v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj b/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj | ||
index 9debe555e..76a65fa08 100644 | ||
--- a/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj | ||
+++ b/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj | ||
@@ -18,8 +18,8 @@ | ||
<ItemGroup> | ||
<PackageReference Include="BlurHashSharp" Version="1.2.0" /> | ||
<PackageReference Include="BlurHashSharp.SkiaSharp" Version="1.2.0" /> | ||
- <PackageReference Include="SkiaSharp" Version="2.88.2" /> | ||
- <PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.2" /> | ||
+ <PackageReference Include="SkiaSharp" Version="2.88.7" /> | ||
+ <PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.7" /> | ||
<PackageReference Include="SkiaSharp.Svg" Version="1.60.0" /> | ||
</ItemGroup> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Jellyfin.Api/Jellyfin.Api.csproj b/Jellyfin.Api/Jellyfin.Api.csproj | ||
index 76831b77b..172a162eb 100644 | ||
--- a/Jellyfin.Api/Jellyfin.Api.csproj | ||
+++ b/Jellyfin.Api/Jellyfin.Api.csproj | ||
@@ -19,7 +19,7 @@ | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.9" /> | ||
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" /> | ||
- <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" /> | ||
+ <PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.1" /> | ||
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.3.1" /> | ||
</ItemGroup> | ||
|