[arch-commits] Commit in emby-server (13 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Sep 15 08:24:58 UTC 2015
Date: Tuesday, September 15, 2015 @ 10:24:58
Author: alucryd
Revision: 140310
archrelease: copy trunk to community-i686, community-x86_64
Added:
emby-server/repos/
emby-server/repos/community-i686/
emby-server/repos/community-i686/PKGBUILD
(from rev 140309, emby-server/trunk/PKGBUILD)
emby-server/repos/community-i686/emby-server
(from rev 140309, emby-server/trunk/emby-server)
emby-server/repos/community-i686/emby-server.conf
(from rev 140309, emby-server/trunk/emby-server.conf)
emby-server/repos/community-i686/emby-server.install
(from rev 140309, emby-server/trunk/emby-server.install)
emby-server/repos/community-i686/emby-server.service
(from rev 140309, emby-server/trunk/emby-server.service)
emby-server/repos/community-x86_64/
emby-server/repos/community-x86_64/PKGBUILD
(from rev 140309, emby-server/trunk/PKGBUILD)
emby-server/repos/community-x86_64/emby-server
(from rev 140309, emby-server/trunk/emby-server)
emby-server/repos/community-x86_64/emby-server.conf
(from rev 140309, emby-server/trunk/emby-server.conf)
emby-server/repos/community-x86_64/emby-server.install
(from rev 140309, emby-server/trunk/emby-server.install)
emby-server/repos/community-x86_64/emby-server.service
(from rev 140309, emby-server/trunk/emby-server.service)
--------------------------------------+
community-i686/PKGBUILD | 51 +++++++++++++++++++++++++++++++++
community-i686/emby-server | 3 +
community-i686/emby-server.conf | 1
community-i686/emby-server.install | 11 +++++++
community-i686/emby-server.service | 16 ++++++++++
community-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++++++++++
community-x86_64/emby-server | 3 +
community-x86_64/emby-server.conf | 1
community-x86_64/emby-server.install | 11 +++++++
community-x86_64/emby-server.service | 16 ++++++++++
10 files changed, 164 insertions(+)
Copied: emby-server/repos/community-i686/PKGBUILD (from rev 140309, emby-server/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=3.0.5724.4
+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' 'libmediainfo' 'mono' 'sqlite')
+install='emby-server.install'
+source=("emby-server-${pkgver}.tar.gz::https://github.com/MediaBrowser/MediaBrowser/archive/${pkgver}.tar.gz"
+ 'emby-server'
+ 'emby-server.conf'
+ 'emby-server.service')
+backup=('etc/conf.d/emby-server')
+sha256sums=('79d0b17ca5022ad3283c1034f5a8c3bd68dedc97f2cb9507d553f5e91b1cc53e'
+ '1515d8d61ba903ed8ca73c1930fb9f14e2acaa9c2b456d85fd82c2254558eb85'
+ '064a82fb13816af5eb2a90bc8320d062ead0bf700715ee65df6afb347f890907'
+ '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.Mono.sln
+}
+
+package() {
+ install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
+ cp -dr --no-preserve='ownership' build "${pkgdir}"/usr/lib/emby-server
+ install -m 755 emby-server "${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/emby-server (from rev 140309, emby-server/trunk/emby-server)
===================================================================
--- repos/community-i686/emby-server (rev 0)
+++ repos/community-i686/emby-server 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+exec mono /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata $EMBY_HOME -ffmpeg ffmpeg -ffprobe ffprobe
Copied: emby-server/repos/community-i686/emby-server.conf (from rev 140309, emby-server/trunk/emby-server.conf)
===================================================================
--- repos/community-i686/emby-server.conf (rev 0)
+++ repos/community-i686/emby-server.conf 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1 @@
+EMBY_HOME='/var/lib/emby'
Copied: emby-server/repos/community-i686/emby-server.install (from rev 140309, emby-server/trunk/emby-server.install)
===================================================================
--- repos/community-i686/emby-server.install (rev 0)
+++ repos/community-i686/emby-server.install 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1,11 @@
+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
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Copied: emby-server/repos/community-i686/emby-server.service (from rev 140309, emby-server/trunk/emby-server.service)
===================================================================
--- repos/community-i686/emby-server.service (rev 0)
+++ repos/community-i686/emby-server.service 2015-09-15 08:24:58 UTC (rev 140310)
@@ -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-x86_64/PKGBUILD (from rev 140309, emby-server/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Seymour <dannyseeless at gmail.com>
+
+pkgname=emby-server
+pkgver=3.0.5724.4
+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' 'libmediainfo' 'mono' 'sqlite')
+install='emby-server.install'
+source=("emby-server-${pkgver}.tar.gz::https://github.com/MediaBrowser/MediaBrowser/archive/${pkgver}.tar.gz"
+ 'emby-server'
+ 'emby-server.conf'
+ 'emby-server.service')
+backup=('etc/conf.d/emby-server')
+sha256sums=('79d0b17ca5022ad3283c1034f5a8c3bd68dedc97f2cb9507d553f5e91b1cc53e'
+ '1515d8d61ba903ed8ca73c1930fb9f14e2acaa9c2b456d85fd82c2254558eb85'
+ '064a82fb13816af5eb2a90bc8320d062ead0bf700715ee65df6afb347f890907'
+ '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.Mono.sln
+}
+
+package() {
+ install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
+ cp -dr --no-preserve='ownership' build "${pkgdir}"/usr/lib/emby-server
+ install -m 755 emby-server "${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/emby-server (from rev 140309, emby-server/trunk/emby-server)
===================================================================
--- repos/community-x86_64/emby-server (rev 0)
+++ repos/community-x86_64/emby-server 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+exec mono /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata $EMBY_HOME -ffmpeg ffmpeg -ffprobe ffprobe
Copied: emby-server/repos/community-x86_64/emby-server.conf (from rev 140309, emby-server/trunk/emby-server.conf)
===================================================================
--- repos/community-x86_64/emby-server.conf (rev 0)
+++ repos/community-x86_64/emby-server.conf 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1 @@
+EMBY_HOME='/var/lib/emby'
Copied: emby-server/repos/community-x86_64/emby-server.install (from rev 140309, emby-server/trunk/emby-server.install)
===================================================================
--- repos/community-x86_64/emby-server.install (rev 0)
+++ repos/community-x86_64/emby-server.install 2015-09-15 08:24:58 UTC (rev 140310)
@@ -0,0 +1,11 @@
+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
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Copied: emby-server/repos/community-x86_64/emby-server.service (from rev 140309, emby-server/trunk/emby-server.service)
===================================================================
--- repos/community-x86_64/emby-server.service (rev 0)
+++ repos/community-x86_64/emby-server.service 2015-09-15 08:24:58 UTC (rev 140310)
@@ -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