Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
659c6429
Commit
659c6429
authored
May 12, 2025
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
May 13, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add jellyfin-server (eterbug #18293)
parent
4c6a0532
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
0 deletions
+70
-0
jellyfin-server.sh
play.d/jellyfin-server.sh
+26
-0
jellyfin-server.sh
repack.d/jellyfin-server.sh
+44
-0
No files found.
play.d/jellyfin-server.sh
0 → 100755
View file @
659c6429
#!/bin/sh
PKGNAME
=
jellyfin-server
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Jellyfin is the volunteer-built media solution that puts you in control of your media."
URL
=
"https://jellyfin.org/"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
arch
=
$(
epm print info
-a
)
PKGURL
=
$(
eget
--list
--latest
"https://download1.rpmfusion.org/free/fedora/releases/42/Everything/
$arch
/os/Packages/j/"
"jellyfin-server*
$arch
.rpm"
)
install_pkgurl
echo
"Note: You also need to install jellyfin-web using the command:
# epm play jellyfin-web
or change the parameter in /etc/sysconfig/jellyfin:
JELLYFIN_WEB_OPT=
\"
--webdir=/opt/jellyfin-web
\"
to JELLYFIN_WEB_OPT=
\"
--nowebclient
\"
Warning: Configuration files are stored in /var/lib/jellyfin due to the specifics of the original jellyfin package build.
"
\ No newline at end of file
repack.d/jellyfin-server.sh
0 → 100644
View file @
659c6429
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
move_to_opt /usr/lib64/jellyfin
#wrong link; remake
remove_file /opt/jellyfin-server/jellyfin-web
ln
-s
/opt/jellyfin-web/jellyfin-web
$BUILDROOT
/
$PRODUCTDIR
/jellyfin-web
pack_file
$PRODUCTDIR
/jellyfin-web
# Set webdir to /opt/jellyfin-web
subst
's|JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin-web"|JELLYFIN_WEB_OPT="--webdir=/opt/jellyfin-web"|'
$BUILDROOT
/etc/sysconfig/jellyfin
# Jellyfin tries to create files in /etc/jellyfin on the first run, but fails
# because it runs as the jellyfin user, not root
subst
's|JELLYFIN_CONFIG_DIR="/etc/jellyfin"|JELLYFIN_CONFIG_DIR="/var/lib/jellyfin"|'
$BUILDROOT
/etc/sysconfig/jellyfin
# This is required for ALT systems
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
echo
DOTNET_ROOT
=
/usr/lib64/dotnet
>>
$BUILDROOT
/etc/sysconfig/jellyfin
fi
# Jellyfin can't find logging.default.json because of wrong name in the package
move_file /etc/jellyfin/logging.json /etc/jellyfin/logging.default.json
# Set ownership of /var/*/jellyfin to jellyfin user via systemd-tmpfiles
cat
<<
EOF
| create_file /usr/lib/tmpfiles.d/jellyfin.conf
d /var/lib/jellyfin 0755 jellyfin jellyfin -
d /var/cache/jellyfin 0755 jellyfin jellyfin -
d /var/log/jellyfin 0755 jellyfin jellyfin -
EOF
add_requires dotnet-sdk-8.0
add_libs_requires
add_bin_exec_command jellyfin
$PRODUCTDIR
/jellyfin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment