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

Maxime Gauduin alucryd at archlinux.org
Sat Sep 2 19:37:06 UTC 2017


    Date: Saturday, September 2, 2017 @ 19:37:05
  Author: alucryd
Revision: 255574

archrelease: copy trunk to community-i686, community-x86_64

Added:
  emby-server/repos/community-i686/PKGBUILD
    (from rev 255573, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-i686/emby-migrate-database
    (from rev 255573, emby-server/trunk/emby-migrate-database)
  emby-server/repos/community-i686/emby-server
    (from rev 255573, emby-server/trunk/emby-server)
  emby-server/repos/community-i686/emby-server.conf
    (from rev 255573, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-i686/emby-server.install
    (from rev 255573, emby-server/trunk/emby-server.install)
  emby-server/repos/community-i686/emby-server.service
    (from rev 255573, emby-server/trunk/emby-server.service)
  emby-server/repos/community-x86_64/PKGBUILD
    (from rev 255573, emby-server/trunk/PKGBUILD)
  emby-server/repos/community-x86_64/emby-migrate-database
    (from rev 255573, emby-server/trunk/emby-migrate-database)
  emby-server/repos/community-x86_64/emby-server
    (from rev 255573, emby-server/trunk/emby-server)
  emby-server/repos/community-x86_64/emby-server.conf
    (from rev 255573, emby-server/trunk/emby-server.conf)
  emby-server/repos/community-x86_64/emby-server.install
    (from rev 255573, emby-server/trunk/emby-server.install)
  emby-server/repos/community-x86_64/emby-server.service
    (from rev 255573, emby-server/trunk/emby-server.service)
Deleted:
  emby-server/repos/community-i686/PKGBUILD
  emby-server/repos/community-i686/emby-migrate-database
  emby-server/repos/community-i686/emby-server
  emby-server/repos/community-i686/emby-server.conf
  emby-server/repos/community-i686/emby-server.install
  emby-server/repos/community-i686/emby-server.service
  emby-server/repos/community-x86_64/PKGBUILD
  emby-server/repos/community-x86_64/emby-migrate-database
  emby-server/repos/community-x86_64/emby-server
  emby-server/repos/community-x86_64/emby-server.conf
  emby-server/repos/community-x86_64/emby-server.install
  emby-server/repos/community-x86_64/emby-server.service

----------------------------------------+
 /PKGBUILD                              |  112 +++++++++++++++++++++++++++++++
 /emby-migrate-database                 |  112 +++++++++++++++++++++++++++++++
 /emby-server                           |    6 +
 /emby-server.conf                      |    8 ++
 /emby-server.install                   |   36 +++++++++
 /emby-server.service                   |   32 ++++++++
 community-i686/PKGBUILD                |   56 ---------------
 community-i686/emby-migrate-database   |   56 ---------------
 community-i686/emby-server             |    3 
 community-i686/emby-server.conf        |    4 -
 community-i686/emby-server.install     |   18 ----
 community-i686/emby-server.service     |   16 ----
 community-x86_64/PKGBUILD              |   56 ---------------
 community-x86_64/emby-migrate-database |   56 ---------------
 community-x86_64/emby-server           |    3 
 community-x86_64/emby-server.conf      |    4 -
 community-x86_64/emby-server.install   |   18 ----
 community-x86_64/emby-server.service   |   16 ----
 18 files changed, 306 insertions(+), 306 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-i686/PKGBUILD	2017-09-02 19:37:05 UTC (rev 255574)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Seymour <dannyseeless at gmail.com>
-
-pkgname=emby-server
-pkgver=3.2.28.0
-pkgrel=1
-pkgdesc='Bring together your videos, music, photos, and live television'
-arch=('i686' 'x86_64')
-url='http://emby.media'
-license=('GPL2')
-depends=('ffmpeg' 'imagemagick' 'mono' 'referenceassemblies-pcl' 'sqlite')
-install='emby-server.install'
-source=("emby-server-${pkgver}.tar.gz::https://github.com/MediaBrowser/Emby/archive/${pkgver}.tar.gz"
-        'emby-server'
-        'emby-migrate-database'
-        'emby-server.conf'
-        'emby-server.service')
-backup=('etc/conf.d/emby-server')
-sha256sums=('34e335973d0a9a00232f3e4ed0a6518e6005d253ad8f2b691fb56ff0fd240684'
-            '7b1974f7bba8ac4b76e51ef7fe1257d165c7c4abbd0915e192391336048a3d74'
-            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
-            'c9ad78f3e2f0ffcb4ee66bb3e99249fcd283dc9fee17895b9265dc733288b953'
-            '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70')
-
-prepare() {
-  cd Emby-${pkgver}
-
-  sed 's/libMagickWand-6.Q8.so/libMagickWand-6.Q16HDRI.so/' -i MediaBrowser.Server.Mono/ImageMagickSharp.dll.config
-}
-
-build() {
-  cd Emby-${pkgver}
-
-  xbuild \
-    /p:Configuration='Release Mono' \
-    /p:Platform='Any CPU' \
-    /p:OutputPath="${srcdir}/build" \
-    /t:build MediaBrowser.sln
-  mono --aot='full' -O='all' ../build/MediaBrowser.Server.Mono.exe
-}
-
-package() {
-  install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
-  cp -dr --no-preserve='ownership' build "${pkgdir}"/usr/lib/emby-server
-  find "${pkgdir}" -type f -name *.dylib -delete
-  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-i686/PKGBUILD (from rev 255573, emby-server/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=3.2.30.0
+pkgrel=1
+pkgdesc='Bring together your videos, music, photos, and live television'
+arch=('i686' 'x86_64')
+url='http://emby.media'
+license=('GPL2')
+depends=('ffmpeg' 'imagemagick' 'mono' 'referenceassemblies-pcl' 'sqlite')
+install='emby-server.install'
+source=("emby-server-${pkgver}.tar.gz::https://github.com/MediaBrowser/Emby/archive/${pkgver}.tar.gz"
+        'emby-server'
+        'emby-migrate-database'
+        'emby-server.conf'
+        'emby-server.service')
+backup=('etc/conf.d/emby-server')
+sha256sums=('10e74af636027ead90626568e8f80d29b831969073e59fcd5e18582e6af1100e'
+            '7b1974f7bba8ac4b76e51ef7fe1257d165c7c4abbd0915e192391336048a3d74'
+            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
+            'c9ad78f3e2f0ffcb4ee66bb3e99249fcd283dc9fee17895b9265dc733288b953'
+            '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70')
+
+prepare() {
+  cd Emby-${pkgver}
+
+  sed 's/libMagickWand-6.Q8.so/libMagickWand-6.Q16HDRI.so/' -i MediaBrowser.Server.Mono/ImageMagickSharp.dll.config
+}
+
+build() {
+  cd Emby-${pkgver}
+
+  xbuild \
+    /p:Configuration='Release Mono' \
+    /p:Platform='Any CPU' \
+    /p:OutputPath="${srcdir}/build" \
+    /t:build MediaBrowser.sln
+  mono --aot='full' -O='all' ../build/MediaBrowser.Server.Mono.exe
+}
+
+package() {
+  install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
+  cp -dr --no-preserve='ownership' build "${pkgdir}"/usr/lib/emby-server
+  find "${pkgdir}" -type f -name *.dylib -delete
+  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:

Deleted: community-i686/emby-migrate-database
===================================================================
--- community-i686/emby-migrate-database	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-i686/emby-migrate-database	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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-i686/emby-migrate-database (from rev 255573, emby-server/trunk/emby-migrate-database)
===================================================================
--- community-i686/emby-migrate-database	                        (rev 0)
+++ community-i686/emby-migrate-database	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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: community-i686/emby-server
===================================================================
--- community-i686/emby-server	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-i686/emby-server	2017-09-02 19:37:05 UTC (rev 255574)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec $MONO /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata $PROGRAM_DATA -ffmpeg $FFMPEG -ffprobe $FFPROBE

Copied: emby-server/repos/community-i686/emby-server (from rev 255573, emby-server/trunk/emby-server)
===================================================================
--- community-i686/emby-server	                        (rev 0)
+++ community-i686/emby-server	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec $MONO /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata $PROGRAM_DATA -ffmpeg $FFMPEG -ffprobe $FFPROBE

Deleted: community-i686/emby-server.conf
===================================================================
--- community-i686/emby-server.conf	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-i686/emby-server.conf	2017-09-02 19:37:05 UTC (rev 255574)
@@ -1,4 +0,0 @@
-MONO=/usr/bin/mono
-FFMPEG=/usr/bin/ffmpeg
-FFPROBE=/usr/bin/ffprobe
-PROGRAM_DATA=/var/lib/emby

Copied: emby-server/repos/community-i686/emby-server.conf (from rev 255573, emby-server/trunk/emby-server.conf)
===================================================================
--- community-i686/emby-server.conf	                        (rev 0)
+++ community-i686/emby-server.conf	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,4 @@
+MONO=/usr/bin/mono
+FFMPEG=/usr/bin/ffmpeg
+FFPROBE=/usr/bin/ffprobe
+PROGRAM_DATA=/var/lib/emby

Deleted: community-i686/emby-server.install
===================================================================
--- community-i686/emby-server.install	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-i686/emby-server.install	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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-i686/emby-server.install (from rev 255573, emby-server/trunk/emby-server.install)
===================================================================
--- community-i686/emby-server.install	                        (rev 0)
+++ community-i686/emby-server.install	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,18 @@
+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:

Deleted: community-i686/emby-server.service
===================================================================
--- community-i686/emby-server.service	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-i686/emby-server.service	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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-i686/emby-server.service (from rev 255573, emby-server/trunk/emby-server.service)
===================================================================
--- community-i686/emby-server.service	                        (rev 0)
+++ community-i686/emby-server.service	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-x86_64/PKGBUILD	2017-09-02 19:37:05 UTC (rev 255574)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Seymour <dannyseeless at gmail.com>
-
-pkgname=emby-server
-pkgver=3.2.28.0
-pkgrel=1
-pkgdesc='Bring together your videos, music, photos, and live television'
-arch=('i686' 'x86_64')
-url='http://emby.media'
-license=('GPL2')
-depends=('ffmpeg' 'imagemagick' 'mono' 'referenceassemblies-pcl' 'sqlite')
-install='emby-server.install'
-source=("emby-server-${pkgver}.tar.gz::https://github.com/MediaBrowser/Emby/archive/${pkgver}.tar.gz"
-        'emby-server'
-        'emby-migrate-database'
-        'emby-server.conf'
-        'emby-server.service')
-backup=('etc/conf.d/emby-server')
-sha256sums=('34e335973d0a9a00232f3e4ed0a6518e6005d253ad8f2b691fb56ff0fd240684'
-            '7b1974f7bba8ac4b76e51ef7fe1257d165c7c4abbd0915e192391336048a3d74'
-            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
-            'c9ad78f3e2f0ffcb4ee66bb3e99249fcd283dc9fee17895b9265dc733288b953'
-            '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70')
-
-prepare() {
-  cd Emby-${pkgver}
-
-  sed 's/libMagickWand-6.Q8.so/libMagickWand-6.Q16HDRI.so/' -i MediaBrowser.Server.Mono/ImageMagickSharp.dll.config
-}
-
-build() {
-  cd Emby-${pkgver}
-
-  xbuild \
-    /p:Configuration='Release Mono' \
-    /p:Platform='Any CPU' \
-    /p:OutputPath="${srcdir}/build" \
-    /t:build MediaBrowser.sln
-  mono --aot='full' -O='all' ../build/MediaBrowser.Server.Mono.exe
-}
-
-package() {
-  install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
-  cp -dr --no-preserve='ownership' build "${pkgdir}"/usr/lib/emby-server
-  find "${pkgdir}" -type f -name *.dylib -delete
-  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-x86_64/PKGBUILD (from rev 255573, emby-server/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=3.2.30.0
+pkgrel=1
+pkgdesc='Bring together your videos, music, photos, and live television'
+arch=('i686' 'x86_64')
+url='http://emby.media'
+license=('GPL2')
+depends=('ffmpeg' 'imagemagick' 'mono' 'referenceassemblies-pcl' 'sqlite')
+install='emby-server.install'
+source=("emby-server-${pkgver}.tar.gz::https://github.com/MediaBrowser/Emby/archive/${pkgver}.tar.gz"
+        'emby-server'
+        'emby-migrate-database'
+        'emby-server.conf'
+        'emby-server.service')
+backup=('etc/conf.d/emby-server')
+sha256sums=('10e74af636027ead90626568e8f80d29b831969073e59fcd5e18582e6af1100e'
+            '7b1974f7bba8ac4b76e51ef7fe1257d165c7c4abbd0915e192391336048a3d74'
+            'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
+            'c9ad78f3e2f0ffcb4ee66bb3e99249fcd283dc9fee17895b9265dc733288b953'
+            '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70')
+
+prepare() {
+  cd Emby-${pkgver}
+
+  sed 's/libMagickWand-6.Q8.so/libMagickWand-6.Q16HDRI.so/' -i MediaBrowser.Server.Mono/ImageMagickSharp.dll.config
+}
+
+build() {
+  cd Emby-${pkgver}
+
+  xbuild \
+    /p:Configuration='Release Mono' \
+    /p:Platform='Any CPU' \
+    /p:OutputPath="${srcdir}/build" \
+    /t:build MediaBrowser.sln
+  mono --aot='full' -O='all' ../build/MediaBrowser.Server.Mono.exe
+}
+
+package() {
+  install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
+  cp -dr --no-preserve='ownership' build "${pkgdir}"/usr/lib/emby-server
+  find "${pkgdir}" -type f -name *.dylib -delete
+  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:

Deleted: community-x86_64/emby-migrate-database
===================================================================
--- community-x86_64/emby-migrate-database	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-x86_64/emby-migrate-database	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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-x86_64/emby-migrate-database (from rev 255573, emby-server/trunk/emby-migrate-database)
===================================================================
--- community-x86_64/emby-migrate-database	                        (rev 0)
+++ community-x86_64/emby-migrate-database	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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: community-x86_64/emby-server
===================================================================
--- community-x86_64/emby-server	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-x86_64/emby-server	2017-09-02 19:37:05 UTC (rev 255574)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec $MONO /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata $PROGRAM_DATA -ffmpeg $FFMPEG -ffprobe $FFPROBE

Copied: emby-server/repos/community-x86_64/emby-server (from rev 255573, emby-server/trunk/emby-server)
===================================================================
--- community-x86_64/emby-server	                        (rev 0)
+++ community-x86_64/emby-server	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec $MONO /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata $PROGRAM_DATA -ffmpeg $FFMPEG -ffprobe $FFPROBE

Deleted: community-x86_64/emby-server.conf
===================================================================
--- community-x86_64/emby-server.conf	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-x86_64/emby-server.conf	2017-09-02 19:37:05 UTC (rev 255574)
@@ -1,4 +0,0 @@
-MONO=/usr/bin/mono
-FFMPEG=/usr/bin/ffmpeg
-FFPROBE=/usr/bin/ffprobe
-PROGRAM_DATA=/var/lib/emby

Copied: emby-server/repos/community-x86_64/emby-server.conf (from rev 255573, emby-server/trunk/emby-server.conf)
===================================================================
--- community-x86_64/emby-server.conf	                        (rev 0)
+++ community-x86_64/emby-server.conf	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,4 @@
+MONO=/usr/bin/mono
+FFMPEG=/usr/bin/ffmpeg
+FFPROBE=/usr/bin/ffprobe
+PROGRAM_DATA=/var/lib/emby

Deleted: community-x86_64/emby-server.install
===================================================================
--- community-x86_64/emby-server.install	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-x86_64/emby-server.install	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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-x86_64/emby-server.install (from rev 255573, emby-server/trunk/emby-server.install)
===================================================================
--- community-x86_64/emby-server.install	                        (rev 0)
+++ community-x86_64/emby-server.install	2017-09-02 19:37:05 UTC (rev 255574)
@@ -0,0 +1,18 @@
+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:

Deleted: community-x86_64/emby-server.service
===================================================================
--- community-x86_64/emby-server.service	2017-09-02 19:36:42 UTC (rev 255573)
+++ community-x86_64/emby-server.service	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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-x86_64/emby-server.service (from rev 255573, emby-server/trunk/emby-server.service)
===================================================================
--- community-x86_64/emby-server.service	                        (rev 0)
+++ community-x86_64/emby-server.service	2017-09-02 19:37:05 UTC (rev 255574)
@@ -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



More information about the arch-commits mailing list