[arch-commits] Commit in (5 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Sat Mar 22 16:58:06 UTC 2014


    Date: Saturday, March 22, 2014 @ 17:58:06
  Author: alucryd
Revision: 108095

Add plex-home-theater

Added:
  plex-home-theater/
  plex-home-theater/repos/
  plex-home-theater/trunk/
  plex-home-theater/trunk/PKGBUILD
  plex-home-theater/trunk/plexhometheater.sh

--------------------+
 PKGBUILD           |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 plexhometheater.sh |    4 ++++
 2 files changed, 50 insertions(+)

Added: plex-home-theater/trunk/PKGBUILD
===================================================================
--- plex-home-theater/trunk/PKGBUILD	                        (rev 0)
+++ plex-home-theater/trunk/PKGBUILD	2014-03-22 16:58:06 UTC (rev 108095)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
+
+pkgname=plex-home-theater
+pkgver=1.0.12
+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=('408edd875fd8b4d2e5fc9c97719e8c2399c6a84e4c1c10222d32f46f46ef82bd'
+            '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:


Property changes on: plex-home-theater/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: plex-home-theater/trunk/plexhometheater.sh
===================================================================
--- plex-home-theater/trunk/plexhometheater.sh	                        (rev 0)
+++ plex-home-theater/trunk/plexhometheater.sh	2014-03-22 16:58:06 UTC (rev 108095)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export XBMC_HOME=/opt/plexhometheater/share/XBMC
+exec /opt/plexhometheater/bin/plexhometheater


Property changes on: plex-home-theater/trunk/plexhometheater.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list