aboutsummaryrefslogtreecommitdiff
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-rw-r--r--deployment/Dockerfile.centos.amd646
-rwxr-xr-xdeployment/build.centos.amd6412
-rwxr-xr-xdeployment/build.debian.amd648
-rwxr-xr-xdeployment/build.debian.arm648
-rwxr-xr-xdeployment/build.debian.armhf8
-rwxr-xr-xdeployment/build.fedora.amd642
-rwxr-xr-xdeployment/build.ubuntu.amd648
-rwxr-xr-xdeployment/build.ubuntu.arm648
-rwxr-xr-xdeployment/build.ubuntu.armhf8
9 files changed, 16 insertions, 52 deletions
diff --git a/deployment/Dockerfile.centos.amd64 b/deployment/Dockerfile.centos.amd64
index 3db184f49..af309b083 100644
--- a/deployment/Dockerfile.centos.amd64
+++ b/deployment/Dockerfile.centos.amd64
@@ -11,11 +11,11 @@ ENV IS_DOCKER=YES
# Prepare CentOS environment
RUN dnf update -yq \
- && dnf install -yq epel-release \
&& dnf install -yq \
- rpmdevtools libcurl-devel fontconfig-devel \
+ @buildsys-build rpmdevtools git \
+ dnf-plugins-core libcurl-devel fontconfig-devel \
freetype-devel openssl-devel glibc-devel \
- libicu-devel git wget dnf-plugins-core \
+ libicu-devel systemd wget make \
&& dnf clean all \
&& rm -rf /var/cache/dnf
diff --git a/deployment/build.centos.amd64 b/deployment/build.centos.amd64
index af73e3153..26be377f1 100755
--- a/deployment/build.centos.amd64
+++ b/deployment/build.centos.amd64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= CentOS/RHEL 8+ amd64 .rpm
+#= CentOS/RHEL 9+ amd64 .rpm
set -o errexit
set -o xtrace
@@ -10,7 +10,7 @@ pushd "${SOURCE_DIR}"
if [[ ${IS_DOCKER} == YES ]]; then
# Remove BuildRequires for dotnet, since it's installed manually
- pushd fedora
+ pushd centos
cp -a jellyfin.spec /tmp/spec.orig
sed -i 's/BuildRequires: dotnet/# BuildRequires: dotnet/' jellyfin.spec
@@ -20,7 +20,7 @@ fi
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
- pushd fedora
+ pushd centos
PR_ID=$( git log --grep 'Merge pull request' --oneline --single-worktree --first-parent | head -1 | grep --color=none -Eo '#[0-9]+' | tr -d '#' )
@@ -35,7 +35,7 @@ EOF
fi
# Build RPM
-make -f fedora/Makefile srpm outdir=/root/rpmbuild/SRPMS
+make -f centos/Makefile srpm outdir=/root/rpmbuild/SRPMS
rpmbuild --rebuild -bb /root/rpmbuild/SRPMS/jellyfin-*.src.rpm
# Move the artifacts out
@@ -45,10 +45,10 @@ if [[ ${IS_DOCKER} == YES ]]; then
chown -Rc "$(stat -c %u:%g "${ARTIFACT_DIR}")" "${ARTIFACT_DIR}"
fi
-rm -f fedora/jellyfin*.tar.gz
+rm -f centos/jellyfin*.tar.gz
if [[ ${IS_DOCKER} == YES ]]; then
- pushd fedora
+ pushd centos
cp -a /tmp/spec.orig jellyfin.spec
chown -Rc "$(stat -c %u:%g "${ARTIFACT_DIR}")" "${ARTIFACT_DIR}"
diff --git a/deployment/build.debian.amd64 b/deployment/build.debian.amd64
index 85776ad6a..350b22a85 100755
--- a/deployment/build.debian.amd64
+++ b/deployment/build.debian.amd64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Debian 10+ amd64 .deb
+#= Debian 12+ amd64 .deb
set -o errexit
set -o xtrace
@@ -8,12 +8,6 @@ set -o xtrace
# Move to source directory
pushd "${SOURCE_DIR}"
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
-
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
pushd debian
diff --git a/deployment/build.debian.arm64 b/deployment/build.debian.arm64
index d37cc5a64..0dfca0ab4 100755
--- a/deployment/build.debian.arm64
+++ b/deployment/build.debian.arm64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Debian 10+ arm64 .deb
+#= Debian 12+ arm64 .deb
set -o errexit
set -o xtrace
@@ -8,12 +8,6 @@ set -o xtrace
# Move to source directory
pushd "${SOURCE_DIR}"
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
-
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
pushd debian
diff --git a/deployment/build.debian.armhf b/deployment/build.debian.armhf
index f3505b147..0ab9e2f9a 100755
--- a/deployment/build.debian.armhf
+++ b/deployment/build.debian.armhf
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Debian 10+ arm64 .deb
+#= Debian 12+ arm64 .deb
set -o errexit
set -o xtrace
@@ -8,12 +8,6 @@ set -o xtrace
# Move to source directory
pushd "${SOURCE_DIR}"
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
-
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
pushd debian
diff --git a/deployment/build.fedora.amd64 b/deployment/build.fedora.amd64
index 21859cbf9..2b4ec2a9c 100755
--- a/deployment/build.fedora.amd64
+++ b/deployment/build.fedora.amd64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Fedora 29+ amd64 .rpm
+#= Fedora 39+ amd64 .rpm
set -o errexit
set -o xtrace
diff --git a/deployment/build.ubuntu.amd64 b/deployment/build.ubuntu.amd64
index 365867603..6fd87a3ae 100755
--- a/deployment/build.ubuntu.amd64
+++ b/deployment/build.ubuntu.amd64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Ubuntu 18.04+ amd64 .deb
+#= Ubuntu 22.04+ amd64 .deb
set -o errexit
set -o xtrace
@@ -8,12 +8,6 @@ set -o xtrace
# Move to source directory
pushd "${SOURCE_DIR}"
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
-
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
pushd debian
diff --git a/deployment/build.ubuntu.arm64 b/deployment/build.ubuntu.arm64
index 8cf24b955..f783941c7 100755
--- a/deployment/build.ubuntu.arm64
+++ b/deployment/build.ubuntu.arm64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Ubuntu 18.04+ arm64 .deb
+#= Ubuntu 22.04+ arm64 .deb
set -o errexit
set -o xtrace
@@ -8,12 +8,6 @@ set -o xtrace
# Move to source directory
pushd "${SOURCE_DIR}"
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
-
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
pushd debian
diff --git a/deployment/build.ubuntu.armhf b/deployment/build.ubuntu.armhf
index 896486dcd..cde6708c5 100755
--- a/deployment/build.ubuntu.armhf
+++ b/deployment/build.ubuntu.armhf
@@ -1,6 +1,6 @@
#!/bin/bash
-#= Ubuntu 18.04+ arm64 .deb
+#= Ubuntu 22.04+ arm64 .deb
set -o errexit
set -o xtrace
@@ -8,12 +8,6 @@ set -o xtrace
# Move to source directory
pushd "${SOURCE_DIR}"
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
-
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
pushd debian