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

Maxime Gauduin alucryd at archlinux.org
Sun Dec 17 20:37:45 UTC 2017


    Date: Sunday, December 17, 2017 @ 20:37:44
  Author: alucryd
Revision: 274687

archrelease: copy trunk to community-any

Added:
  emby-server/repos/community-any/PKGBUILD
    (from rev 274686, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-any/emby-migrate-database
    (from rev 274686, emby-server/trunk/emby-migrate-database)
  emby-server/repos/community-any/emby-server
    (from rev 274686, emby-server/trunk/emby-server)
  emby-server/repos/community-any/emby-server.conf
    (from rev 274686, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-any/emby-server.install
    (from rev 274686, emby-server/trunk/emby-server.install)
  emby-server/repos/community-any/emby-server.service
    (from rev 274686, emby-server/trunk/emby-server.service)
  emby-server/repos/community-any/emby-server.sysusers
    (from rev 274686, emby-server/trunk/emby-server.sysusers)
  emby-server/repos/community-any/emby-server.tmpfiles
    (from rev 274686, emby-server/trunk/emby-server.tmpfiles)
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

-----------------------+
 PKGBUILD              |   87 +++++++++++++++++++------------------
 emby-migrate-database |  112 ++++++++++++++++++++++++------------------------
 emby-server           |   16 +++---
 emby-server.conf      |    6 +-
 emby-server.install   |   32 ++++++-------
 emby-server.service   |   32 ++++++-------
 emby-server.sysusers  |    1 
 emby-server.tmpfiles  |    2 
 8 files changed, 145 insertions(+), 143 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-17 20:37:17 UTC (rev 274686)
+++ PKGBUILD	2017-12-17 20:37:44 UTC (rev 274687)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Seymour <dannyseeless at gmail.com>
-
-pkgname=emby-server
-pkgver=3.2.50.0
-pkgrel=1
-pkgdesc='Bring together your videos, music, photos, and live television'
-arch=('any')
-url='http://emby.media'
-license=('GPL2')
-depends=('dotnet-runtime' 'ffmpeg' 'skia-sharp58' 'sqlite')
-install='emby-server.install'
-source=("https://github.com/MediaBrowser/Emby/releases/download/${pkgver}/embyserver-netcore-${pkgver}.zip"
-        'emby-server'
-        'emby-migrate-database'
-        'emby-server.conf'
-        'emby-server.service')
-backup=('etc/conf.d/emby-server')
-sha256sums=('b9e0883aa7401af47f8c2eb72f48b7a4889ed46e11e74dec49502f1714703dc3'
-            'f0afca728cf695ae80fffe944ea2700e154293247b30ed592f632c2e58dd00f1'
-            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
-            '015869b52601a9cdbd303aed9dffe11ef19959da4a070c775ece8416e699979f'
-            '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70')
-
-prepare() {
-  rm -rf system/{electron,runtimes}
-}
-
-package() {
-  install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
-  cp -dr --no-preserve='ownership' system "${pkgdir}"/usr/lib/emby-server
-  install -m 755 emby-server "${pkgdir}"/usr/bin/
-  install -m 755 emby-migrate-database "${pkgdir}"/usr/bin/
-  install -m 644 emby-server.service "${pkgdir}"/usr/lib/systemd/system/
-  install -m 644 emby-server.conf "${pkgdir}"/etc/conf.d/emby-server
-
-  install -dm 755 "${pkgdir}"/var/lib/emby
-  chown 422:422 -R "${pkgdir}"/var/lib/emby
-}
-
-# vim: ts=2 sw=2 et:

Copied: emby-server/repos/community-any/PKGBUILD (from rev 274686, emby-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=3.2.50.0
+pkgrel=2
+pkgdesc='Bring together your videos, music, photos, and live television'
+arch=('any')
+url='http://emby.media'
+license=('GPL2')
+depends=('dotnet-runtime' 'ffmpeg' 'skia-sharp58' 'sqlite')
+install='emby-server.install'
+source=("https://github.com/MediaBrowser/Emby/releases/download/${pkgver}/embyserver-netcore-${pkgver}.zip"
+        'emby-server'
+        'emby-migrate-database'
+        'emby-server.conf'
+        'emby-server.service'
+        'emby-server.sysusers'
+        'emby-server.tmpfiles')
+backup=('etc/conf.d/emby-server')
+sha256sums=('b9e0883aa7401af47f8c2eb72f48b7a4889ed46e11e74dec49502f1714703dc3'
+            'f0afca728cf695ae80fffe944ea2700e154293247b30ed592f632c2e58dd00f1'
+            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
+            '015869b52601a9cdbd303aed9dffe11ef19959da4a070c775ece8416e699979f'
+            '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70'
+            'f7fa33949757ffc587ecf82496dc35ebc8c8e5c98b882b31dc40a24263d3921a'
+            'a3b0b558042b91e94030d5b5dbadb8fd0814e07a6fc371724589c9247f340465')
+
+prepare() {
+  rm -rf system/{electron,runtimes}
+}
+
+package() {
+  install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/{systemd/system,sysusers.d,tmpfiles.d}}}
+  cp -dr --no-preserve='ownership' system "${pkgdir}"/usr/lib/emby-server
+  install -m 755 emby-server "${pkgdir}"/usr/bin/
+  install -m 755 emby-migrate-database "${pkgdir}"/usr/bin/
+  install -m 644 emby-server.service "${pkgdir}"/usr/lib/systemd/system/
+  install -m 644 emby-server.sysusers "${pkgdir}"/usr/lib/sysusers.d/emby-server.conf
+  install -m 644 emby-server.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/emby-server.conf
+  install -m 644 emby-server.conf "${pkgdir}"/etc/conf.d/emby-server
+}
+
+# vim: ts=2 sw=2 et:

Deleted: emby-migrate-database
===================================================================
--- emby-migrate-database	2017-12-17 20:37:17 UTC (rev 274686)
+++ emby-migrate-database	2017-12-17 20:37:44 UTC (rev 274687)
@@ -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

Copied: emby-server/repos/community-any/emby-migrate-database (from rev 274686, emby-server/trunk/emby-migrate-database)
===================================================================
--- emby-migrate-database	                        (rev 0)
+++ emby-migrate-database	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1,56 @@
+#!/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	2017-12-17 20:37:17 UTC (rev 274686)
+++ emby-server	2017-12-17 20:37:44 UTC (rev 274687)
@@ -1,8 +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

Copied: emby-server/repos/community-any/emby-server (from rev 274686, emby-server/trunk/emby-server)
===================================================================
--- emby-server	                        (rev 0)
+++ emby-server	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1,8 @@
+#!/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

Deleted: emby-server.conf
===================================================================
--- emby-server.conf	2017-12-17 20:37:17 UTC (rev 274686)
+++ emby-server.conf	2017-12-17 20:37:44 UTC (rev 274687)
@@ -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 274686, emby-server/trunk/emby-server.conf)
===================================================================
--- emby-server.conf	                        (rev 0)
+++ emby-server.conf	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1,3 @@
+FFMPEG=/usr/bin/ffmpeg
+FFPROBE=/usr/bin/ffprobe
+PROGRAM_DATA=/var/lib/emby

