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

Maxime Gauduin alucryd at archlinux.org
Tue Aug 4 14:34:11 UTC 2020


    Date: Tuesday, August 4, 2020 @ 14:34:11
  Author: alucryd
Revision: 668841

archrelease: copy trunk to community-staging-x86_64

Added:
  emby-server/repos/community-staging-x86_64/
  emby-server/repos/community-staging-x86_64/PKGBUILD
    (from rev 668840, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-staging-x86_64/Permission_to_distribute.mbox
    (from rev 668840, emby-server/trunk/Permission_to_distribute.mbox)
  emby-server/repos/community-staging-x86_64/emby-server
    (from rev 668840, emby-server/trunk/emby-server)
  emby-server/repos/community-staging-x86_64/emby-server.conf
    (from rev 668840, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-staging-x86_64/emby-server.install
    (from rev 668840, emby-server/trunk/emby-server.install)
  emby-server/repos/community-staging-x86_64/emby-server.service
    (from rev 668840, emby-server/trunk/emby-server.service)
  emby-server/repos/community-staging-x86_64/license.docx
    (from rev 668840, emby-server/trunk/license.docx)

-------------------------------+
 PKGBUILD                      |  131 ++++++++++++++++++++++++++++++++++++++++
 Permission_to_distribute.mbox |   81 ++++++++++++++++++++++++
 emby-server                   |   10 +++
 emby-server.conf              |    5 +
 emby-server.install           |    9 ++
 emby-server.service           |   26 +++++++
 6 files changed, 262 insertions(+)

Copied: emby-server/repos/community-staging-x86_64/PKGBUILD (from rev 668840, emby-server/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-08-04 14:34:11 UTC (rev 668841)
@@ -0,0 +1,131 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=4.4.3.0
+_ffmpeg_ver=2020_05_23
+pkgrel=4
+pkgdesc='Bring together your videos, music, photos, and live television'
+arch=(x86_64)
+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 (requires Emby Premiere)'
+  'nvidia-utils: Nvidia NVDEC/NVENC support (requires Emby Premiere)'
+)
+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
+  license.docx
+  Permission_to_distribute.mbox
+)
+noextract=(license.docx)
+backup=(etc/conf.d/emby-server)
+install=emby-server.install
+sha256sums=('9f14243bdc400ca9da2bb1b3e2ca3755f96293a6016bfbb5689cd7fcbc963f6b'
+            'ed2fde500b705b06a0b82a9bf6b367c63b0fc899f69f77691bc68d61f3862a77'
+            'c66e73c86ebfdfb169dbdc3c6731f09bd82382dda3fb8a77abe19d6973c09b51'
+            'ee6ed36a13fcd8fd0b2b818eac742cc2cc2513d7f8f6cd867fa8d1c45ef3dd22'
+            'd1a805284d8a1329f6f6e736423be747d8951c5a9600fbb79c13a6f9be7149c0'
+            'a7f2e38d2d196984d1c1632c851215aea9072b3af998d10a6b68477ad886ea14'
+            'a6d7ea65dcb06392479a85e1a10a7aeb872d803da6f784f6935fcd4ee63008c6'
+            '716cc88f47b829937884e765add9fe54ed27f0f4d1cec1a18045feb138fb66c9')
+
+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.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-x86_64/Permission_to_distribute.mbox (from rev 668840, emby-server/trunk/Permission_to_distribute.mbox)
===================================================================
--- community-staging-x86_64/Permission_to_distribute.mbox	                        (rev 0)
+++ community-staging-x86_64/Permission_to_distribute.mbox	2020-08-04 14:34:11 UTC (rev 668841)
@@ -0,0 +1,81 @@
+From apps at emby.media Wed Mar 25 19:41:04 2020
+Return-Path: <apps at emby.media>
+Delivered-To: alucryd at archlinux.org
+Received: from orion.archlinux.org (localhost [127.0.0.1])
+	by orion.archlinux.org (Postfix) with ESMTP id 7C70B1A6B85EDF
+	for <alucryd at archlinux.org>; Wed, 25 Mar 2020 18:31:27 +0000 (UTC)
+X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
+ orion.archlinux.org
+X-Spam-Status: No, score=-1.1 required=5.0
+ tests=BAYES_00=-1,DKIM_SIGNED=0.1,
+ DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,RCVD_IN_DNSWL_NONE=-0.0001,
+ SPF_HELO_PASS=-0.001,T_DMARC_POLICY_NONE=0.01 autolearn=ham
+ autolearn_force=no version=3.4.4
+X-Spam-BL-Results: <dns:54.139.230.173.list.dnswl.org> [127.0.10.0]
+Received: from emby.media (emby.media [173.230.139.54])
+	(using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits))
+	(No client certificate requested)
+	by orion.archlinux.org (Postfix) with ESMTPS
+	for <alucryd at archlinux.org>; Wed, 25 Mar 2020 18:31:27 +0000 (UTC)
+DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
+ d=emby.media; s=mail;
+ h=Message-ID:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To;
+ bh=iEYSw3py8horL8nVQbN8fH+kKWST0OcQ6XrhU3fGXCA=;
+ b=N/ebOQnvhpv/mDI4bPJrfB2uK4ecZm2Kvja2rB/Ln4nTPVVl9L0sWbORWu6/UplclaI3dMdR05impqEM3S3M5Iy9W73wq1dB4O7ecm7wwFinmUtD8RD/MqtA4D5nKMsacIE80LBEqqhGwwwgX9ZwVChVeDKvq+jq7YxG6y8ReVI=;
+Received: from mailer by emby.media with local  (Exim 4.82)
+	 (envelope-from <apps at emby.media>)
+	 id 1jHAoH-0002FT-It 
+	for alucryd at archlinux.org; Wed, 25 Mar 2020 14:31:25 -0400
+To: alucryd at archlinux.org
+Subject: Permission to distribute
+X-PHP-Originating-Script: 0:rcmail.php
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8;
+ format=flowed
+Date: Wed, 25 Mar 2020 14:31:25 -0400
+From: apps at emby.media
+Message-ID: <2fdb3a917c93761ecf74d5c9684b99f7 at emby.media>
+X-Sender: apps at emby.media
+User-Agent: Roundcube Webmail/0.9.5
+X-Spamd-Bar: ++++
+X-Spam-Level: ****
+X-Rspamd-Server: server
+Authentication-Results: localhost; dkim=pass header.d=emby.media
+ header.s=mail header.b=N/ebOQnv; dmarc=pass (policy=none)
+ header.from=emby.media; spf=fail (localhost: domain of apps at emby.media does
+ not designate 88.198.91.70 as permitted sender)
+ smtp.mailfrom=apps at emby.media
+X-Rspamd-Queue-Id: 4A58B3A443F
+X-Spamd-Result: default: False [4.80 / 15.00];
+	 ARC_NA(0.00)[];
+	 R_SPF_FAIL(1.00)[-all];
+	 R_DKIM_ALLOW(-0.20)[emby.media:s=mail];
+	 MIME_GOOD(-0.10)[text/plain];
+	 HAS_X_POS(0.00)[];
+	 PREVIOUSLY_DELIVERED(0.00)[alucryd at archlinux.org];
+	 RCPT_COUNT_ONE(0.00)[1];
+	 RCVD_COUNT_THREE(0.00)[4];
+	 PHP_SCRIPT_ROOT(1.00)[];
+	 VIOLATED_DIRECT_SPF(3.50)[];
+	 DKIM_TRACE(0.00)[emby.media:+];
+	 DMARC_POLICY_ALLOW(0.00)[emby.media,none];
+	 FROM_NO_DN(0.00)[];
+	 DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[];
+	 TO_DN_NONE(0.00)[];
+	 FROM_EQ_ENVFROM(0.00)[];
+	 MIME_TRACE(0.00)[0:+];
+	 RCVD_NO_TLS_LAST(0.10)[];
+	 ASN(0.00)[asn:24940, ipnet:88.198.0.0/16, country:DE];
+	 MID_RHS_MATCH_FROM(0.00)[];
+	 GREYLIST(0.00)[pass,body]
+X-Evolution-Source: c0db550405095b1687f625acf3ce854020908ff2
+Content-Transfer-Encoding: 8bit
+
+Hey Maxime,
+
+This is an official notification granting you permission to distribute 
+Emby in the Arch official repositories.
+
+Luke Pulverenti
+Emby, LLC
+

