Compare commits
6 commits
bf310584f4
...
392a8409cf
Author | SHA1 | Date | |
---|---|---|---|
392a8409cf | |||
2021ebe1d3 | |||
d6dfd1e9a5 | |||
fac92ac654 | |||
d3139e9665 | |||
7a361e2f49 |
11 changed files with 151 additions and 11 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -190,12 +190,6 @@
|
|||
[submodule "prometheus-snmp-exporter"]
|
||||
path = prometheus-snmp-exporter
|
||||
url = ssh://aur@aur.archlinux.org/prometheus-snmp-exporter.git
|
||||
[submodule "promscale"]
|
||||
path = promscale
|
||||
url = ssh://aur@aur.archlinux.org/promscale.git
|
||||
[submodule "promscale_extension"]
|
||||
path = promscale_extension
|
||||
url = ssh://aur@aur.archlinux.org/promscale_extension.git
|
||||
[submodule "python-auto-changelog"]
|
||||
path = python-auto-changelog
|
||||
url = ssh://aur@aur.archlinux.org/python-auto-changelog.git
|
||||
|
|
|
@ -84,6 +84,12 @@ use_max_tag = true
|
|||
prefix = "v"
|
||||
exclude_regex = "^.*(rc).*$"
|
||||
|
||||
[jellyfin]
|
||||
source = "github"
|
||||
github = "jellyfin/jellyfin"
|
||||
use_max_tag = true
|
||||
prefix = "v"
|
||||
|
||||
[llhttp]
|
||||
source = "github"
|
||||
github = "nodejs/llhttp"
|
||||
|
|
58
jellyfin-server/PKGBUILD
Normal file
58
jellyfin-server/PKGBUILD
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Maintainer:
|
||||
|
||||
pkgname=jellyfin-server
|
||||
_pkgname=jellyfin
|
||||
pkgver=10.7.7
|
||||
pkgrel=1
|
||||
pkgdesc='Jellyfin server backend'
|
||||
arch=('x86_64')
|
||||
url='https://jellyfin.org'
|
||||
_url="https://github.com/jellyfin/jellyfin"
|
||||
license=('GPL2' 'GPL3')
|
||||
depends=('dotnet-runtime' 'aspnet-runtime' 'ffmpeg' 'sqlite' 'fontconfig')
|
||||
makedepends=('dotnet-sdk')
|
||||
optdepends=('jellyfin-web: to run web-app on the same machine')
|
||||
source=(
|
||||
"$pkgname-$pkgver.tar.gz::$_url/archive/v$pkgver.tar.gz"
|
||||
'systemd.service'
|
||||
'sysusers.conf'
|
||||
'tmpfiles.conf'
|
||||
)
|
||||
b2sums=('589f9f811dc1f0b5cc7ade6aae34386a846856ffe0bc62fe18ebb0c0a234b00ff87e6f7e1007bce0fac0772350fca219e584d03f95fc777be4f6eaf78b7f55df'
|
||||
'a85349afe83be5b0c563fc2d1712825df858b859df450e64450b5ac8b62792908e6127403008b3d13bf1b90bd57647a9179900acaa1f9d87a59f75f9cf02630b'
|
||||
'f73c72e1d66480c410dbe71be1af91a2bd76206dfed76e64b8264ee3537f6eb477bcba905ce69a0ec8b273e33c2e46439b9b32ce21543a48d98d80434a46a781'
|
||||
'76d92a78a6600885841a19e8629ccc39aab485416b51541c351f04b4c1350f898257e47db77121e0364ee3a1e1924a73aa82ce8dcec8d4ddee6947ac1e0395ea')
|
||||
|
||||
prepare() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
mkdir -p publish
|
||||
}
|
||||
|
||||
build(){
|
||||
cd "$_pkgname-$pkgver"
|
||||
|
||||
# Disable dotnet telemetry
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||
export DOTNET_NOLOGO=1
|
||||
|
||||
dotnet publish Jellyfin.Server \
|
||||
--configuration Release \
|
||||
--output=publish \
|
||||
--self-contained \
|
||||
--runtime linux-x64 \
|
||||
"-p:DebugSymbols=false;DebugType=none"
|
||||
}
|
||||
|
||||
package() {
|
||||
# systemd integration
|
||||
install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
|
||||
install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
|
||||
install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
|
||||
|
||||
cd "$_pkgname-$pkgver"
|
||||
install -vd "$pkgdir/usr/lib"
|
||||
cp -dr --no-preserve='ownership' publish "$pkgdir/usr/lib/$_pkgname"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
45
jellyfin-server/systemd.service
Normal file
45
jellyfin-server/systemd.service
Normal file
|
@ -0,0 +1,45 @@
|
|||
[Unit]
|
||||
Description=Jellyfin Media Server
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/var/lib/jellyfin
|
||||
ExecStart=/usr/lib/jellyfin/jellyfin ${JELLYFIN_WEB_OPT} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
|
||||
TimeoutSec=15
|
||||
Restart=on-failure
|
||||
User=jellyfin
|
||||
Group=jellyfin
|
||||
|
||||
# Environment variables
|
||||
# To override these variables, use a drop-in systemd file.
|
||||
# See `man 5 systemd.unit` for details.
|
||||
|
||||
# Program directories
|
||||
Environment="JELLYFIN_DATA_DIR=/var/lib/jellyfin"
|
||||
Environment="JELLYFIN_CONFIG_DIR=/etc/jellyfin"
|
||||
Environment="JELLYFIN_LOG_DIR=/var/log/jellyfin"
|
||||
Environment="JELLYFIN_CACHE_DIR=/var/cache/jellyfin"
|
||||
|
||||
# [OPTIONAL] Web client path
|
||||
#Environment="JELLYFIN_WEB_OPT=--webdir=/usr/share/jellyfin-web"
|
||||
|
||||
# [OPTIONAL] In-App service control
|
||||
#Environment="JELLYFIN_RESTART_OPT=--restartpath=/usr/lib/jellyfin/restart.sh"
|
||||
|
||||
# [OPTIONAL] ffmpeg binary paths, overriding the UI-configured values
|
||||
#Environment="JELLYFIN_FFMPEG_OPT=--ffmpeg=/usr/bin/ffmpeg"
|
||||
|
||||
# [OPTIONAL] run Jellyfin as a headless service
|
||||
#Environment="JELLYFIN_SERVICE_OPT=--service"
|
||||
|
||||
# [OPTIONAL] run Jellyfin without the web app
|
||||
#Environment="JELLYFIN_NOWEBAPP_OPT=--noautorunwebapp"
|
||||
|
||||
# [OPTIONAL] run Jellyfin with ASP.NET Server Garbage Collection (uses more RAM and less CPU than Workstation GC)
|
||||
# 0 = Workstation
|
||||
# 1 = Server
|
||||
#Environment="COMPlus_gcServer=1"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
1
jellyfin-server/sysusers.conf
Normal file
1
jellyfin-server/sysusers.conf
Normal file
|
@ -0,0 +1 @@
|
|||
u jellyfin - "Jellyfin default user" /var/lib/jellyfin
|
4
jellyfin-server/tmpfiles.conf
Normal file
4
jellyfin-server/tmpfiles.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
d /var/cache/jellyfin 0750 jellyfin jellyfin
|
||||
d /var/lib/jellyfin 0750 jellyfin jellyfin
|
||||
d /var/log/jellyfin 0750 jellyfin jellyfin
|
||||
d /etc/jellyfin 0750 jellyfin jellyfin
|
34
jellyfin-web/PKGBUILD
Normal file
34
jellyfin-web/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer:
|
||||
|
||||
pkgname=jellyfin-web
|
||||
pkgver=10.7.7
|
||||
pkgrel=1
|
||||
pkgdesc='Jellyfin web client'
|
||||
arch=('any')
|
||||
url='https://jellyfin.org'
|
||||
_url='https://github.com/jellyfin/jellyfin-web'
|
||||
license=('GPL2' 'GPL3')
|
||||
makedepends=('yarn' 'git')
|
||||
source=("$pkgname-$pkgver.tar.gz::$_url/archive/v$pkgver.tar.gz")
|
||||
b2sums=('7af7d8a464513f1c5aff51fd69737920795ed64cc0e4e1fe3d0d4457842aeb5f6633a4e633c32aa1fb28e05c727bd9421df44dce20c616cddd7cb0849158e643')
|
||||
|
||||
build(){
|
||||
cd "$pkgname-$pkgver"
|
||||
#local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier)
|
||||
|
||||
# install dependencies
|
||||
#npm install "${NPM_FLAGS[@]}"
|
||||
yarn install
|
||||
|
||||
# compile web application
|
||||
#npm ci "${NPM_FLAGS[@]}"
|
||||
yarn build:production
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
install -vd "$pkgdir/usr/share/$pkgname"
|
||||
cp -vr dist/* "$pkgdir/usr/share/$pkgname"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 40bad481f27a87f864b06bdd0b321beabaf1e39b
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 3b21a5e53f3f7f4386affd8e38a90fd5afd48f09
|
|
@ -2,7 +2,7 @@
|
|||
# Contributor: George Rawlinson <george@rawlinson.net.nz>
|
||||
|
||||
pkgname=rollup
|
||||
pkgver=2.56.3
|
||||
pkgver=2.57.0
|
||||
pkgrel=1
|
||||
pkgdesc="Next-generation ES6 module bundler"
|
||||
arch=(any)
|
||||
|
@ -12,7 +12,7 @@ depends=('nodejs')
|
|||
makedepends=('npm' 'jq')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
|
||||
noextract=("$pkgname-$pkgver.tar.gz")
|
||||
b2sums=('52062640f92352713ce4b95a84e6157939ef089a77ece0d0edd0ae56f500ece50102fcdab06fa71782acfc89f9b835f1645616fcc4a0ed4353b16f6076abebfe')
|
||||
b2sums=('85fa64e9bae5aac23f03ec9c74eaacdf3c1548a77384d0a036fe81e3df06cebbcb15a393f29104b856a29e20f601c232d93bd3e7d46beff186df3999ad9f1ea1')
|
||||
|
||||
package() {
|
||||
local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 08cf438da660a020aee0c62233a15585f4d690ae
|
||||
Subproject commit 319332884f0c3d440336a8fa3869421da2229474
|
Loading…
Reference in a new issue