multimedia/plex-home-theater: Updated for version 1.3.6.441.

Signed-off-by: Marcel Saegebarth <marc@mos6581.de>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marcel Saegebarth 2015-02-10 11:53:33 +01:00 committed by Willy Sudiarto Raharjo
parent 7bc31da541
commit a1a26df030
3 changed files with 27 additions and 8 deletions

View file

@ -0,0 +1,15 @@
--- plex/Third-Party/aes/aesopt.h.org 2015-02-03 21:32:46.000000000 +0100
+++ plex/Third-Party/aes/aesopt.h 2015-02-09 11:00:02.966550150 +0100
@@ -163,11 +163,7 @@
/* 2. Intel AES AND VIA ACE SUPPORT */
-#if defined( __GNUC__ ) && defined( __i386__ ) \
- || defined(_WIN32) && defined(_M_IX86) \
- && !(defined(_WIN64) || defined(_WIN32_WCE) || defined(_MSC_VER) && (_MSC_VER <= 800))
-# define VIA_ACE_POSSIBLE
-#endif
+# undef VIA_ACE_POSSIBLE
/* Define this option if support for the Intel AESNI is required (not
currently available with GCC). If AESNI is known to be present, then

View file

@ -25,7 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=plex-home-theater
VERSION=${VERSION:-1.3.0}
VERSION=${VERSION:-1.3.6.441}
REV=${REV:-309e72d1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -61,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz || tar xvf $CWD/pht-v${VERSION}.tar.gz
cd $PRGNAM-$VERSION || cd $PRGNAM-public-pht-v${VERSION}
rm -rf $PRGNAM-public-$VERSION-$REV
tar xvf $CWD/$PRGNAM-public-$VERSION-$REV.tar.xz || tar xvf $CWD/v$VERSION-$REV.tar.gz
cd $PRGNAM-public-$VERSION-$REV
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -74,6 +75,9 @@ find -L . \
# remove AirTunes dependency (would require libshairport)
sed -i 's/ ShairPort//' plex/CMakeModules/PlatformConfigLINUX.cmake
# Disables AES for VIA CPU's due to segfaults. Thanks to Philip van der Hoeven.
patch -p0 < $CWD/disable_via_ace.patch
mkdir build
cd build

View file

@ -1,8 +1,8 @@
PRGNAM="plex-home-theater"
VERSION="1.3.0"
HOMEPAGE="https://github.com/plexinc/plex-home-theater-public"
DOWNLOAD="https://github.com/plexinc/plex-home-theater-public/archive/pht-v1.3.0.tar.gz"
MD5SUM="85f660ef8a95d43160a07d7c8fee5545"
VERSION="1.3.6.441"
HOMEPAGE="https://github.com/plexinc/plex-home-theater-public/"
DOWNLOAD="https://github.com/plexinc/plex-home-theater-public/archive/v1.3.6.441-309e72d1.tar.gz"
MD5SUM="370627c3d9e190e7af2cb8cf2a67f488"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl libmicrohttpd tinyxml avahi libmpeg2 libass rtmpdump libva libvdpau libmodplug lame openjdk"