multimedia/plex-home-theater: Removed (ftbs, upstream dead).

Seems this has been replaced by plex-media-player, if
someone wants to submit a script for that.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-03-07 12:27:32 +13:00 committed by Willy Sudiarto Raharjo
parent a221c4b683
commit 869d82e9c4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
10 changed files with 0 additions and 266 deletions

View file

@ -1,5 +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.
(Some) Optional dependencies: libcec libnfs

View file

@ -1,15 +0,0 @@
--- 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

@ -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

View file

@ -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)

View file

@ -1,7 +0,0 @@
#!/bin/sh
# disable PulseAudio
export AE_ENGINE=Soft
export XBMC_HOME=/opt/plex-home-theater/share/XBMC
exec /opt/plex-home-theater/bin/plexhometheater

View file

@ -1,145 +0,0 @@
#!/bin/bash
# Slackware build script for "plex-home-theater".
# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
# 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=plex-home-theater
VERSION=${VERSION:-1.4.1.469}
REV=${REV:-47a90f01}
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-public-$VERSION-$REV
tar xvf $CWD/$PRGNAM-public-$VERSION-$REV.tar.gz || 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 \
-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 {} \;
# 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
# 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
# Fix "'asm' operand has impossible constraints" build failure in embedded ffmpeg
if [ "$ARCH" != 'x86_64' ]; then
sed -i -e 's/get_cabac(/get_cabac_noinline(/g' lib/ffmpeg/libavcodec/cabac.c
sed -i -e 's/get_cabac(/get_cabac_noinline(/g' lib/ffmpeg/libavcodec/h264_cabac.c
fi
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' \
..
# 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/plex-home-theater $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

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Plex Home Theater
GenericName=Media Center
Exec=plex-home-theater
StartupNotify=true
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/plex-home-theater_512x512.png
Categories=Audio;Music;Video;Player;AudioVideo;

View file

@ -1,10 +0,0 @@
PRGNAM="plex-home-theater"
VERSION="1.4.1.469"
HOMEPAGE="https://github.com/plexinc/plex-home-theater-public/"
DOWNLOAD="https://github.com/plexinc/plex-home-theater-public/archive/v1.4.1.469-47a90f01.tar.gz"
MD5SUM="8fb20dac7aefa694819f66c39aaa5814"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl libmicrohttpd tinyxml avahi libmpeg2 libass rtmpdump libmodplug zulu-openjdk7"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 KiB

View file

@ -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------------------------------------------------------|
plex-home-theater: plex-home-theater (Media Center)
plex-home-theater:
plex-home-theater: Plex Home Theater is optimized for the big screen and supports
plex-home-theater: a wide variety of formats with high-definition audio, native
plex-home-theater: framerates, and more.
plex-home-theater:
plex-home-theater: Homepage: http://plex.tv/
plex-home-theater:
plex-home-theater:
plex-home-theater:
plex-home-theater: