Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
  2020-03-17 19:59 ` Package Request: Jellyfin tesfaye
@ 2020-03-17 20:00 ` tesfaye
  2020-03-17 20:01 ` tesfaye
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-17 20:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-600269225

Comment:
An update. I was able to get jellyfin to build with #20147 and the following template file for jellyfin.

`# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="x86_64"
build_style=meta
makedepends="dotnet-sdk icu-devel libssl47 yarn git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  #cp -r dist/. ../jellyfin-${version}/MediaBrowser.WebDashboard/jellyfin-web

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build --configuration Release Jellyfin.Server
  dotnet publish --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-arm*,linux-musl*}
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/bin/${pkgname}"
  #cd ${pkgname}-${version}/publish/
  #vcopy . usr/lib/${pkgname}
  vcopy "${pkgname}-${version}/publish/." "usr/bin/${pkgname}"
}
`



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
  2020-03-17 19:59 ` Package Request: Jellyfin tesfaye
  2020-03-17 20:00 ` tesfaye
@ 2020-03-17 20:01 ` tesfaye
  2020-03-17 20:26 ` tesfaye
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-17 20:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-600269225

Comment:
An update. I was able to get jellyfin to build with #20147 and the following template file for jellyfin.

```
`# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="x86_64"
build_style=meta
makedepends="dotnet-sdk icu-devel libssl47 yarn git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  #cp -r dist/. ../jellyfin-${version}/MediaBrowser.WebDashboard/jellyfin-web

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build --configuration Release Jellyfin.Server
  dotnet publish --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-arm*,linux-musl*}
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/bin/${pkgname}"
  #cd ${pkgname}-${version}/publish/
  #vcopy . usr/lib/${pkgname}
  vcopy "${pkgname}-${version}/publish/." "usr/bin/${pkgname}"
}
```



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-03-17 20:01 ` tesfaye
@ 2020-03-17 20:26 ` tesfaye
  2020-03-20  7:03 ` Anachron
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-17 20:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-600269225

Comment:
An update. I was able to get jellyfin to build with #20147 and the following template file for jellyfin.

```
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="x86_64"
build_style=meta
makedepends="dotnet-sdk icu-devel libssl47 yarn git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  #cp -r dist/. ../jellyfin-${version}/MediaBrowser.WebDashboard/jellyfin-web

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build --configuration Release Jellyfin.Server
  dotnet publish --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-arm*,linux-musl*}
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/lib/${pkgname}"
  #cd ${pkgname}-${version}/publish/
  #vcopy . usr/lib/${pkgname}
  vcopy "${pkgname}-${version}/publish/." "usr/lib/jellyfin"
  #vcopy "${pkgname}-${version}/publish/." "usr/bin/${pkgname}"
}
```



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-03-17 20:26 ` tesfaye
@ 2020-03-20  7:03 ` Anachron
  2020-03-20  7:08 ` Anachron
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  7:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601561413

Comment:
How did you get it to run? I receive:

