aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-03-23 14:46:16 -0400
committerJoshua M. Boniface <joshua@boniface.me>2020-03-23 14:46:16 -0400
commit93d1256a4c80c071b0c14e066c13bb9720b63dc9 (patch)
tree7ed2d9e2f6e1e4f8faf6fa14ffef9aa15537be74 /debian/rules
parentba55ee4986fa871390e211c56fdec1b024ff617e (diff)
Remove web building, rename, bump version
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules15
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/rules b/debian/rules
index c2d57dfb2..2a5d41a69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,6 @@
CONFIG := Release
TERM := xterm
SHELL := /bin/bash
-WEB_TARGET := $(CURDIR)/MediaBrowser.WebDashboard/jellyfin-web
-WEB_VERSION := $(shell sed -n -e 's/^version: "\(.*\)"/\1/p' $(CURDIR)/build.yaml)
HOST_ARCH := $(shell arch)
BUILD_ARCH := ${DEB_HOST_MULTIARCH}
@@ -41,25 +39,12 @@ override_dh_auto_test:
override_dh_clistrip:
override_dh_auto_build:
- echo $(WEB_VERSION)
- # Clone down and build Web frontend
- mkdir -p $(WEB_TARGET)
- wget -O web-src.tgz https://github.com/jellyfin/jellyfin-web/archive/v$(WEB_VERSION).tar.gz || wget -O web-src.tgz https://github.com/jellyfin/jellyfin-web/archive/master.tar.gz
- mkdir -p $(CURDIR)/web
- tar -xzf web-src.tgz -C $(CURDIR)/web/ --strip 1
- cd $(CURDIR)/web/ && npm install yarn
- cd $(CURDIR)/web/ && node_modules/yarn/bin/yarn install
- mv $(CURDIR)/web/dist/* $(WEB_TARGET)/
- # Build the application
dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) \
"-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" Jellyfin.Server
override_dh_auto_clean:
dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || true
- rm -f '$(CURDIR)/web-src.tgz'
rm -rf '$(CURDIR)/usr'
- rm -rf '$(CURDIR)/web'
- rm -rf '$(WEB_TARGET)'
# Force the service name to jellyfin even if we're building jellyfin-nightly
override_dh_installinit: