Package Details: jellyfin 10.4.0-2

Git Clone URL: https://aur.archlinux.org/jellyfin.git (read-only)
Package Base: jellyfin
Description: The Free Software Media System
Upstream URL: https://github.com/jellyfin/jellyfin
Licenses: GPL2
Submitter: z3ntu
Maintainer: z3ntu
Last Packager: z3ntu
Votes: 22
Popularity: 2.619278
First Submitted: 2019-01-09 16:59
Last Updated: 2019-10-08 19:54

Latest Comments

1 2 Next › Last »

z3ntu commented on 2019-10-08 19:55

@cirlo Thanks for the info, jellyfin started up fine and the web interface loaded so I didn't check further. Updated!

cirlo commented on 2019-10-08 19:37

jellyfin-web needs to be built with yarn aswell. I don't know if prepare() is the right place to do it, but - waiting for @z3ntu to update the pkg, i tried to do patch the PKGBUILD myself. Pardon me if i did any major error; all i can say is that the website works now

pkgname=jellyfin-1040
_pkgname=jellyfin
pkgver=10.4.0
pkgrel=1
pkgdesc='The Free Software Media System'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://github.com/jellyfin/jellyfin'
license=('GPL2')
depends=('dotnet-runtime<=3' 'ffmpeg' 'sqlite')
makedepends=('dotnet-sdk' 'yarn')
provides=('jellyfin')
conflicts=('jellyfin')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin/archive/v$pkgver.tar.gz"
        "jellyfin-web-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-web/archive/v$pkgver.tar.gz"
        'jellyfin.conf'
        'jellyfin.service'
        'jellyfin.sysusers'
        'jellyfin.tmpfiles')
backup=('etc/conf.d/jellyfin')
sha512sums=('4c8105338908f479590b8eebc2048175a5b843f047f6963ee6afd518a89698437d68708e58af40c598f011091ef62d5ba42e02c637048b44200267b09e6e4f7f'
            '2b19e2d96d9b5262aa93790bbd931a66cb94553d2d7d049c71cb2e28104c7167e514768ba4e79b8b694c70254cd6be9bc5d8beed540b2d10a35f169095851ddc'
            '2aa97a1a7a8a447171b59be3e93183e09cbbc32c816843cc47c6777b9aec48bd9c1d9d354f166e0b000ad8d2e94e6e4b0559aa52e5c159abbc103ed2c5afa3f0'
            '99d02080b1b92e731250f39ddd13ceca7129d69d0c05e0939620cbc3f499a9574668c63fa889704a4905560888131e980d7ab1fbcc5837b04d33ce26daa9d42b'
            '6fc2638e6ec4b1ee0240e17815c91107b694e5fde72c1bc7956c83067bbeacb632de899b86837e47a0ec04288131b15c20746373b45e0669c8976069a55d627a'
            '45a62b62d97b9a83289d4dfde684163b1bcf340c1921fb958e5a701812c61b392901841940c67e5fa5148783277d5b4dc65ba01d3a22e8f855ea62154ad9be33')

prepare() {
  cd jellyfin-web-$pkgver
  yarn install
  cp -r dist/. "$srcdir"/$_pkgname-$pkgver/MediaBrowser.WebDashboard/jellyfin-web
}

build(){
  cd $_pkgname-$pkgver

  # Disable dotnet telemetry
  export DOTNET_CLI_TELEMETRY_OPTOUT=1

  dotnet build --configuration Release Jellyfin.Server
  # Ideally, this would be run in package() with the --output variable pointing
  # to "$pkgdir"/usr/lib/jellyfin, but this step fails in fakeroot.
  # The makepkg output looks like
  #   Restore completed in 56.84 ms for /aur/jellyfin-git/src/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj.
  #   ==> ERROR: A failure occurred in package().
  # without indicating any sort of failure.
  dotnet publish --configuration Release Jellyfin.Server --output "$PWD"/publish
  # Clean up the runtimes folder (keep linux-*)
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*}
}

package() {
  mkdir -p "$pkgdir"/usr/lib
  cp -dr --no-preserve='ownership' $_pkgname-$pkgver/publish "$pkgdir"/usr/lib/jellyfin

  install -Dm 644 jellyfin.service -t "$pkgdir"/usr/lib/systemd/system/
  install -Dm 644 jellyfin.sysusers "$pkgdir"/usr/lib/sysusers.d/jellyfin.conf
  install -Dm 644 jellyfin.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/jellyfin.conf
  install -Dm 644 jellyfin.conf "$pkgdir"/etc/conf.d/jellyfin
}

Gr3q commented on 2019-10-05 07:44

Please add 'armv7h' and 'aarch64' to the supported architectures, dotnet can be installed to those architectures now as well (see install instructions).

Also, please specify the dotnet-runtime version as well, jellyfin won't run with the new version, it needs to be:

'dotnet-runtime<=3'

satcom886 commented on 2019-10-04 17:44

Could this package be made compatible with dotnet 3.0.100? After installing I'm getting:

It was not possible to find any compatible framework version The specified framework 'Microsoft.NETCore.App', version '2.1.0' was not found. - The following frameworks were found: 3.0.0 at [/opt/dotnet/shared/Microsoft.NETCore.App] You can resolve the problem by installing the specified framework and/or SDK. The .NET Core frameworks can be found at: - https://aka.ms/dotnet-download

onny commented on 2019-05-05 09:17

please add "armv7h" to the architectures list

pedroaraujo commented on 2019-04-20 20:13

Small update, we need this option in the PKGBUILD otherwise makepkg will delete the ".a" files, which the dotnet release package requires when running Jellyfin:

  • options=('staticlibs')

Updated PKGBUILD for the new 10.3.0 version released today here:

pedroaraujo commented on 2019-04-19 16:50

I managed to install this package in the Raspberry Pi with Archlinux ARM with the following updated PKGBUILDs:

Ichimonji10 commented on 2019-04-03 14:17

@z3ntu Gotcha. I'll let you know if I find a solution.

z3ntu commented on 2019-04-03 08:18

@Ichimonji10 I know about this issue but I didn't figure out a way to solve it.

Ichimonji10 commented on 2019-04-02 20:47

Building with extra-x86_64-build fails for me. Here's a snippet:

==> Starting build()...
Failed to initialize CoreCLR, HRESULT: 0x8007001F
==> ERROR: A failure occurred in build().
    Aborting...

But building with makepkg -s succeeds. Here's a snippet:

==> Starting build()...

Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Any ideas? EDIT: This thread may contain relevant information.