summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2016-12-15 06:56:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-15 22:32:03 +0700
commit3443d34e15f4c5c011197f56b012f44e475911dc (patch)
treeb0c7c3ba93b173dae6564309ea5e60ebc4a781e8
parent013f9fdb2851c25f369dc1bebc12b05e6ded8185 (diff)
downloadslackbuilds-3443d34e15f4c5c011197f56b012f44e475911dc.tar.gz
multimedia/OpenPHT: Updated for version 1.7.1.137.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/OpenPHT/OpenPHT2
-rw-r--r--multimedia/OpenPHT/OpenPHT.SlackBuild7
-rw-r--r--multimedia/OpenPHT/OpenPHT.info6
-rw-r--r--multimedia/OpenPHT/fix32bit.patch39
4 files changed, 6 insertions, 48 deletions
diff --git a/multimedia/OpenPHT/OpenPHT b/multimedia/OpenPHT/OpenPHT
index 6c4d5b4453..78c8190d1d 100644
--- a/multimedia/OpenPHT/OpenPHT
+++ b/multimedia/OpenPHT/OpenPHT
@@ -4,4 +4,4 @@
export AE_ENGINE=Soft
export XBMC_HOME=/opt/OpenPHT/share/XBMC
-exec /opt/OpenPHT/bin/plexhometheater
+exec /opt/OpenPHT/bin/openpht
diff --git a/multimedia/OpenPHT/OpenPHT.SlackBuild b/multimedia/OpenPHT/OpenPHT.SlackBuild
index db10fb31c4..5d74a1a065 100644
--- a/multimedia/OpenPHT/OpenPHT.SlackBuild
+++ b/multimedia/OpenPHT/OpenPHT.SlackBuild
@@ -26,8 +26,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=OpenPHT
-VERSION=${VERSION:-1.6.2.123}
-REV=${REV:-e23a7eef}
+VERSION=${VERSION:-1.7.1.137}
+REV=${REV:-b604995c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,9 +73,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix 32bit build
-# patch -p1 < $CWD/fix32bit.patch
-
# Find fribidi-0.19.7
# https://raw.githubusercontent.com/foux/fouxlay/master/media-tv/plex-home-theater/files/fribidi.patch
patch -p1 < $CWD/fribidi.patch
diff --git a/multimedia/OpenPHT/OpenPHT.info b/multimedia/OpenPHT/OpenPHT.info
index 52bdc4e363..f13bac54e0 100644
--- a/multimedia/OpenPHT/OpenPHT.info
+++ b/multimedia/OpenPHT/OpenPHT.info
@@ -1,8 +1,8 @@
PRGNAM="OpenPHT"
-VERSION="1.6.2.123"
+VERSION="1.7.1.137"
HOMEPAGE="https://github.com/RasPlex/OpenPHT"
-DOWNLOAD="https://github.com/RasPlex/OpenPHT/archive/v1.6.2.123-e23a7eef.tar.gz"
-MD5SUM="075d697793b32d34c9ac57b94ae14821"
+DOWNLOAD="https://github.com/RasPlex/OpenPHT/archive/v1.7.1.137-b604995c.tar.gz"
+MD5SUM="9a7a2205a30f1002b2600cf8e240fb98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl libmicrohttpd tinyxml avahi libmpeg2 libass rtmpdump libmodplug lame openjdk libcec"
diff --git a/multimedia/OpenPHT/fix32bit.patch b/multimedia/OpenPHT/fix32bit.patch
deleted file mode 100644
index 4b5bc5fcc9..0000000000
--- a/multimedia/OpenPHT/fix32bit.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 0b36ed455bbffc19404095b568572e924d428316 Mon Sep 17 00:00:00 2001
-From: Jonas Karlman <jonas@kwiboo.se>
-Date: Sat, 2 Jul 2016 19:25:52 +0200
-Subject: [PATCH] Fix build on 32-bit linux
-
----
- lib/ffmpeg/CMakeLists.txt | 2 +-
- plex/CMakeModules/PlatformConfigLINUX.cmake | 5 +++++
- 2 files changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/lib/ffmpeg/CMakeLists.txt b/lib/ffmpeg/CMakeLists.txt
-index 3ea8fbc..ed3e745 100644
---- a/lib/ffmpeg/CMakeLists.txt
-+++ b/lib/ffmpeg/CMakeLists.txt
-@@ -13,7 +13,7 @@ if(TARGET_FREEBSD)
- set(CONFIG_FLAGS --target-os=${OS} --cc=${CMAKE_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER} --extra-cflags=-I${CMAKE_PREFIX_PATH}/include --extra-ldflags=-L${CMAKE_PREFIX_PATH}/lib --disable-altivec --disable-amd3dnow --disable-avisynth --disable-crystalhd --disable-debug --disable-decoder=mpeg_xvmc --disable-devices --disable-doc --disable-dxva2 --disable-encoders --disable-extra-warnings --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-frei0r --disable-gray --disable-hardcoded-tables --disable-indevs --disable-iwmmxt --disable-libdc1394 --disable-libdirac --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvo-aacenc --disable-libvo-amrwbenc --disable-libvorbis --disable-libvpx --disable-libx264 --disable-libxavs --disable-libxvid --disable-memalign-hack --disable-mlib --disable-mmi --disable-muxers --disable-nonfree --disable-outdevs --disable-small --disable-sram --disable-static --disable-symver --disable-vda --disable-version3 --disable-vis --disable-w32threads --disable-x11grab --enable-aandct --enable-asm --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-bsfs --enable-bzlib --enable-dct --enable-demuxers --enable-fastdiv --enable-fft --enable-filters --enable-golomb --enable-gpl --enable-huffman --enable-hwaccels --enable-libvorbis --enable-logging --enable-lpc --enable-mdct --enable-muxer=adts --enable-muxer=ogg --enable-muxer=spdif --enable-network --enable-optimizations --enable-parsers --enable-pic --enable-postproc --enable-protocol=http --enable-pthreads --enable-rdft --enable-runtime-cpudetect --enable-shared --enable-stripping --enable-swscale --enable-swscale-alpha --enable-vaapi --enable-vdpau --enable-yasm --enable-zlib --host-libs=-lm)
- elseif(NOT TARGET_RPI)
- # TODO: --enable-libdcadec
-- set(CONFIG_FLAGS --target-os=${OS} --cc=${CMAKE_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER} --sysinclude="${CMAKE_PREFIX_PATH}/usr/include" --arch=${ARCH} --enable-pic --enable-shared --disable-static --disable-debug --disable-muxers --disable-encoders --disable-devices --disable-doc --disable-ffplay --disable-ffmpeg --disable-sdl --disable-ffprobe --disable-ffserver --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-pthreads --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-encoder=ac3 --enable-encoder=aac --enable-protocol=http --enable-protocol=https --enable-gnutls --enable-vdpau --enable-vaapi --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis)
-+ set(CONFIG_FLAGS --target-os=${OS} --cc=${CMAKE_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER} --sysinclude="${CMAKE_PREFIX_PATH}/usr/include" --cpu=${CMAKE_SYSTEM_PROCESSOR} --enable-pic --enable-shared --disable-static --disable-debug --disable-muxers --disable-encoders --disable-devices --disable-doc --disable-ffplay --disable-ffmpeg --disable-sdl --disable-ffprobe --disable-ffserver --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-pthreads --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-encoder=ac3 --enable-encoder=aac --enable-protocol=http --enable-protocol=https --enable-gnutls --enable-vdpau --enable-vaapi --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis)
- else()
- set(CONFIG_FLAGS --target-os=${OS} --disable-muxers --disable-encoders --disable-devices --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-vda --disable-crystalhd --disable-decoder=mpeg_xvmc --disable-debug --disable-amd3dnow --disable-libvorbis --enable-gpl --enable-postproc --enable-shared --disable-static --enable-pthreads --enable-muxer=spdif --enable-muxer=adts --enable-encoder=ac3 --enable-encoder=aac --enable-protocol=http --enable-runtime-cpudetect)
-
-diff --git a/plex/CMakeModules/PlatformConfigLINUX.cmake b/plex/CMakeModules/PlatformConfigLINUX.cmake
-index 0ba1a81..994ad2c 100644
---- a/plex/CMakeModules/PlatformConfigLINUX.cmake
-+++ b/plex/CMakeModules/PlatformConfigLINUX.cmake
-@@ -169,6 +169,11 @@ if(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64")
- set(ARCH "x86_64-linux")
- else()
- set(ARCH "i486-linux")
-+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-+ if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8)
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse")
-+ endif()
-+ endif()
- endif()
-
- ## remove annying useless warnings