diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-08-08 03:17:38 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-08-08 03:17:38 (GMT) |
commit | 08f42061af64774c92b82b10b237fc5a8fc3a487 (patch) | |
tree | 76866b24162b27d975d3e54adb10f77165f89c4b /abs/extra/plex-home-theater/PKGBUILD | |
parent | f7441834812bc08f6ff2acc3877880e110467a01 (diff) | |
download | linhes_pkgbuild-08f42061af64774c92b82b10b237fc5a8fc3a487.zip linhes_pkgbuild-08f42061af64774c92b82b10b237fc5a8fc3a487.tar.gz linhes_pkgbuild-08f42061af64774c92b82b10b237fc5a8fc3a487.tar.bz2 |
plex-home-theater: rebuild for x264
Diffstat (limited to 'abs/extra/plex-home-theater/PKGBUILD')
-rwxr-xr-x | abs/extra/plex-home-theater/PKGBUILD | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/abs/extra/plex-home-theater/PKGBUILD b/abs/extra/plex-home-theater/PKGBUILD index 906e49d..6de7cb1 100755 --- a/abs/extra/plex-home-theater/PKGBUILD +++ b/abs/extra/plex-home-theater/PKGBUILD @@ -3,57 +3,59 @@ # Contributor: Daniel Wallace <daniel.wallace@gatech.edu> pkgname=plex-home-theater -_pkgver=1.4.1.469-47a90f01 -pkgver=${_pkgver%-*} -pkgrel=1 +pkgver=1.4.1.469 +_pkghash=47a90f01 +pkgrel=2 pkgdesc='Plex Home Theater' arch=('i686' 'x86_64') url='http://www.plexapp.com/' license=('GPL2') +install="${pkgname}.install" depends=('boost-libs' 'curl' 'ffmpeg-compat' 'glew' 'libcdio' 'libmad' 'libmicrohttpd' 'libmpeg2' 'libsamplerate' 'libssh' 'libusb-compat' 'libvdpau' 'libxrandr' 'lzo' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib' 'tinyxml' 'yajl') -makedepends=('boost' 'cmake' 'doxygen' 'java-environment' 'libcec' +makedepends=('boost' 'cmake' 'doxygen' 'git' 'java-environment' 'libcec' 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip') optdepends=('libplist: AirPlay support' 'libshairport: AirPlay support' 'libcec: Pulse-Eight USB-CEC adapter support') -install="${pkgname}.install" -source=("https://github.com/plexinc/plex-home-theater-public/archive/v${_pkgver}.tar.gz" +source=("https://github.com/plexinc/plex-home-theater-public/archive/v${pkgver}-${_pkghash}.tar.gz" 'plex-ffmpeg-compat.patch' - 'plex-libcec-2.2.0.patch' - 'plex-lirc-socket.patch' + 'plex-libcec.patch' 'plex_lib.conf' 'plexhometheater.sh') prepare() { - cd plex-home-theater-public-${_pkgver} + cd plex-home-theater-public-${pkgver}-${_pkghash} - patch -Np1 -i ../plex-libcec-2.2.0.patch - patch -Np1 -i ../plex-lirc-socket.patch + patch -Np1 -i ../plex-libcec.patch patch -Np1 -i ../plex-ffmpeg-compat.patch } build() { - cd plex-home-theater-public-${_pkgver} + cd plex-home-theater-public-${pkgver}-${_pkghash} 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' + 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" \ + -DCREATE_BUNDLE='FALSE' \ + -DDUMP_SYMBOLS='FALSE' \ + -DENABLE_AUTOUPDATE='FALSE' \ + -DENABLE_PYTHON='TRUE' \ + -DPYTHON_EXEC='/usr/bin/python2' \ + -DUSE_INTERNAL_FFMPEG='FALSE' make } package() { - cd plex-home-theater-public-${_pkgver}/build + cd plex-home-theater-public-${pkgver}-${_pkghash}/build make DESTDIR="${pkgdir}" install install -dm 755 "${pkgdir}"/usr/{lib/plexhometheater,share/{applications,pixmaps}} @@ -69,9 +71,9 @@ package() { install -D -m0744 ${srcdir}/plex_lib.conf ${pkgdir}/etc/gen_lib_xml.d/plex_lib.conf } +# vim: ts=2 sw=2 et: md5sums=('62456ec6266f769f2c873ed7132b26d3' '6704244166497db7fa6b3ddd43a0e53b' - '066484ad4949f96ddddaa8b1d4d709e1' - '09e67d694093eb6bd243fb9a4ddf5d70' + '0f753e1ebea13e5a2029a59b9db79877' 'c1eedd9f89ee727230833db9ef1e5d29' '4ceae60ed2f9e4304eda4f80d407e799') |