Deleted: emby-server.install
===================================================================
--- emby-server.install	2017-12-17 20:37:17 UTC (rev 274686)
+++ emby-server.install	2017-12-17 20:37:44 UTC (rev 274687)
@@ -1,18 +0,0 @@
-post_install() {
-  getent group emby > /dev/null 2>&1 || groupadd -g 422 emby
-  getent passwd emby > /dev/null 2>&1 || useradd -c 'Emby Media Server' -u 422 -g emby -d /var/lib/emby -s /usr/bin/nologin emby
-  passwd -l emby > /dev/null
-
-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:

Copied: emby-server/repos/community-any/emby-server.install (from rev 274686, emby-server/trunk/emby-server.install)
===================================================================
--- emby-server.install	                        (rev 0)
+++ emby-server.install	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1,14 @@
+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	2017-12-17 20:37:17 UTC (rev 274686)
+++ emby-server.service	2017-12-17 20:37:44 UTC (rev 274687)
@@ -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
-User=emby
-Group=emby
-Restart=always
-
-[Unit]
-After=network.target
-
-[Install]
-WantedBy=multi-user.target

Copied: emby-server/repos/community-any/emby-server.service (from rev 274686, emby-server/trunk/emby-server.service)
===================================================================
--- emby-server.service	                        (rev 0)
+++ emby-server.service	2017-12-17 20:37:44 UTC (rev 274687)
@@ -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
+User=emby
+Group=emby
+Restart=always
+
+[Unit]
+After=network.target
+
+[Install]
+WantedBy=multi-user.target

Copied: emby-server/repos/community-any/emby-server.sysusers (from rev 274686, emby-server/trunk/emby-server.sysusers)
===================================================================
--- emby-server.sysusers	                        (rev 0)
+++ emby-server.sysusers	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1 @@
+u emby - "Emby Media Server" /var/lib/emby

Copied: emby-server/repos/community-any/emby-server.tmpfiles (from rev 274686, emby-server/trunk/emby-server.tmpfiles)
===================================================================
--- emby-server.tmpfiles	                        (rev 0)
+++ emby-server.tmpfiles	2017-12-17 20:37:44 UTC (rev 274687)
@@ -0,0 +1,2 @@
+d /var/lib/emby 0755 emby emby
+x /var/lib/emby



More information about the arch-commits mailing list