```
$ DOTNET_ROOT=/usr/lib/dotnet /usr/lib/jellyfin/jellyfin
[08:02:31] [INF] [1] Main: Jellyfin version: 10.5.0
[08:02:31] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/jellyfin.dll"]
[08:02:31] [INF] [1] Main: Operating system: Linux
[08:02:31] [INF] [1] Main: Architecture: X64
[08:02:31] [INF] [1] Main: 64-Bit Process: True
[08:02:31] [INF] [1] Main: User Interactive: True
[08:02:31] [INF] [1] Main: Processor count: 4
[08:02:31] [INF] [1] Main: Program data path: /home/anon/.local/share/jellyfin
[08:02:31] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/jellyfin-web
[08:02:31] [INF] [1] Main: Application directory: /usr/lib/jellyfin/
No usable version of libssl was found
Canceled
```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-03-20  7:03 ` Anachron
@ 2020-03-20  7:08 ` Anachron
  2020-03-20  9:07 ` Anachron
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601561413

Comment:
How did you get it to run? I receive:

```
$ DOTNET_ROOT=/usr/lib/dotnet /usr/lib/jellyfin/jellyfin
[08:02:31] [INF] [1] Main: Jellyfin version: 10.5.0
[08:02:31] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/jellyfin.dll"]
[08:02:31] [INF] [1] Main: Operating system: Linux
[08:02:31] [INF] [1] Main: Architecture: X64
[08:02:31] [INF] [1] Main: 64-Bit Process: True
[08:02:31] [INF] [1] Main: User Interactive: True
[08:02:31] [INF] [1] Main: Processor count: 4
[08:02:31] [INF] [1] Main: Program data path: /home/anon/.local/share/jellyfin
[08:02:31] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/jellyfin-web
[08:02:31] [INF] [1] Main: Application directory: /usr/lib/jellyfin/
No usable version of libssl was found
Canceled
```

Edit: It seems like it just need the symlink mentioned here:
https://github.com/ppy/osu/issues/7994#issuecomment-591084486
`ln -s /usr/lib/libssl.so.47.0.6 /usr/lib/libssl.so.1.0.0`

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-03-20  7:08 ` Anachron
@ 2020-03-20  9:07 ` Anachron
  2020-03-20  9:07 ` Anachron
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  9:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2349 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if `i686` and `armv7l` also work as intended.

```
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="i686 x86_64 aarmv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    i686) _build_arch="x86";;
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_ARCH}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_ARCH}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_ARCH}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_ARCH}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/lib/${pkgname}"
  vcopy "${pkgname}-${version}/publish/." "usr/lib/jellyfin"
}
```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-03-20  9:07 ` Anachron
@ 2020-03-20  9:07 ` Anachron
  2020-03-20  9:14 ` Anachron
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  9:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2353 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if `i686` and `armv7l` also work as intended.

```bash
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="i686 x86_64 aarmv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    i686) _build_arch="x86";;
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_ARCH}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_ARCH}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_ARCH}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_ARCH}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/lib/${pkgname}"
  vcopy "${pkgname}-${version}/publish/." "usr/lib/jellyfin"
}
```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-03-20  9:07 ` Anachron
@ 2020-03-20  9:14 ` Anachron
  2020-03-20  9:15 ` Anachron
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  9:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2365 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if `i686` and `armv7l` also work as intended.

```bash
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="i686 x86_64 aarmv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    i686) _build_arch="x86";;
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_MACHINE}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_MACHINE}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_MACHINE}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_MACHINE}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/lib/${pkgname}"
  vcopy "${pkgname}-${version}/publish/." "usr/lib/jellyfin"
}
```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-03-20  9:14 ` Anachron
@ 2020-03-20  9:15 ` Anachron
  2020-03-20  9:17 ` Anachron
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  9:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if `i686` and `armv7l` also work as intended.

```bash
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="i686 x86_64 armv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    i686) _build_arch="x86";;
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_MACHINE}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_MACHINE}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_MACHINE}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_MACHINE}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/lib/${pkgname}"
  vcopy "${pkgname}-${version}/publish/." "usr/lib/jellyfin"
}
```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-03-20  9:15 ` Anachron
@ 2020-03-20  9:17 ` Anachron
  2020-03-20 10:53 ` Anachron
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20  9:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2319 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if  `armv7l` also works as intended.

```bash
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="x86_64 armv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_MACHINE}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_MACHINE}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_MACHINE}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_MACHINE}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/lib/${pkgname}"
  vcopy "${pkgname}-${version}/publish/." "usr/lib/jellyfin"
}
```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2020-03-20  9:17 ` Anachron
@ 2020-03-20 10:53 ` Anachron
  2020-03-20 13:17 ` Anachron
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20 10:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if  `armv7l` also works as intended.

**EDIT: I'm fixing the PATHS currently! Please wait.**

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (11 preceding siblings ...)
  2020-03-20 10:53 ` Anachron
@ 2020-03-20 13:17 ` Anachron
  2020-03-20 17:34 ` Anachron
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20 13:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2512 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if  `armv7l` also works as intended.

