[arch-commits] Commit in plex-home-theater/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun May 31 19:21:25 UTC 2015
Date: Sunday, May 31, 2015 @ 21:21:25
Author: alucryd
Revision: 134421
upgpkg: plex-home-theater 1.4.1.469-1
Modified:
plex-home-theater/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-31 15:16:44 UTC (rev 134420)
+++ PKGBUILD 2015-05-31 19:21:25 UTC (rev 134421)
@@ -3,8 +3,8 @@
# Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
pkgname=plex-home-theater
-_pkgver=1.4.0.459-b41b1814
-pkgver=${_pkgver%-*}
+pkgver=1.4.1.469
+_pkgsum=47a90f01
pkgrel=1
pkgdesc='Plex Home Theater'
arch=('i686' 'x86_64')
@@ -20,17 +20,17 @@
'libshairport: AirPlay support'
'libcec: Pulse-Eight USB-CEC adapter support'
'pulseaudio: PulseAudio support')
-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}-${_pkgsum}.tar.gz"
'plex-ffmpeg-compat.patch'
'plex-libcec-2.2.0.patch'
'plexhometheater.sh')
-sha256sums=('cc6485100afa0f7a4d483e05eeafba72764f55749bb3f3ee0a529646e076bbe4'
+sha256sums=('82a0b3314de18e0f1bdb123c6fe4d411e147b052a09219a9d2057459dc0f36b3'
'5b370e4dec6998130df46ad6bd5ca6258e3a040dd6c6cc4085c335dc3d6050bd'
'13032e8da35b0abdd22109f9ee34c63e43e0f9863fe81d4fa503c05ede23a212'
'dc6bd394c07a2ececbb2f8c53cb54afd5d78f7c00a0b34acab3e71217da085fb')
prepare() {
- cd plex-home-theater-public-${_pkgver}
+ cd plex-home-theater-public-${pkgver}-${_pkgsum}
patch -Np1 -i ../plex-libcec-2.2.0.patch
patch -Np1 -i ../plex-ffmpeg-compat.patch
@@ -37,7 +37,7 @@
}
build() {
- cd plex-home-theater-public-${_pkgver}
+ cd plex-home-theater-public-${pkgver}-${_pkgsum}
if [[ -d build ]]; then
rm -rf build
@@ -44,20 +44,21 @@
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" \
- -DCREATE_BUNDLE='FALSE' \
- -DDUMP_SYMBOLS='FALSE' \
- -DENABLE_AUTOUPDATE='FALSE' \
- -DENABLE_PYTHON='TRUE' \
- -DPYTHON_EXEC='/usr/bin/python2' \
- -DUSE_INTERNAL_FFMPEG='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}-${_pkgsum}/build
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/{lib/plexhometheater,share/{applications,pixmaps}}
More information about the arch-commits
mailing list