Copied: emby-server/repos/community-staging-x86_64/emby-server (from rev 668840, emby-server/trunk/emby-server)
===================================================================
--- community-staging-x86_64/emby-server	                        (rev 0)
+++ community-staging-x86_64/emby-server	2020-08-04 14:34:11 UTC (rev 668841)
@@ -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-x86_64/emby-server.conf (from rev 668840, emby-server/trunk/emby-server.conf)
===================================================================
--- community-staging-x86_64/emby-server.conf	                        (rev 0)
+++ community-staging-x86_64/emby-server.conf	2020-08-04 14:34:11 UTC (rev 668841)
@@ -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-x86_64/emby-server.install (from rev 668840, emby-server/trunk/emby-server.install)
===================================================================
--- community-staging-x86_64/emby-server.install	                        (rev 0)
+++ community-staging-x86_64/emby-server.install	2020-08-04 14:34:11 UTC (rev 668841)
@@ -0,0 +1,9 @@
+post_upgrade() {
+  if [ $(vercmp $2 4.4.0.40-4) -lt 0 ]; then
+    cat << EOF
+The systemd service now uses DynamicUser to manage the emby user.
+You may safely userdel the old emby user.
+EOF
+  fi
+}
+

Copied: emby-server/repos/community-staging-x86_64/emby-server.service (from rev 668840, emby-server/trunk/emby-server.service)
===================================================================
--- community-staging-x86_64/emby-server.service	                        (rev 0)
+++ community-staging-x86_64/emby-server.service	2020-08-04 14:34:11 UTC (rev 668841)
@@ -0,0 +1,26 @@
+[Unit]
+Description=Emby brings together your videos, music, photos, and live television.
+After=network.target
+
+[Service]
+User=emby
+Group=emby
+SupplementaryGroups=render
+SupplementaryGroups=video
+DynamicUser=true
+StateDirectory=emby
+ReadWritePaths=-/dev/dri
+
+EnvironmentFile=/etc/conf.d/emby-server
+ExecStart=/usr/bin/emby-server
+RestartForceExitStatus=3
+
+AmbientCapabilities=
+CapabilityBoundingSet=
+LockPersonality=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+
+[Install]
+WantedBy=multi-user.target

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



More information about the arch-commits mailing list