**EDIT: NEW WIP:**

```bash
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="i686 x86_64 aarmv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

system_accounts="jellyfin"
jellyfin_homedir="/var/lib/jellyfin"

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    i686) _build_arch="x86";;
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_MACHINE}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_MACHINE}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_MACHINE}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_MACHINE}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web
}

do_install() {
  vmkdir usr/lib/jellyfin
  vmkdir etc/default
  vcopy "${FILESDIR}/jellyfin.default" etc/default/jellyfin 
  vcopy "${pkgname}-${version}/publish/." usr/lib/jellyfin
  vsv jellyfin
}

```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (12 preceding siblings ...)
  2020-03-20 13:17 ` Anachron
@ 2020-03-20 17:34 ` Anachron
  2020-03-22  3:51 ` tesfaye
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-20 17:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2515 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-601597785

Comment:
This works on `aarch64` too:

I'll check later if  `armv7l` also works as intended.

**EDIT: NEW WIP:**

```bash
# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="i686 x86_64 aarmv7l aarch64"
build_style=meta
hostmakedepends="dotnet-sdk-bin yarn"
makedepends="icu-devel libssl47 git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

system_accounts="jellyfin"
jellyfin_homedir="/var/lib/jellyfin"

do_build() {
  cd jellyfin-web-${version}
  yarn install

  # https://docs.microsoft.com/de-de/dotnet/core/rid-catalog#linux-rids
  case "${XBPS_TARGET_MACHINE}" in
    i686) _build_arch="x86";;
    x86_64) _build_arch="x64";;
    armv7l) _build_arch="arm";;
    aarch64) _build_arch="arm64";;
  esac

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build -r "linux-${_build_arch}" --configuration Release Jellyfin.Server
  dotnet publish -r "linux-${_build_arch}" --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-musl-x64,linux-armel}

  test "${XBPS_TARGET_MACHINE}" = 'i686' || rm -rfv publish/runtimes/linux-x86
  test "${XBPS_TARGET_MACHINE}" = 'x86_64' || rm -rfv publish/runtimes/linux-x64
  test "${XBPS_TARGET_MACHINE}" = 'armv7l' || rm -rfv publish/runtimes/linux-arm
  test "${XBPS_TARGET_MACHINE}" = 'aarch64' || rm -rfv publish/runtimes/linux-arm64
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web
}

do_install() {
  vmkdir usr/lib/jellyfin
  #vmkdir etc/default
  #vcopy "${FILESDIR}/jellyfin.default" etc/default/jellyfin 
  vcopy "${pkgname}-${version}/publish/." usr/lib/jellyfin
  #vsv jellyfin
}

```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (13 preceding siblings ...)
  2020-03-20 17:34 ` Anachron
@ 2020-03-22  3:51 ` tesfaye
  2020-03-22  3:51 ` tesfaye
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-22  3:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602143950

