[arch-commits] Commit in emby-server/repos (8 files)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 23 09:03:01 UTC 2020


    Date: Monday, March 23, 2020 @ 09:03:00
  Author: alucryd
Revision: 603694

archrelease: copy trunk to community-staging-any

Added:
  emby-server/repos/community-staging-any/
  emby-server/repos/community-staging-any/PKGBUILD
    (from rev 603693, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-staging-any/emby-server
    (from rev 603693, emby-server/trunk/emby-server)
  emby-server/repos/community-staging-any/emby-server.conf
    (from rev 603693, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-staging-any/emby-server.service
    (from rev 603693, emby-server/trunk/emby-server.service)
  emby-server/repos/community-staging-any/emby-server.sysusers
    (from rev 603693, emby-server/trunk/emby-server.sysusers)
  emby-server/repos/community-staging-any/emby-server.tmpfiles
    (from rev 603693, emby-server/trunk/emby-server.tmpfiles)
  emby-server/repos/community-staging-any/license.docx
    (from rev 603693, emby-server/trunk/license.docx)

----------------------+
 PKGBUILD             |  131 +++++++++++++++++++++++++++++++++++++++++++++++++
 emby-server          |   10 +++
 emby-server.conf     |    5 +
 emby-server.service  |   16 +++++
 emby-server.sysusers |    1 
 emby-server.tmpfiles |    1 
 6 files changed, 164 insertions(+)

Copied: emby-server/repos/community-staging-any/PKGBUILD (from rev 603693, emby-server/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-03-23 09:03:00 UTC (rev 603694)
@@ -0,0 +1,131 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=4.4.0.40
+_ffmpeg_ver=2020_02_24
+pkgrel=2
+pkgdesc='Bring together your videos, music, photos, and live television'
+arch=(any)
+url=https://emby.media
+license=(custom)
+depends=(
+  alsa-lib
+  aom
+  bzip2
+  dotnet-runtime
+  expat
+  fontconfig
+  fribidi
+  glibc
+  gmp
+  gnutls
+  lame
+  libass.so
+  libdav1d.so
+  libdrm
+  libfreetype.so
+  libjpeg-turbo
+  libmfx
+  libpng
+  libtheora
+  libva-drm.so
+  libva.so
+  libvorbisenc.so
+  libvorbis.so
+  libwebp
+  libx264.so
+  opus
+  skia-sharp
+  sqlite
+  zlib
+  zvbi
+)
+makedepends=(
+  ffnvcodec-headers8.1
+  nasm
+)
+optdepends=('intel-media-sdk: Intel QuickSync support')
+source=(
+  https://github.com/MediaBrowser/Emby.Releases/releases/download/${pkgver}/embyserver-netcore_${pkgver}.zip
+  https://mediabrowser.github.io/embytools/ffmpeg-${_ffmpeg_ver}.tar.gz
+  https://mediabrowser.github.io/embytools/ffdetect-${_ffmpeg_ver}-x64.tar.xz
+  emby-server
+  emby-server.conf
+  emby-server.service
+  emby-server.sysusers
+  emby-server.tmpfiles
+  license.docx
+)
+noextract=(license.docx)
+backup=(etc/conf.d/emby-server)
+sha256sums=('740e7328d517b1ffbb91d2c0f37884cdf67398af532848b005294d66fc540b9a'
+            '6d115633eeb1d48a80f07f53c2e8c43093bd56a4a3d7d8b3d6207c4f473a61e0'
+            '50ed2c4b4a8bc62baf92ac6192c8fe21a00dd77b0079d5a971958f412bc2bf9e'
+            'ee6ed36a13fcd8fd0b2b818eac742cc2cc2513d7f8f6cd867fa8d1c45ef3dd22'
+            'd1a805284d8a1329f6f6e736423be747d8951c5a9600fbb79c13a6f9be7149c0'
+            'efdaabd3002fee13a6831e90fd700dea4d7c6c954ede00da6f28c1eada33ad8c'
+            'f7fa33949757ffc587ecf82496dc35ebc8c8e5c98b882b31dc40a24263d3921a'
+            'a13a844a1bdc679356698e3fd7f3946d07bdfe021ed857d944ead011ad338056'
+            'a6d7ea65dcb06392479a85e1a10a7aeb872d803da6f784f6935fcd4ee63008c6')
+
+prepare() {
+  rm -rf system/{electron,runtimes/{osx,tizen*,win*}}
+}
+
+build() {
+  cd ffmpeg-${_ffmpeg_ver}_public
+
+  export PKG_CONFIG_PATH=/usr/lib/ffnvcodec8.1/pkgconfig
+
+  ./configure \
+    --disable-doc \
+    --disable-ffplay \
+    --disable-shared \
+    --disable-vdpau \
+    --disable-libxcb \
+    --disable-lzma \
+    --disable-sdl2 \
+    --disable-xlib \
+    --enable-fontconfig \
+    --enable-gmp \
+    --enable-gnutls \
+    --enable-gpl \
+    --enable-libaom \
+    --enable-libass \
+    --enable-libdav1d \
+    --enable-libdrm \
+    --enable-libfreetype \
+    --enable-libfribidi \
+    --enable-libmfx \
+    --enable-libmp3lame \
+    --enable-libopus \
+    --enable-libtheora \
+    --enable-libvorbis \
+    --enable-libwebp \
+    --enable-libx264 \
+    --enable-libzvbi \
+    --enable-version3 \
+    --enable-nvdec \
+    --enable-nvenc \
+    --enable-static \
+    --enable-vaapi
+  make
+}
+
+package() {
+  install -dm 755 "${pkgdir}"/usr/lib
+  cp -dr --no-preserve='ownership' system "${pkgdir}"/usr/lib/emby-server
+  ln -s ../libSkiaSharp.so.68.0.0 "${pkgdir}"/usr/lib/emby-server/libSkiaSharp.so
+  install -Dm 755 emby-server -t "${pkgdir}"/usr/bin/
+  install -Dm 755 bin/ffdetect "${pkgdir}"/usr/bin/ffdetect-emby
+  install -Dm 755 ffmpeg-${_ffmpeg_ver}_public/ffmpeg "${pkgdir}"/usr/bin/ffmpeg-emby
+  install -Dm 755 ffmpeg-${_ffmpeg_ver}_public/ffprobe "${pkgdir}"/usr/bin/ffprobe-emby
+  install -Dm 644 emby-server.service -t "${pkgdir}"/usr/lib/systemd/system/
+  install -Dm 644 emby-server.sysusers "${pkgdir}"/usr/lib/sysusers.d/emby-server.conf
+  install -Dm 644 emby-server.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/emby-server.conf
+  install -Dm 644 emby-server.conf "${pkgdir}"/etc/conf.d/emby-server
+  install -Dm 644 license.docx -t "${pkgdir}"/usr/share/licenses/emby-server/
+}
+
+# vim: ts=2 sw=2 et:

Copied: emby-server/repos/community-staging-any/emby-server (from rev 603693, emby-server/trunk/emby-server)
===================================================================
--- community-staging-any/emby-server	                        (rev 0)
+++ community-staging-any/emby-server	2020-03-23 09:03:00 UTC (rev 603694)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+exec dotnet /usr/lib/emby-server/EmbyServer.dll \
+  -programdata $PROGRAM_DATA \
+  -ffdetect $FFDETECT \
+  -ffmpeg $FFMPEG \
+  -ffprobe $FFPROBE \
+  -restartexitcode 3
+
+# vim: ts=2 sw=2 et:

Copied: emby-server/repos/community-staging-any/emby-server.conf (from rev 603693, emby-server/trunk/emby-server.conf)
===================================================================
--- community-staging-any/emby-server.conf	                        (rev 0)
+++ community-staging-any/emby-server.conf	2020-03-23 09:03:00 UTC (rev 603694)
@@ -0,0 +1,5 @@
+FFDETECT=/usr/bin/ffdetect-emby
+FFMPEG=/usr/bin/ffmpeg-emby
+FFPROBE=/usr/bin/ffprobe-emby
+PROGRAM_DATA=/var/lib/emby
+LIBVA_DRIVERS_PATH=/usr/lib/dri

Copied: emby-server/repos/community-staging-any/emby-server.service (from rev 603693, emby-server/trunk/emby-server.service)
===================================================================
--- community-staging-any/emby-server.service	                        (rev 0)
+++ community-staging-any/emby-server.service	2020-03-23 09:03:00 UTC (rev 603694)
@@ -0,0 +1,16 @@
+[Unit]
+Description=Emby brings together your videos, music, photos, and live television.
+
+[Service]
+EnvironmentFile=/etc/conf.d/emby-server
+WorkingDirectory=/usr/lib/emby-server
+ExecStart=/usr/bin/emby-server
+RestartForceExitStatus=3
+User=emby
+Group=emby
+
+[Unit]
+After=network.target
+
+[Install]
+WantedBy=multi-user.target

Copied: emby-server/repos/community-staging-any/emby-server.sysusers (from rev 603693, emby-server/trunk/emby-server.sysusers)
===================================================================
--- community-staging-any/emby-server.sysusers	                        (rev 0)
+++ community-staging-any/emby-server.sysusers	2020-03-23 09:03:00 UTC (rev 603694)
@@ -0,0 +1 @@
+u emby - "Emby Media Server" /var/lib/emby

Copied: emby-server/repos/community-staging-any/emby-server.tmpfiles (from rev 603693, emby-server/trunk/emby-server.tmpfiles)
===================================================================
--- community-staging-any/emby-server.tmpfiles	                        (rev 0)
+++ community-staging-any/emby-server.tmpfiles	2020-03-23 09:03:00 UTC (rev 603694)
@@ -0,0 +1 @@
+d /var/lib/emby 0755 emby emby -

Copied: emby-server/repos/community-staging-any/license.docx (from rev 603693, emby-server/trunk/license.docx)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list