Date: Monday, September 15, 2014 @ 18:00:01 Author: alucryd Revision: 119023
ihatesvn Added: 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 -------------------------------------+ community-i686/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++ community-i686/plexhometheater.sh | 5 ++ community-x86_64/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++ community-x86_64/plexhometheater.sh | 5 ++ 4 files changed, 138 insertions(+) Added: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-09-15 16:00:01 UTC (rev 119023) @@ -0,0 +1,64 @@ +# $Id: PKGBUILD 119021 2014-09-15 15:52:42Z alucryd $ +# Maintainer: Maxime Gauduin <[email protected]> +# Contributor: Daniel Wallace <[email protected]> + +pkgname=plex-home-theater +pkgver=1.2.2 +pkgrel=2 +pkgdesc='Plex Home Theater' +arch=('i686' 'x86_64') +url='http://www.plexapp.com/' +license=('GPL2') +depends=('boost-libs' 'curl' 'ffmpeg-compat' 'glew' 'libcdio' 'libmad' + 'libmicrohttpd' 'libmpeg2' 'libsamplerate' 'libssh' 'libusb-compat' + 'libvdpau' 'libxrandr' 'lzo' 'mesa' 'sdl_image' 'sdl_mixer' + 'smbclient' 'taglib' 'tinyxml' 'yajl') +makedepends=('boost' 'cmake' 'doxygen' '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" + 'plex-ffmpeg-compat.patch' + 'plexhometheater.sh') +sha256sums=('5df5b2bfb5d02566c151e93be6a7217ca72b9e7800e6216dabf1759d920f3d2f' + '5b370e4dec6998130df46ad6bd5ca6258e3a040dd6c6cc4085c335dc3d6050bd' + 'dc6bd394c07a2ececbb2f8c53cb54afd5d78f7c00a0b34acab3e71217da085fb') + +prepare() { + cd plex-home-theater-public-pht-v${pkgver} + + patch -Np1 -i ../plex-ffmpeg-compat.patch +} + +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='/usr' \ + -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='FALSE' \ + -DCREATE_BUNDLE='FALSE' + make +} + +package() { + cd plex-home-theater-public-pht-v${pkgver}/build + + make DESTDIR="${pkgdir}" install + install -dm 755 "${pkgdir}"/usr/{lib/plexhometheater,share/{applications,pixmaps}} + mv "${pkgdir}"/usr/bin/{system,xbmc-xrandr} "${pkgdir}"/usr/lib/plexhometheater/ + mv "${pkgdir}"/usr/share/XBMC "${pkgdir}"/usr/share/plexhometheater + 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/repos/community-i686/PKGBUILD ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: community-i686/plexhometheater.sh =================================================================== --- community-i686/plexhometheater.sh (rev 0) +++ community-i686/plexhometheater.sh 2014-09-15 16:00:01 UTC (rev 119023) @@ -0,0 +1,5 @@ +#!/bin/sh + +export XBMC_BIN_HOME='/usr/lib/plexhometheater' +export XBMC_HOME='/usr/share/plexhometheater' +exec plexhometheater Property changes on: plex-home-theater/repos/community-i686/plexhometheater.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-09-15 16:00:01 UTC (rev 119023) @@ -0,0 +1,64 @@ +# $Id: PKGBUILD 119021 2014-09-15 15:52:42Z alucryd $ +# Maintainer: Maxime Gauduin <[email protected]> +# Contributor: Daniel Wallace <[email protected]> + +pkgname=plex-home-theater +pkgver=1.2.2 +pkgrel=2 +pkgdesc='Plex Home Theater' +arch=('i686' 'x86_64') +url='http://www.plexapp.com/' +license=('GPL2') +depends=('boost-libs' 'curl' 'ffmpeg-compat' 'glew' 'libcdio' 'libmad' + 'libmicrohttpd' 'libmpeg2' 'libsamplerate' 'libssh' 'libusb-compat' + 'libvdpau' 'libxrandr' 'lzo' 'mesa' 'sdl_image' 'sdl_mixer' + 'smbclient' 'taglib' 'tinyxml' 'yajl') +makedepends=('boost' 'cmake' 'doxygen' '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" + 'plex-ffmpeg-compat.patch' + 'plexhometheater.sh') +sha256sums=('5df5b2bfb5d02566c151e93be6a7217ca72b9e7800e6216dabf1759d920f3d2f' + '5b370e4dec6998130df46ad6bd5ca6258e3a040dd6c6cc4085c335dc3d6050bd' + 'dc6bd394c07a2ececbb2f8c53cb54afd5d78f7c00a0b34acab3e71217da085fb') + +prepare() { + cd plex-home-theater-public-pht-v${pkgver} + + patch -Np1 -i ../plex-ffmpeg-compat.patch +} + +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='/usr' \ + -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='FALSE' \ + -DCREATE_BUNDLE='FALSE' + make +} + +package() { + cd plex-home-theater-public-pht-v${pkgver}/build + + make DESTDIR="${pkgdir}" install + install -dm 755 "${pkgdir}"/usr/{lib/plexhometheater,share/{applications,pixmaps}} + mv "${pkgdir}"/usr/bin/{system,xbmc-xrandr} "${pkgdir}"/usr/lib/plexhometheater/ + mv "${pkgdir}"/usr/share/XBMC "${pkgdir}"/usr/share/plexhometheater + 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/repos/community-x86_64/PKGBUILD ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: community-x86_64/plexhometheater.sh =================================================================== --- community-x86_64/plexhometheater.sh (rev 0) +++ community-x86_64/plexhometheater.sh 2014-09-15 16:00:01 UTC (rev 119023) @@ -0,0 +1,5 @@ +#!/bin/sh + +export XBMC_BIN_HOME='/usr/lib/plexhometheater' +export XBMC_HOME='/usr/share/plexhometheater' +exec plexhometheater Property changes on: plex-home-theater/repos/community-x86_64/plexhometheater.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