Comment:
[Jellyfin doesn't support x86 since Microsoft doesn't provide x86 binaries for Linux](https://jellyfin.org/docs/general/administration/installing.html)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (14 preceding siblings ...)
  2020-03-22  3:51 ` tesfaye
@ 2020-03-22  3:51 ` tesfaye
  2020-03-22  3:51 ` tesfaye
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-22  3:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602143950

Comment:
[Unfortunately, Jellyfin doesn't support x86 since Microsoft doesn't provide x86 binaries for Linux](https://jellyfin.org/docs/general/administration/installing.html)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (15 preceding siblings ...)
  2020-03-22  3:51 ` tesfaye
@ 2020-03-22  3:51 ` tesfaye
  2020-03-22  3:52 ` tesfaye
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-22  3:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602143950

Comment:
Unfortunately, Jellyfin doesn't support x86 since Microsoft doesn't provide [x86 binaries for Linux](https://jellyfin.org/docs/general/administration/installing.html)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (16 preceding siblings ...)
  2020-03-22  3:51 ` tesfaye
@ 2020-03-22  3:52 ` tesfaye
  2020-03-22  7:26 ` Anachron
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-22  3:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602143950

Comment:
Unfortunately, Jellyfin doesn't support x86 since Microsoft doesn't provide [x86 .net binaries for Linux](https://jellyfin.org/docs/general/administration/installing.html)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (17 preceding siblings ...)
  2020-03-22  3:52 ` tesfaye
@ 2020-03-22  7:26 ` Anachron
  2020-03-22 19:22 ` tesfaye
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-03-22  7:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602159745

Comment:
Yep but can be built from source it seems: 
https://github.com/dotnet/source-build/blob/release/3.1/cross/build-rootfs.sh

I'll see if I can get it working.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (18 preceding siblings ...)
  2020-03-22  7:26 ` Anachron
@ 2020-03-22 19:22 ` tesfaye
  2020-03-23 10:18 ` Johnnynator
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-22 19:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602259203

Comment:
`fail: Microsoft.DotNet.Darc.Operations.Operation[0]
        Something failed while cloning.
  System.Exception: Something went wrong when cloning repo https://github.com/dotnet/arcade at <default branch> into /builddir/dotnet-core-3.1.102/bin/src/arcade
   ---> System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.
   ---> System.DllNotFoundException: Unable to load shared library 'git2-7ce88e6' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgit2-7ce88e6: cannot open shared object file: No such file or directory
     at LibGit2Sharp.Core.NativeMethods.git_libgit2_init()
     at LibGit2Sharp.Core.NativeMethods.InitializeNativeLibrary()
     at LibGit2Sharp.Core.NativeMethods..cctor()
     --- End of inner exception stack trace ---
`
I tried building from source, but it fails at this step. Here is the template file I used if it's any help. I modified Arch's buildfile and patches from the AUR.

https://gist.github.com/tesfaye/9f9b37a67948860111049f55ed6f60d8



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (19 preceding siblings ...)
  2020-03-22 19:22 ` tesfaye
@ 2020-03-23 10:18 ` Johnnynator
  2020-07-09  7:51 ` Anachron
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Johnnynator @ 2020-03-23 10:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-602504423

Comment:
Building from source still pulls in random binaries, some of them link against OpenSSL (e.g. libgit), which is most likely the issue you see right now.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (20 preceding siblings ...)
  2020-03-23 10:18 ` Johnnynator
@ 2020-07-09  7:51 ` Anachron
  2021-07-12 18:47 ` Anachron
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2020-07-09  7:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-655967255

Comment:
I'll get back to this,- I'm currently packaging 10.5.5 and plan to retry building dotnet from source (maybe its easier now).

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (21 preceding siblings ...)
  2020-07-09  7:51 ` Anachron
@ 2021-07-12 18:47 ` Anachron
  2021-07-12 18:47 ` Anachron
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2021-07-12 18:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-878510139

Comment:
WIP of `jellyfin-bin` (I'm tired of trying to build `dotnet` from source ...)

```sh
# Template file for 'jellyfin-bin'
pkgname=jellyfin-bin
version=10.7.6
revision=1
archs="x86_64 aarch64"
wrksrc="jellyfin-${version}"
create_wrksrc=yes
build_style=meta
depends="ffmpeg sqlite icu"
short_desc="Free Software Media System"
maintainer="Anachron <gith@cron.world>"
license="GPL-3.0-or-later"
homepage="https://jellyfin.org"
distfiles="https://repo.jellyfin.org/releases/server/linux/stable/web/jellyfin-web_${version}_portable.tar.gz"
checksum="c714c6357176ce44ca4e3d354875ad7c11578af358cb5fa520a5f29626e5fe00"

system_accounts="_jellyfin"
_jellyfin_homedir="/var/lib/jellyfin"

case "${XBPS_TARGET_MACHINE}" in
  x86_64)
    distfiles+=" https://repo.jellyfin.org/releases/server/linux/stable/server/jellyfin-server_${version}_linux-amd64.tar.gz"
    checksum+=" 883f30229fd97bc6fc8a421dd3c7d358dd821363fd8d9c5ea0283c514dae3cc9"
    ;;
  aarch64)
    distfiles+=" https://repo.jellyfin.org/releases/server/linux/stable/server/jellyfin-server_${version}_linux-arm64.tar.gz"
    checksum+=" ace584ffdde02b685d0d8b9b45a50e84e86422e86c23f11193b56d2a3e43d673"
    ;;
esac

post_extract() {
  mv jellyfin-server_*/* .
  rmdir jellyfin-server_*
  mv jellyfin-web_* jellyfin-web
}

do_install() {
  vmkdir usr/lib/jellyfin
  vcopy . usr/lib/jellyfin
  vsv jellyfin
}

```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (22 preceding siblings ...)
  2021-07-12 18:47 ` Anachron
@ 2021-07-12 18:47 ` Anachron
  2022-04-15  0:51 ` github-actions
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2021-07-12 18:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-878510139

Comment:
WIP of `jellyfin-bin` (I'm tired of trying to build `dotnet` from source ...)

This work on both `x86_64` and `aarch64` (RPI 3B+)

```sh
# Template file for 'jellyfin-bin'
pkgname=jellyfin-bin
version=10.7.6
revision=1
archs="x86_64 aarch64"
wrksrc="jellyfin-${version}"
create_wrksrc=yes
build_style=meta
depends="ffmpeg sqlite icu"
short_desc="Free Software Media System"
maintainer="Anachron <gith@cron.world>"
license="GPL-3.0-or-later"
homepage="https://jellyfin.org"
distfiles="https://repo.jellyfin.org/releases/server/linux/stable/web/jellyfin-web_${version}_portable.tar.gz"
checksum="c714c6357176ce44ca4e3d354875ad7c11578af358cb5fa520a5f29626e5fe00"

system_accounts="_jellyfin"
_jellyfin_homedir="/var/lib/jellyfin"

case "${XBPS_TARGET_MACHINE}" in
  x86_64)
    distfiles+=" https://repo.jellyfin.org/releases/server/linux/stable/server/jellyfin-server_${version}_linux-amd64.tar.gz"
    checksum+=" 883f30229fd97bc6fc8a421dd3c7d358dd821363fd8d9c5ea0283c514dae3cc9"
    ;;
  aarch64)
    distfiles+=" https://repo.jellyfin.org/releases/server/linux/stable/server/jellyfin-server_${version}_linux-arm64.tar.gz"
    checksum+=" ace584ffdde02b685d0d8b9b45a50e84e86422e86c23f11193b56d2a3e43d673"
    ;;
esac

post_extract() {
  mv jellyfin-server_*/* .
  rmdir jellyfin-server_*
  mv jellyfin-web_* jellyfin-web
}

do_install() {
  vmkdir usr/lib/jellyfin
  vcopy . usr/lib/jellyfin
  vsv jellyfin
}

```

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (23 preceding siblings ...)
  2021-07-12 18:47 ` Anachron
@ 2022-04-15  0:51 ` github-actions
  2022-11-23  1:29 ` kjkent
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: github-actions @ 2022-04-15  0:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-1099749011

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (24 preceding siblings ...)
  2022-04-15  0:51 ` github-actions
@ 2022-11-23  1:29 ` kjkent
  2022-11-23  1:29 ` kjkent
  2023-10-18  6:04 ` Anachron
  27 siblings, 0 replies; 28+ messages in thread
From: kjkent @ 2022-11-23  1:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

New comment by kjkent on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-1324436427

Comment:
Just bumping this :)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (25 preceding siblings ...)
  2022-11-23  1:29 ` kjkent
@ 2022-11-23  1:29 ` kjkent
  2023-10-18  6:04 ` Anachron
  27 siblings, 0 replies; 28+ messages in thread
From: kjkent @ 2022-11-23  1:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New comment by kjkent on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-1324436427

Comment:
Just bumping this as per the bot's request :)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
                   ` (26 preceding siblings ...)
  2022-11-23  1:29 ` kjkent
@ 2023-10-18  6:04 ` Anachron
  27 siblings, 0 replies; 28+ messages in thread
From: Anachron @ 2023-10-18  6:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-1767706995

Comment:
I've been using this template on my `aarch64` powered `RoockPro64`:

https://git.sr.ht/~anachron/void-package-templates/tree/master/item/srcpkgs/jellyfin-bin

So if you are like me and don't want to wait another eternity for `dotnet` to appear in the `Void Repos`, you can go ahead and package from binary in the meantime.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Package Request: Jellyfin
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
@ 2020-03-17 19:59 ` tesfaye
  2020-03-17 20:00 ` tesfaye
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 28+ messages in thread
From: tesfaye @ 2020-03-17 19:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]

New comment by tesfaye on void-packages repository

https://github.com/void-linux/void-packages/issues/6684#issuecomment-600269225

Comment:
An update. I was able to get jellyifn to build with #20147 and the following template file for jellyfin.

`# Template file for 'jellyfin'
pkgname=jellyfin
version=10.5.0
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
archs="x86_64"
build_style=meta
makedepends="dotnet-sdk icu-devel libssl47 yarn git"
depends="ffmpeg sqlite"
short_desc="Free Software Media System "
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="GPL-2.0-or-later"
homepage="https://jellyfin.readthedocs.io"
distfiles="
 https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
 https://github.com/${pkgname}/${pkgname}-web/archive/v${version}.tar.gz>${pkgname}-web-${version}.tar.gz"
checksum="
 f5631758c2a175ae04bedd6d8f8566b2222b14254261bdf29019ecdffde0dddd
 e50b280e805469367bedfef41c32070907e191d4a856b92049e6f6fd558e1dea"
nopie=yes

do_build() {
  cd jellyfin-web-${version}
  yarn install

  #cp -r dist/. ../jellyfin-${version}/MediaBrowser.WebDashboard/jellyfin-web

  cd ../jellyfin-${version}

  export DOTNET_CLI_TELEMETRY_OPTOUT=1
  export CLR_OPENSSL_VERSION_OVERRIDE=47
  dotnet build --configuration Release Jellyfin.Server
  dotnet publish --configuration Release Jellyfin.Server --output "$PWD"/publish
  rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*,linux-arm*,linux-musl*}
  
  mkdir publish/jellyfin-web
  cp -rv ../jellyfin-web-${version}/dist/. publish/jellyfin-web

  rm -rfv Jellyfin.Server/
}

do_install() {
  vmkdir "usr/bin/${pkgname}"
  #cd ${pkgname}-${version}/publish/
  #vcopy . usr/lib/${pkgname}
  vcopy "${pkgname}-${version}/publish/." "usr/bin/${pkgname}"
}
`



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2023-10-18  6:04 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6684@inbox.vuxu.org>
2020-03-17 19:59 ` Package Request: Jellyfin tesfaye
2020-03-17 20:00 ` tesfaye
2020-03-17 20:01 ` tesfaye
2020-03-17 20:26 ` tesfaye
2020-03-20  7:03 ` Anachron
2020-03-20  7:08 ` Anachron
2020-03-20  9:07 ` Anachron
2020-03-20  9:07 ` Anachron
2020-03-20  9:14 ` Anachron
2020-03-20  9:15 ` Anachron
2020-03-20  9:17 ` Anachron
2020-03-20 10:53 ` Anachron
2020-03-20 13:17 ` Anachron
2020-03-20 17:34 ` Anachron
2020-03-22  3:51 ` tesfaye
2020-03-22  3:51 ` tesfaye
2020-03-22  3:51 ` tesfaye
2020-03-22  3:52 ` tesfaye
2020-03-22  7:26 ` Anachron
2020-03-22 19:22 ` tesfaye
2020-03-23 10:18 ` Johnnynator
2020-07-09  7:51 ` Anachron
2021-07-12 18:47 ` Anachron
2021-07-12 18:47 ` Anachron
2022-04-15  0:51 ` github-actions
2022-11-23  1:29 ` kjkent
2022-11-23  1:29 ` kjkent
2023-10-18  6:04 ` Anachron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).