[arch-commits] Commit in plex-home-theater/repos (12 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Sat Jun 21 10:43:05 UTC 2014
Date: Saturday, June 21, 2014 @ 12:43:05
Author: alucryd
Revision: 113395
archrelease: copy trunk to community-i686, community-x86_64
Added:
plex-home-theater/repos/community-i686/PKGBUILD
(from rev 113394, plex-home-theater/trunk/PKGBUILD)
plex-home-theater/repos/community-i686/plex-home-theater.install
(from rev 113394, plex-home-theater/trunk/plex-home-theater.install)
plex-home-theater/repos/community-i686/plexhometheater.service
(from rev 113394, plex-home-theater/trunk/plexhometheater.service)
plex-home-theater/repos/community-i686/plexhometheater.sh
(from rev 113394, plex-home-theater/trunk/plexhometheater.sh)
plex-home-theater/repos/community-x86_64/PKGBUILD
(from rev 113394, plex-home-theater/trunk/PKGBUILD)
plex-home-theater/repos/community-x86_64/plex-home-theater.install
(from rev 113394, plex-home-theater/trunk/plex-home-theater.install)
plex-home-theater/repos/community-x86_64/plexhometheater.service
(from rev 113394, plex-home-theater/trunk/plexhometheater.service)
plex-home-theater/repos/community-x86_64/plexhometheater.sh
(from rev 113394, plex-home-theater/trunk/plexhometheater.sh)
Deleted:
plex-home-theater/repos/community-i686/PKGBUILD
plex-home-theater/repos/community-i686/plexhometheater.sh
plex-home-theater/repos/community-x86_64/PKGBUILD
plex-home-theater/repos/community-x86_64/plexhometheater.sh
--------------------------------------------+
/PKGBUILD | 134 +++++++++++++++++++++++++++
/plexhometheater.sh | 8 +
community-i686/PKGBUILD | 46 ---------
community-i686/plex-home-theater.install | 16 +++
community-i686/plexhometheater.service | 17 +++
community-i686/plexhometheater.sh | 4
community-x86_64/PKGBUILD | 46 ---------
community-x86_64/plex-home-theater.install | 16 +++
community-x86_64/plexhometheater.service | 17 +++
community-x86_64/plexhometheater.sh | 4
10 files changed, 208 insertions(+), 100 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-06-21 10:42:35 UTC (rev 113394)
+++ community-i686/PKGBUILD 2014-06-21 10:43:05 UTC (rev 113395)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
-
-pkgname=plex-home-theater
-pkgver=1.0.13
-pkgrel=1
-pkgdesc='Plex Home Theater'
-arch=('i686' 'x86_64')
-url='http://www.plexapp.com/'
-license=('GPL2')
-depends=('boost-libs' 'curl' 'fontconfig' 'glew' 'java-runtime' 'lame' 'libass' 'libcdio' 'libjpeg-turbo' 'libmad' 'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libsamplerate' 'libssh' 'libusb-compat' 'libva' 'libxrandr' 'lzo2' 'mesa' 'rtmpdump' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib' 'tinyxml' 'yajl')
-makedepends=('boost' 'cmake' 'doxygen' 'ftgl' 'java-environment' 'libcec' 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip')
-optdepends=('libplist: AirPlay support'
- 'libshairport: AirPlay support'
- 'libcec: Pulse-Eight USB-CEC adapter support'
- 'pulseaudio: PulseAudio support')
-source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz"
- 'plexhometheater.sh')
-sha256sums=('6a50fe804cfa194a8b694a5c5a8a462610db582fc4528d6a7db597477a72a6fa'
- 'c551d8f50342dcfede5a11e1bae2c18b25d44b89a5a29863e5809d45ef365702')
-
-build() {
- cd plex-home-theater-public-pht-v${pkgver}
-
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build && cd build
-
- cmake .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/opt/plexhometheater' -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" -DENABLE_{AUTOUPDATE,DUMP_SYMBOLS}='FALSE' -DENABLE_PYTHON='TRUE' -DPYTHON_EXEC='/usr/bin/python2' -DUSE_INTERNAL_FFMPEG='TRUE' -DCREATE_BUNDLE='FALSE'
- make
-}
-
-package() {
- cd plex-home-theater-public-pht-v${pkgver}/build
-
- make DESTDIR="${pkgdir}" install
-
- install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}}
- install -m 755 "${srcdir}"/plexhometheater.sh "${pkgdir}"/usr/bin/
- install -m 644 ../plex/Resources/plexhometheater.desktop "${pkgdir}"/usr/share/applications/
- install -m 644 ../plex/Resources/plex-icon-256.png "${pkgdir}"/usr/share/pixmaps/plexhometheater.png
-}
-
-# vim: ts=2 sw=2 et:
Copied: plex-home-theater/repos/community-i686/PKGBUILD (from rev 113394, plex-home-theater/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
+
+pkgname=plex-home-theater
+pkgver=1.1.4
+pkgrel=1
+pkgdesc='Plex Home Theater'
+arch=('i686' 'x86_64')
+url='http://www.plexapp.com/'
+license=('GPL2')
+depends=('boost-libs' 'curl' 'fontconfig' 'glew' 'lame' 'libass' 'libcdio'
+ 'libjpeg-turbo' 'libmad' 'libmicrohttpd' 'libmodplug' 'libmpeg2'
+ 'libsamplerate' 'libssh' 'libusb-compat' 'libva' 'libxrandr' 'lzo2'
+ 'mesa' 'rtmpdump' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib'
+ 'tinyxml' 'yajl')
+makedepends=('boost' 'cmake' 'doxygen' 'ftgl' 'java-runtime' 'libcec'
+ 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip')
+optdepends=('libplist: AirPlay support'
+ 'libshairport: AirPlay support'
+ 'libcec: Pulse-Eight USB-CEC adapter support'
+ 'pulseaudio: PulseAudio support')
+install="${pkgname}.install"
+source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz"
+ 'plexhometheater.service'
+ 'plexhometheater.sh')
+sha256sums=('1f3be5bb9a09b05e624a0ca010c673436b2f1cdcf8dff7c94a030235af340fbb'
+ 'bca8cd5aa13f469f93dd4e9868c0b5050395ca32f28b19852e5830441b67e1be'
+ 'c551d8f50342dcfede5a11e1bae2c18b25d44b89a5a29863e5809d45ef365702')
+
+build() {
+ cd plex-home-theater-public-pht-v${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. -DCMAKE_INSTALL_PREFIX='/opt/plexhometheater' \
+ -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
+ -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
+ -DENABLE_{AUTOUPDATE,DUMP_SYMBOLS}='FALSE' -DENABLE_PYTHON='TRUE' \
+ -DPYTHON_EXEC='/usr/bin/python2' -DUSE_INTERNAL_FFMPEG='TRUE' \
+ -DCREATE_BUNDLE='FALSE'
+ make
+}
+
+package() {
+ cd plex-home-theater-public-pht-v${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}}
+ install -m 755 "${srcdir}"/plexhometheater.sh "${pkgdir}"/usr/bin/
+ install -m 644 ../plex/Resources/plexhometheater.desktop "${pkgdir}"/usr/share/applications/
+ install -m 644 ../plex/Resources/plex-icon-256.png "${pkgdir}"/usr/share/pixmaps/plexhometheater.png
+
+ # Systemd
+ install -dm 755 "${pkgdir}"/usr/lib/systemd/system
+ install -m 644 ../../plexhometheater.service "${pkgdir}"/usr/lib/systemd/system/
+
+ # Plex user home
+ install -dm 700 "${pkgdir}"/var/lib/plex
+ chown 421:421 "${pkgdir}"/var/lib/plex
+}
+
+# vim: ts=2 sw=2 et:
Copied: plex-home-theater/repos/community-i686/plex-home-theater.install (from rev 113394, plex-home-theater/trunk/plex-home-theater.install)
===================================================================
--- community-i686/plex-home-theater.install (rev 0)
+++ community-i686/plex-home-theater.install 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,16 @@
+post_install() {
+ getent group plex > /dev/null 2>&1 || groupadd -g 421 plex
+ getent passwd plex > /dev/null 2>&1 || useradd -c 'Plex user' -u 421 -g plex -G audio,video,network,optical -d /var/lib/plex -s /sbin/nologin plex
+ passwd -l plex > /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd plex > /dev/null 2>&1 && userdel plex
+ getent group plex > /dev/null 2>&1 && groupdel plex
+}
+
+# vim: ts=2 sw=2 et:
Copied: plex-home-theater/repos/community-i686/plexhometheater.service (from rev 113394, plex-home-theater/trunk/plexhometheater.service)
===================================================================
--- community-i686/plexhometheater.service (rev 0)
+++ community-i686/plexhometheater.service 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,17 @@
+[Unit]
+Description = Starts an instance of Plex Home Theater using xinit
+After = systemd-user-sessions.service
+Conflicts = getty at tty7.service
+
+[Service]
+User = plex
+Group = plex
+PAMName = login
+Type = simple
+TTYPath = /dev/tty7
+Environment = XBMC_HOME=/opt/plexhometheater/share/XBMC
+ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /opt/plexhometheater/bin/plexhometheater --standalone -l /run/lirc/lircd -- :0 -nolisten tcp vt7
+Restart = on-abort
+
+[Install]
+WantedBy = multi-user.target
Deleted: community-i686/plexhometheater.sh
===================================================================
--- community-i686/plexhometheater.sh 2014-06-21 10:42:35 UTC (rev 113394)
+++ community-i686/plexhometheater.sh 2014-06-21 10:43:05 UTC (rev 113395)
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-export XBMC_HOME=/opt/plexhometheater/share/XBMC
-exec /opt/plexhometheater/bin/plexhometheater
Copied: plex-home-theater/repos/community-i686/plexhometheater.sh (from rev 113394, plex-home-theater/trunk/plexhometheater.sh)
===================================================================
--- community-i686/plexhometheater.sh (rev 0)
+++ community-i686/plexhometheater.sh 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export XBMC_HOME=/opt/plexhometheater/share/XBMC
+exec /opt/plexhometheater/bin/plexhometheater
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-06-21 10:42:35 UTC (rev 113394)
+++ community-x86_64/PKGBUILD 2014-06-21 10:43:05 UTC (rev 113395)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
-
-pkgname=plex-home-theater
-pkgver=1.0.13
-pkgrel=1
-pkgdesc='Plex Home Theater'
-arch=('i686' 'x86_64')
-url='http://www.plexapp.com/'
-license=('GPL2')
-depends=('boost-libs' 'curl' 'fontconfig' 'glew' 'java-runtime' 'lame' 'libass' 'libcdio' 'libjpeg-turbo' 'libmad' 'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libsamplerate' 'libssh' 'libusb-compat' 'libva' 'libxrandr' 'lzo2' 'mesa' 'rtmpdump' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib' 'tinyxml' 'yajl')
-makedepends=('boost' 'cmake' 'doxygen' 'ftgl' 'java-environment' 'libcec' 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip')
-optdepends=('libplist: AirPlay support'
- 'libshairport: AirPlay support'
- 'libcec: Pulse-Eight USB-CEC adapter support'
- 'pulseaudio: PulseAudio support')
-source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz"
- 'plexhometheater.sh')
-sha256sums=('6a50fe804cfa194a8b694a5c5a8a462610db582fc4528d6a7db597477a72a6fa'
- 'c551d8f50342dcfede5a11e1bae2c18b25d44b89a5a29863e5809d45ef365702')
-
-build() {
- cd plex-home-theater-public-pht-v${pkgver}
-
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build && cd build
-
- cmake .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/opt/plexhometheater' -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" -DENABLE_{AUTOUPDATE,DUMP_SYMBOLS}='FALSE' -DENABLE_PYTHON='TRUE' -DPYTHON_EXEC='/usr/bin/python2' -DUSE_INTERNAL_FFMPEG='TRUE' -DCREATE_BUNDLE='FALSE'
- make
-}
-
-package() {
- cd plex-home-theater-public-pht-v${pkgver}/build
-
- make DESTDIR="${pkgdir}" install
-
- install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}}
- install -m 755 "${srcdir}"/plexhometheater.sh "${pkgdir}"/usr/bin/
- install -m 644 ../plex/Resources/plexhometheater.desktop "${pkgdir}"/usr/share/applications/
- install -m 644 ../plex/Resources/plex-icon-256.png "${pkgdir}"/usr/share/pixmaps/plexhometheater.png
-}
-
-# vim: ts=2 sw=2 et:
Copied: plex-home-theater/repos/community-x86_64/PKGBUILD (from rev 113394, plex-home-theater/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
+
+pkgname=plex-home-theater
+pkgver=1.1.4
+pkgrel=1
+pkgdesc='Plex Home Theater'
+arch=('i686' 'x86_64')
+url='http://www.plexapp.com/'
+license=('GPL2')
+depends=('boost-libs' 'curl' 'fontconfig' 'glew' 'lame' 'libass' 'libcdio'
+ 'libjpeg-turbo' 'libmad' 'libmicrohttpd' 'libmodplug' 'libmpeg2'
+ 'libsamplerate' 'libssh' 'libusb-compat' 'libva' 'libxrandr' 'lzo2'
+ 'mesa' 'rtmpdump' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib'
+ 'tinyxml' 'yajl')
+makedepends=('boost' 'cmake' 'doxygen' 'ftgl' 'java-runtime' 'libcec'
+ 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip')
+optdepends=('libplist: AirPlay support'
+ 'libshairport: AirPlay support'
+ 'libcec: Pulse-Eight USB-CEC adapter support'
+ 'pulseaudio: PulseAudio support')
+install="${pkgname}.install"
+source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz"
+ 'plexhometheater.service'
+ 'plexhometheater.sh')
+sha256sums=('1f3be5bb9a09b05e624a0ca010c673436b2f1cdcf8dff7c94a030235af340fbb'
+ 'bca8cd5aa13f469f93dd4e9868c0b5050395ca32f28b19852e5830441b67e1be'
+ 'c551d8f50342dcfede5a11e1bae2c18b25d44b89a5a29863e5809d45ef365702')
+
+build() {
+ cd plex-home-theater-public-pht-v${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. -DCMAKE_INSTALL_PREFIX='/opt/plexhometheater' \
+ -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
+ -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
+ -DENABLE_{AUTOUPDATE,DUMP_SYMBOLS}='FALSE' -DENABLE_PYTHON='TRUE' \
+ -DPYTHON_EXEC='/usr/bin/python2' -DUSE_INTERNAL_FFMPEG='TRUE' \
+ -DCREATE_BUNDLE='FALSE'
+ make
+}
+
+package() {
+ cd plex-home-theater-public-pht-v${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}}
+ install -m 755 "${srcdir}"/plexhometheater.sh "${pkgdir}"/usr/bin/
+ install -m 644 ../plex/Resources/plexhometheater.desktop "${pkgdir}"/usr/share/applications/
+ install -m 644 ../plex/Resources/plex-icon-256.png "${pkgdir}"/usr/share/pixmaps/plexhometheater.png
+
+ # Systemd
+ install -dm 755 "${pkgdir}"/usr/lib/systemd/system
+ install -m 644 ../../plexhometheater.service "${pkgdir}"/usr/lib/systemd/system/
+
+ # Plex user home
+ install -dm 700 "${pkgdir}"/var/lib/plex
+ chown 421:421 "${pkgdir}"/var/lib/plex
+}
+
+# vim: ts=2 sw=2 et:
Copied: plex-home-theater/repos/community-x86_64/plex-home-theater.install (from rev 113394, plex-home-theater/trunk/plex-home-theater.install)
===================================================================
--- community-x86_64/plex-home-theater.install (rev 0)
+++ community-x86_64/plex-home-theater.install 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,16 @@
+post_install() {
+ getent group plex > /dev/null 2>&1 || groupadd -g 421 plex
+ getent passwd plex > /dev/null 2>&1 || useradd -c 'Plex user' -u 421 -g plex -G audio,video,network,optical -d /var/lib/plex -s /sbin/nologin plex
+ passwd -l plex > /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd plex > /dev/null 2>&1 && userdel plex
+ getent group plex > /dev/null 2>&1 && groupdel plex
+}
+
+# vim: ts=2 sw=2 et:
Copied: plex-home-theater/repos/community-x86_64/plexhometheater.service (from rev 113394, plex-home-theater/trunk/plexhometheater.service)
===================================================================
--- community-x86_64/plexhometheater.service (rev 0)
+++ community-x86_64/plexhometheater.service 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,17 @@
+[Unit]
+Description = Starts an instance of Plex Home Theater using xinit
+After = systemd-user-sessions.service
+Conflicts = getty at tty7.service
+
+[Service]
+User = plex
+Group = plex
+PAMName = login
+Type = simple
+TTYPath = /dev/tty7
+Environment = XBMC_HOME=/opt/plexhometheater/share/XBMC
+ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /opt/plexhometheater/bin/plexhometheater --standalone -l /run/lirc/lircd -- :0 -nolisten tcp vt7
+Restart = on-abort
+
+[Install]
+WantedBy = multi-user.target
Deleted: community-x86_64/plexhometheater.sh
===================================================================
--- community-x86_64/plexhometheater.sh 2014-06-21 10:42:35 UTC (rev 113394)
+++ community-x86_64/plexhometheater.sh 2014-06-21 10:43:05 UTC (rev 113395)
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-export XBMC_HOME=/opt/plexhometheater/share/XBMC
-exec /opt/plexhometheater/bin/plexhometheater
Copied: plex-home-theater/repos/community-x86_64/plexhometheater.sh (from rev 113394, plex-home-theater/trunk/plexhometheater.sh)
===================================================================
--- community-x86_64/plexhometheater.sh (rev 0)
+++ community-x86_64/plexhometheater.sh 2014-06-21 10:43:05 UTC (rev 113395)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export XBMC_HOME=/opt/plexhometheater/share/XBMC
+exec /opt/plexhometheater/bin/plexhometheater
More information about the arch-commits
mailing list