|
@@ -11,10 +11,8 @@ This directory contains the packaging configuration of Jellyfin for multiple pla
|
|
|
|
|
|
### Portable Builds (archives)
|
|
### Portable Builds (archives)
|
|
|
|
|
|
-* `debian-x64`: Portable binary archive for Debian amd64 systems.
|
|
|
|
-* `ubuntu-x64`: Portable binary archive for Ubuntu amd64 systems.
|
|
|
|
* `linux-x64`: Portable binary archive for generic Linux amd64 systems.
|
|
* `linux-x64`: Portable binary archive for generic Linux amd64 systems.
|
|
-* `osx-x64`: Portable binary archive for MacOS amd64 systems.
|
|
|
|
|
|
+* `macos`: Portable binary archive for MacOS amd64 systems.
|
|
* `win-x64`: Portable binary archive for Windows amd64 systems.
|
|
* `win-x64`: Portable binary archive for Windows amd64 systems.
|
|
* `win-x86`: Portable binary archive for Windows i386 systems.
|
|
* `win-x86`: Portable binary archive for Windows i386 systems.
|
|
|
|
|
|
@@ -22,10 +20,10 @@ This directory contains the packaging configuration of Jellyfin for multiple pla
|
|
|
|
|
|
These builds are not necessarily run from the `build` script, but are present for other platforms.
|
|
These builds are not necessarily run from the `build` script, but are present for other platforms.
|
|
|
|
|
|
-* `framework`: Compiled `.dll` for use with .NET Core runtime on any system.
|
|
|
|
|
|
+* `portable`: Compiled `.dll` for use with .NET Core runtime on any system.
|
|
* `docker`: Docker manifests for auto-publishing.
|
|
* `docker`: Docker manifests for auto-publishing.
|
|
* `unraid`: unRaid Docker template; not built by `build` but imported into unRaid directly.
|
|
* `unraid`: unRaid Docker template; not built by `build` but imported into unRaid directly.
|
|
-* `win-generic`: Portable binary for generic Windows systems.
|
|
|
|
|
|
+* `windows`: Support files and scripts for Windows CI build.
|
|
|
|
|
|
## Package Specification
|
|
## Package Specification
|
|
|
|
|
|
@@ -62,52 +60,3 @@ These builds are not necessarily run from the `build` script, but are present fo
|
|
* Upon completion of the defined actions, at least one output file must be created in the `<platform>/pkg-dist` directory.
|
|
* Upon completion of the defined actions, at least one output file must be created in the `<platform>/pkg-dist` directory.
|
|
|
|
|
|
* Output files will be moved to the directory `jellyfin-build/<platform>` one directory above the repository root upon completion.
|
|
* Output files will be moved to the directory `jellyfin-build/<platform>` one directory above the repository root upon completion.
|
|
-
|
|
|
|
-### Common Functions
|
|
|
|
-
|
|
|
|
-* A number of common functions are defined in `deployment/common.build.sh` for use by platform scripts.
|
|
|
|
-
|
|
|
|
-* Each action script should import the common functions to define a number of standard variables.
|
|
|
|
-
|
|
|
|
-* The common variables are:
|
|
|
|
-
|
|
|
|
- * `ROOT`: The Jellyfin repostiory root, usually `../..`.
|
|
|
|
- * `CONFIG`: The .NET config, usually `Release`.
|
|
|
|
- * `DOTNETRUNTIME`: The .NET `--runtime` value, platform-dependent.
|
|
|
|
- * `OUTPUT_DIR`: The intermediate output dir, usually `./dist/jellyfin_${VERSION}`.
|
|
|
|
- * `BUILD_CONTEXT`: The Docker build context, usually `../..`.
|
|
|
|
- * `DOCKERFILE`: The Dockerfile, usually `Dockerfile` in the platform directory.
|
|
|
|
- * `IMAGE_TAG`: A tag for the built Docker image.
|
|
|
|
- * `PKG_DIR`: The final binary output directory for collection, invariably `pkg-dist`.
|
|
|
|
- * `ARCHIVE_CMD`: The compression/archive command for release archives, usually `tar -xvzf` or `zip`.
|
|
|
|
-
|
|
|
|
-#### `get_version`
|
|
|
|
-
|
|
|
|
-Reads the version information from `SharedVersion.cs`.
|
|
|
|
-
|
|
|
|
-**Arguments:** `ROOT`
|
|
|
|
-
|
|
|
|
-#### `build_jellyfin`
|
|
|
|
-
|
|
|
|
-Build a standard self-contained binary in the current OS context.
|
|
|
|
-
|
|
|
|
-**Arguments:** `ROOT` `CONFIG` `DOTNETRUNTIME` `OUTPUT_DIR`
|
|
|
|
-
|
|
|
|
-#### `build_jellyfin_docker`
|
|
|
|
-
|
|
|
|
-Build a standard self-contained binary in a Docker image.
|
|
|
|
-
|
|
|
|
-**Arguments:** `BUILD_CONTEXT` `DOCKERFILE` `IMAGE_TAG`
|
|
|
|
-
|
|
|
|
-#### `clean_jellyfin`
|
|
|
|
-
|
|
|
|
-Clean up a build for housekeeping.
|
|
|
|
-
|
|
|
|
-**Arguments:** `ROOT` `CONFIG` `OUTPUT_DIR` `PKG_DIR`
|
|
|
|
-
|
|
|
|
-#### `package_portable`
|
|
|
|
-
|
|
|
|
-Produce a compressed archive.
|
|
|
|
-
|
|
|
|
-**Arguments:** `ROOT` `OUTPUT_DIR` `PKG_DIR` `ARCHIVE_CMD`
|
|
|
|
-
|
|
|