aboutsummaryrefslogtreecommitdiff
path: root/multimedia/OpenPHT
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/OpenPHT')
-rw-r--r--multimedia/OpenPHT/OpenPHT7
-rw-r--r--multimedia/OpenPHT/OpenPHT.SlackBuild135
-rw-r--r--multimedia/OpenPHT/OpenPHT.desktop9
-rw-r--r--multimedia/OpenPHT/OpenPHT.info10
-rw-r--r--multimedia/OpenPHT/OpenPHT_512x512.pngbin330319 -> 0 bytes
-rw-r--r--multimedia/OpenPHT/README6
-rw-r--r--multimedia/OpenPHT/doinst.sh9
-rw-r--r--multimedia/OpenPHT/fribidi.patch47
-rw-r--r--multimedia/OpenPHT/slack-desc19
9 files changed, 0 insertions, 242 deletions
diff --git a/multimedia/OpenPHT/OpenPHT b/multimedia/OpenPHT/OpenPHT
deleted file mode 100644
index 78c8190d1d4b..000000000000
--- a/multimedia/OpenPHT/OpenPHT
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-# disable PulseAudio
-export AE_ENGINE=Soft
-
-export XBMC_HOME=/opt/OpenPHT/share/XBMC
-exec /opt/OpenPHT/bin/openpht
diff --git a/multimedia/OpenPHT/OpenPHT.SlackBuild b/multimedia/OpenPHT/OpenPHT.SlackBuild
deleted file mode 100644
index 767fbb53841a..000000000000
--- a/multimedia/OpenPHT/OpenPHT.SlackBuild
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for "OpenPHT"
-
-# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
-# Copyright 2016 Philip van der Hoeven, Almere, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=OpenPHT
-VERSION=${VERSION:-1.8.0.148}
-REV=${REV:-573b6d73}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION-$REV
-tar xvf $CWD/$PRGNAM-$VERSION-$REV.tar.gz || tar xvf $CWD/v$VERSION-$REV.tar.gz
-cd $PRGNAM-$VERSION-$REV
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# 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
-
-mkdir build
-cd build
-
-cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
- -DCMAKE_BUILD_TYPE=Release \
- -DENABLE_AUTOUPDATE='FALSE' \
- -DENABLE_DUMP_SYMBOLS='FALSE' \
- -DENABLE_PYTHON='TRUE' \
- -DUSE_INTERNAL_FFMPEG='TRUE' \
- -DCREATE_BUNDLE='FALSE' \
- -DENABLE_SHAIRPLAY=off \
- -DENABLE_CEC=off \
- ..
-
-# internal ffmpeg version doesn't build with multiple jobs
-make -j1
-make install DESTDIR=$PKG
-
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/bin
-install -D -m 0755 $CWD/OpenPHT $PKG/usr/bin
-
-mkdir -p $PKG/usr/share/applications
-install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-
-mkdir -p $PKG/usr/share/pixmaps
-install -D -m 0644 $CWD/${PRGNAM}_512x512.png $PKG/usr/share/pixmaps
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CONTRIBUTORS LICENSE.GPL README README-BUILD-PLEX.md docs/README.* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/multimedia/OpenPHT/OpenPHT.desktop b/multimedia/OpenPHT/OpenPHT.desktop
deleted file mode 100644
index 1a0bcb7a17f9..000000000000
--- a/multimedia/OpenPHT/OpenPHT.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=OpenPHT - Plex Home Theater
-GenericName=Media Center
-Exec=OpenPHT
-StartupNotify=true
-Terminal=false
-Type=Application
-Icon=/usr/share/pixmaps/OpenPHT_512x512.png
-Categories=Audio;Music;Video;Player;AudioVideo;
diff --git a/multimedia/OpenPHT/OpenPHT.info b/multimedia/OpenPHT/OpenPHT.info
deleted file mode 100644
index 5e4e3c833180..000000000000
--- a/multimedia/OpenPHT/OpenPHT.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="OpenPHT"
-VERSION="1.8.0.148"
-HOMEPAGE="https://github.com/RasPlex/OpenPHT"
-DOWNLOAD="https://github.com/RasPlex/OpenPHT/archive/v1.8.0.148-573b6d73/OpenPHT-1.8.0.148-573b6d73.tar.gz"
-MD5SUM="7eddac9c7638d70c2a25d04cc451ddcc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="yajl libmicrohttpd tinyxml avahi libmpeg2 libass rtmpdump libmodplug openjdk7 libcec"
-MAINTAINER="Philip van der Hoeven"
-EMAIL="philip@vd-hoeven.nl"
diff --git a/multimedia/OpenPHT/OpenPHT_512x512.png b/multimedia/OpenPHT/OpenPHT_512x512.png
deleted file mode 100644
index 89f68bb64838..000000000000
--- a/multimedia/OpenPHT/OpenPHT_512x512.png
+++ /dev/null
Binary files differ
diff --git a/multimedia/OpenPHT/README b/multimedia/OpenPHT/README
deleted file mode 100644
index 7477cbfcc395..000000000000
--- a/multimedia/OpenPHT/README
+++ /dev/null
@@ -1,6 +0,0 @@
-
-Plex Home Theater is optimized for the big screen and supports
-a wide variety of formats with high-definition audio, native
-framerates, and more.
-
-Optional dependencies: libcec libnfs
diff --git a/multimedia/OpenPHT/doinst.sh b/multimedia/OpenPHT/doinst.sh
deleted file mode 100644
index 65c7e2eeb9aa..000000000000
--- a/multimedia/OpenPHT/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/multimedia/OpenPHT/fribidi.patch b/multimedia/OpenPHT/fribidi.patch
deleted file mode 100644
index 3b135bdfc3ca..000000000000
--- a/multimedia/OpenPHT/fribidi.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/plex/CMakeModules/FindFriBiDi.cmake
-+++ b/plex/CMakeModules/FindFriBiDi.cmake
-@@ -10,43 +10,9 @@
- # FRIBIDI_LIBRARY, where to find the FriBiDi library.
-
- include(CheckSymbolExists)
-+include(FindPkgConfig)
-+pkg_check_modules(FRIBIDI fribidi)
-
--SET(FRIBIDI_FOUND "NO")
--
--# Set variable in temp var, otherwise FIND_PATH might fail
--# unset isn't present in the required version of cmake.
--FIND_PATH(xFRIBIDI_INCLUDE_DIR fribidi.h
-- PATHS /usr/local/include
-- /usr/include
-- PATH_SUFFIXES fribidi
-- )
--set(FRIBIDI_INCLUDE_DIR ${xFRIBIDI_INCLUDE_DIR})
--
--SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi)
--FIND_LIBRARY(FRIBIDI_LIBRARY
-- NAMES ${FRIBIDI_NAMES}
-- PATHS /usr/lib /usr/local/lib
-- )
--
--IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR)
-- SET(CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIR})
-- SET(CMAKE_REQUIRED_LIBRARIES ${FRIBIDI_LIBRARY})
-- CHECK_SYMBOL_EXISTS(fribidi_utf8_to_unicode fribidi.h FOUND_fribidi_utf8_to_unicode)
-- CHECK_SYMBOL_EXISTS(fribidi_charset_to_unicode fribidi.h FOUND_fribidi_charset_to_unicode)
-- if(FOUND_fribidi_charset_to_unicode)
-- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
-- SET(FRIBIDI_FOUND "YES")
-- elseif(FOUND_fribidi_utf8_to_unicode)
-- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
-- SET(FRIBIDI_FOUND "YES")
-- add_definitions(-DOLD_FRIBIDI)
-- MESSAGE(STATUS "Legacy FriBiDi: ${FRIBIDI_LIBRARY}")
-- else()
-- SET(FRIBIDI_LIBRARIES "NOTFOUND")
-- SET(FRIBIDI_INCLUDE_DIR "NOTFOUND")
-- SET(FRIBIDI_FOUND "NO")
-- endif()
--ENDIF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR)
-
- IF (FRIBIDI_FOUND)
diff --git a/multimedia/OpenPHT/slack-desc b/multimedia/OpenPHT/slack-desc
deleted file mode 100644
index 1bf3791fe056..000000000000
--- a/multimedia/OpenPHT/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-OpenPHT: OpenPHT (Plex client)
-OpenPHT:
-OpenPHT: OpenPHT is a fork of Plex Home Theater maintained by the folks
-OpenPHT: behind RasPlex.
-OpenPHT:
-OpenPHT: Homepage: https://github.com/RasPlex/OpenPHT
-OpenPHT:
-OpenPHT:
-OpenPHT:
-OpenPHT:
-OpenPHT: