[arch-commits] Commit in emby-server/repos/community-any (16 files)

Maxime Gauduin alucryd at archlinux.org
Sat Jan 19 12:35:08 UTC 2019


    Date: Saturday, January 19, 2019 @ 12:35:07
  Author: alucryd
Revision: 424591

archrelease: copy trunk to community-any

Added:
  emby-server/repos/community-any/PKGBUILD
    (from rev 424590, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-any/emby-server
    (from rev 424590, emby-server/trunk/emby-server)
  emby-server/repos/community-any/emby-server.conf
    (from rev 424590, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-any/emby-server.service
    (from rev 424590, emby-server/trunk/emby-server.service)
  emby-server/repos/community-any/emby-server.sysusers
    (from rev 424590, emby-server/trunk/emby-server.sysusers)
  emby-server/repos/community-any/emby-server.tmpfiles
    (from rev 424590, emby-server/trunk/emby-server.tmpfiles)
  emby-server/repos/community-any/license.docx
    (from rev 424590, emby-server/trunk/license.docx)
Deleted:
  emby-server/repos/community-any/PKGBUILD
  emby-server/repos/community-any/emby-migrate-database
  emby-server/repos/community-any/emby-server
  emby-server/repos/community-any/emby-server.conf
  emby-server/repos/community-any/emby-server.install
  emby-server/repos/community-any/emby-server.service
  emby-server/repos/community-any/emby-server.sysusers
  emby-server/repos/community-any/emby-server.tmpfiles
  emby-server/repos/community-any/license.docx

-----------------------+
 PKGBUILD              |  172 ++++++++++++++++++++++++++++++++++--------------
 emby-migrate-database |   56 ---------------
 emby-server           |   21 ++---
 emby-server.conf      |    7 +
 emby-server.install   |   14 ---
 emby-server.service   |   32 ++++----
 emby-server.sysusers  |    2 
 emby-server.tmpfiles  |    2 
 8 files changed, 156 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-19 12:34:53 UTC (rev 424590)
+++ PKGBUILD	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1,48 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Seymour <dannyseeless at gmail.com>
-
-pkgname=emby-server
-pkgver=3.5.3.0
-pkgrel=1
-pkgdesc='Bring together your videos, music, photos, and live television'
-arch=('any')
-url='http://emby.media'
-license=('custom')
-depends=('dotnet-runtime' 'ffmpeg' 'skia-sharp60' 'sqlite')
-install='emby-server.install'
-source=("https://github.com/MediaBrowser/Emby.Releases/releases/download/${pkgver}/embyserver-netcore_${pkgver}.zip"
-        'emby-server'
-        'emby-migrate-database'
-        'emby-server.conf'
-        'emby-server.service'
-        'emby-server.sysusers'
-        'emby-server.tmpfiles'
-        'license.docx')
-backup=('etc/conf.d/emby-server')
-sha256sums=('f25abb6d34f888c467db561ad333a222626febdc69b6353de86c04848753210c'
-            'fcab0c95fb94179ca52d63b354b2ca44b8e35885469cb2b3d006b5fbc5622490'
-            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
-            '015869b52601a9cdbd303aed9dffe11ef19959da4a070c775ece8416e699979f'
-            'efdaabd3002fee13a6831e90fd700dea4d7c6c954ede00da6f28c1eada33ad8c'
-            'f7fa33949757ffc587ecf82496dc35ebc8c8e5c98b882b31dc40a24263d3921a'
-            'a13a844a1bdc679356698e3fd7f3946d07bdfe021ed857d944ead011ad338056'
-            'a6d7ea65dcb06392479a85e1a10a7aeb872d803da6f784f6935fcd4ee63008c6')
-
-prepare() {
-  rm -rf system/{electron,runtimes}
-}
-
-package() {
-  install -dm 755 "${pkgdir}"/usr/lib
-  cp -dr --no-preserve='ownership' system "${pkgdir}"/usr/lib/emby-server
-  ln -s ../libSkiaSharp.so.60.0.0 "${pkgdir}"/usr/lib/emby-server/libSkiaSharp.so
-  install -Dm 755 emby-server -t "${pkgdir}"/usr/bin/
-  install -Dm 755 emby-migrate-database -t "${pkgdir}"/usr/bin/
-  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-any/PKGBUILD (from rev 424590, emby-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-19 12:35:07 UTC (rev 424591)
@@ -0,0 +1,124 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=4.0.0.2
+_ffmpeg_ver=2018_12_01
+_ffdetect_ver=4.0.2
+pkgrel=1
+pkgdesc='Bring together your videos, music, photos, and live television'
+arch=(any)
+url='http://emby.media'
+license=(custom)
+depends=(
+  alsa-lib
+  aom
+  dotnet-runtime
+  fontconfig
+  fribidi
+  gmp
+  gnutls
+  lame
+  libass.so
+  libdrm
+  libfreetype.so
+  libjpeg-turbo
+  libpng
+  libtheora
+  libva-drm.so
+  libva.so
+  libva-x11.so
+  libvorbisenc.so
+  libvorbis.so
+  libwebp
+  libx11
+  libx264.so
+  opus
+  skia-sharp60
+  sqlite
+  zlib
+  zvbi
+)
+makedepends=(
+  ffnvcodec-headers
+  nasm
+)
+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_${_ffdetect_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=('cac3de0f4b75d421719676377bae80274338a493e79c0498c8772e7e51cd8edf'
+            '1129e1bfb7fc4090cdd6e055d57b0cd90c9881f0db8b9ceb80fdd145de4ffc71'
+            'c25eea4ace3824c7172e0b7cab57cc2baa459004680fed5fa645355205fe2c51'
+            'ee6ed36a13fcd8fd0b2b818eac742cc2cc2513d7f8f6cd867fa8d1c45ef3dd22'
+            '2baff638ab5ddca226d4f6ec81ef43e16ce7104739136732b5beea4abcfce322'
+            'efdaabd3002fee13a6831e90fd700dea4d7c6c954ede00da6f28c1eada33ad8c'
+            'f7fa33949757ffc587ecf82496dc35ebc8c8e5c98b882b31dc40a24263d3921a'
+            'a13a844a1bdc679356698e3fd7f3946d07bdfe021ed857d944ead011ad338056'
+            'a6d7ea65dcb06392479a85e1a10a7aeb872d803da6f784f6935fcd4ee63008c6')
+
+prepare() {
+  rm -rf system/{electron,runtimes}
+}
+
+build() {
+  cd ffmpeg-${_ffmpeg_ver}
+
+  ./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-libdrm \
+    --enable-libfreetype \
+    --enable-libfribidi \
+    --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.60.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}/ffmpeg "${pkgdir}"/usr/bin/ffmpeg-emby
+  install -Dm 755 ffmpeg-${_ffmpeg_ver}/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:

Deleted: emby-migrate-database
===================================================================
--- emby-migrate-database	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-migrate-database	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-USER='emby'
-GROUP='emby'
-
-usage() {
-  echo 'Usage: emby-migrate-database {-u user} {-g group} old_path_full new_path_full'
-  echo 'Default user: emby'
-  echo 'Default group: emby'
-}
-
-migrate() {
-  if [[ $1 && $2 ]]; then
-    if [[ -f $1/data/library.db ]]; then
-      if [[ ! -e $2 ]]; then
-        mkdir -p $2
-      fi
-      if [[ -d $2 ]]; then
-        if [[ -z $(ls $2) ]]; then
-          cp -r $1/* $2/
-          sqlite3 $2/data/library.db "UPDATE TypedBaseItems SET data = CAST(REPLACE(CAST(data AS TEXT), '$1', '$2') AS BLOB);"
-          chown $USER:$GROUP -R $2
-          echo "Migration complete. You can now delete $1."
-        else
-          echo "$2 is not empty. Aborting."
-        fi
-      else
-        echo "$2 is not a directory. Aborting."
-      fi
-    else
-      echo "$1 does not contain an emby database. Aborting."
-    fi
-  else
-    usage
-  fi
-}
-
-if [[ $1 == '--help' ]]; then
-  usage
-else
-  while getopts 'u:g:' opt; do
-    case $opt in
-      u)
-        USER=$OPTARG
-        ;;
-      g)
-        GROUP=$OPTARG
-        ;;
-      \?)
-        usage
-        ;;
-    esac
-  done
-  shift $((OPTIND-1))
-  migrate $@
-fi

Deleted: emby-server
===================================================================
--- emby-server	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-server	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-export LD_LIBRARY_PATH='/usr/lib/skia-sharp58'
-
-exec dotnet /usr/lib/emby-server/EmbyServer.dll \
-  -programdata $PROGRAM_DATA \
-  -ffmpeg $FFMPEG \
-  -ffprobe $FFPROBE \
-  -restartexitcode 3
-
-# vim: ts=2 sw=2 et:

Copied: emby-server/repos/community-any/emby-server (from rev 424590, emby-server/trunk/emby-server)
===================================================================
--- emby-server	                        (rev 0)
+++ emby-server	2019-01-19 12:35:07 UTC (rev 424591)
@@ -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:

Deleted: emby-server.conf
===================================================================
--- emby-server.conf	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-server.conf	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1,3 +0,0 @@
-FFMPEG=/usr/bin/ffmpeg
-FFPROBE=/usr/bin/ffprobe
-PROGRAM_DATA=/var/lib/emby

Copied: emby-server/repos/community-any/emby-server.conf (from rev 424590, emby-server/trunk/emby-server.conf)
===================================================================
--- emby-server.conf	                        (rev 0)
+++ emby-server.conf	2019-01-19 12:35:07 UTC (rev 424591)
@@ -0,0 +1,4 @@
+FFDETECT=/usr/bin/ffdetect-emby
+FFMPEG=/usr/bin/ffmpeg-emby
+FFPROBE=/usr/bin/ffprobe-emby
+PROGRAM_DATA=/var/lib/emby

Deleted: emby-server.install
===================================================================
--- emby-server.install	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-server.install	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1,14 +0,0 @@
-post_install() {
-cat <<EOF
-
-Emby is not compatible with the 10-bit versionof libx264. Please stick to the
-8-bit version if you plan on using emby's transcoding features.
-
-EOF
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Deleted: emby-server.service
===================================================================
--- emby-server.service	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-server.service	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1,16 +0,0 @@
-[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-any/emby-server.service (from rev 424590, emby-server/trunk/emby-server.service)
===================================================================
--- emby-server.service	                        (rev 0)
+++ emby-server.service	2019-01-19 12:35:07 UTC (rev 424591)
@@ -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

Deleted: emby-server.sysusers
===================================================================
--- emby-server.sysusers	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-server.sysusers	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1 +0,0 @@
-u emby - "Emby Media Server" /var/lib/emby

Copied: emby-server/repos/community-any/emby-server.sysusers (from rev 424590, emby-server/trunk/emby-server.sysusers)
===================================================================
--- emby-server.sysusers	                        (rev 0)
+++ emby-server.sysusers	2019-01-19 12:35:07 UTC (rev 424591)
@@ -0,0 +1 @@
+u emby - "Emby Media Server" /var/lib/emby

Deleted: emby-server.tmpfiles
===================================================================
--- emby-server.tmpfiles	2019-01-19 12:34:53 UTC (rev 424590)
+++ emby-server.tmpfiles	2019-01-19 12:35:07 UTC (rev 424591)
@@ -1 +0,0 @@
-d /var/lib/emby 0755 emby emby -

Copied: emby-server/repos/community-any/emby-server.tmpfiles (from rev 424590, emby-server/trunk/emby-server.tmpfiles)
===================================================================
--- emby-server.tmpfiles	                        (rev 0)
+++ emby-server.tmpfiles	2019-01-19 12:35:07 UTC (rev 424591)
@@ -0,0 +1 @@
+d /var/lib/emby 0755 emby emby -

Deleted: license.docx
===================================================================
(Binary files differ)

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


More information about the arch-commits mailing list