aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plex-home-theater
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-02-10 11:53:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-14 15:56:27 +0700
commita1a26df030b169fcfb0869327e6436ce655657ef (patch)
tree6653a02dcc966e216d35f646f0a6e63caf9565e4 /multimedia/plex-home-theater
parent7bc31da541337996824d765e3747ee18fe9cb937 (diff)
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>
Diffstat (limited to 'multimedia/plex-home-theater')
-rw-r--r--multimedia/plex-home-theater/disable_via_ace.patch15
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.SlackBuild12
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.info8
3 files changed, 27 insertions, 8 deletions
diff --git a/multimedia/plex-home-theater/disable_via_ace.patch b/multimedia/plex-home-theater/disable_via_ace.patch
new file mode 100644
index 0000000000000..73b3eb4413211
--- /dev/null
+++ b/multimedia/plex-home-theater/disable_via_ace.patch
@@ -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
diff --git a/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
index 61313c5e73331..6ec3687fb8c94 100644
--- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild
+++ b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
@@ -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
diff --git a/multimedia/plex-home-theater/plex-home-theater.info b/multimedia/plex-home-theater/plex-home-theater.info
index 82d85f881a6e0..e79a3ba32759a 100644
--- a/multimedia/plex-home-theater/plex-home-theater.info
+++ b/multimedia/plex-home-theater/plex-home-theater.info
@@ -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"