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

Maxime Gauduin alucryd at archlinux.org
Wed Apr 1 10:32:37 UTC 2020


    Date: Wednesday, April 1, 2020 @ 10:32:37
  Author: alucryd
Revision: 608674

archrelease: copy trunk to community-testing-x86_64

Added:
  emby-server/repos/community-testing-x86_64/
  emby-server/repos/community-testing-x86_64/PKGBUILD
    (from rev 608672, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-testing-x86_64/Permission_to_distribute.mbox
    (from rev 608672, emby-server/trunk/Permission_to_distribute.mbox)
  emby-server/repos/community-testing-x86_64/emby-server
    (from rev 608673, emby-server/trunk/emby-server)
  emby-server/repos/community-testing-x86_64/emby-server.conf
    (from rev 608673, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-testing-x86_64/emby-server.install
    (from rev 608673, emby-server/trunk/emby-server.install)
  emby-server/repos/community-testing-x86_64/emby-server.service
    (from rev 608673, emby-server/trunk/emby-server.service)
  emby-server/repos/community-testing-x86_64/license.docx
    (from rev 608673, 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-testing-x86_64/PKGBUILD (from rev 608672, emby-server/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-04-01 10:32:37 UTC (rev 608674)
@@ -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=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=('740e7328d517b1ffbb91d2c0f37884cdf67398af532848b005294d66fc540b9a'
+            '6d115633eeb1d48a80f07f53c2e8c43093bd56a4a3d7d8b3d6207c4f473a61e0'
+            '50ed2c4b4a8bc62baf92ac6192c8fe21a00dd77b0079d5a971958f412bc2bf9e'
+            'ee6ed36a13fcd8fd0b2b818eac742cc2cc2513d7f8f6cd867fa8d1c45ef3dd22'
+            'd1a805284d8a1329f6f6e736423be747d8951c5a9600fbb79c13a6f9be7149c0'
+            '54bf6a38fcea32fae8468e217a0b1a66a50f5f1a5674fce35fefb6c3881bb827'
+            '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-testing-x86_64/Permission_to_distribute.mbox (from rev 608672, emby-server/trunk/Permission_to_distribute.mbox)
===================================================================
--- community-testing-x86_64/Permission_to_distribute.mbox	                        (rev 0)
+++ community-testing-x86_64/Permission_to_distribute.mbox	2020-04-01 10:32:37 UTC (rev 608674)
@@ -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-testing-x86_64/emby-server (from rev 608673, emby-server/trunk/emby-server)
===================================================================
--- community-testing-x86_64/emby-server	                        (rev 0)
+++ community-testing-x86_64/emby-server	2020-04-01 10:32:37 UTC (rev 608674)
@@ -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-testing-x86_64/emby-server.conf (from rev 608673, emby-server/trunk/emby-server.conf)
===================================================================
--- community-testing-x86_64/emby-server.conf	                        (rev 0)
+++ community-testing-x86_64/emby-server.conf	2020-04-01 10:32:37 UTC (rev 608674)
@@ -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-testing-x86_64/emby-server.install (from rev 608673, emby-server/trunk/emby-server.install)
===================================================================
--- community-testing-x86_64/emby-server.install	                        (rev 0)
+++ community-testing-x86_64/emby-server.install	2020-04-01 10:32:37 UTC (rev 608674)
@@ -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-testing-x86_64/emby-server.service (from rev 608673, emby-server/trunk/emby-server.service)
===================================================================
--- community-testing-x86_64/emby-server.service	                        (rev 0)
+++ community-testing-x86_64/emby-server.service	2020-04-01 10:32:37 UTC (rev 608674)
@@ -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-testing-x86_64/license.docx (from rev 608673, emby-server/trunk/license.docx)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list