mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
xbmc: remove fglrx and xvba support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c5e3a155f2
commit
20067e6fe0
@ -320,20 +320,6 @@ else
|
||||
XBMC_VAAPI="--disable-vaapi"
|
||||
fi
|
||||
|
||||
if [ "$XVBA" = yes ]; then
|
||||
get_graphicdrivers
|
||||
for drv in $GRAPHIC_DRIVERS; do
|
||||
if [ "$drv" = "fglrx" ]; then
|
||||
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET xf86-video-fglrx"
|
||||
elif [ "$drv" = "fglrx-legacy" ]; then
|
||||
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET xf86-video-fglrx-legacy"
|
||||
fi
|
||||
done
|
||||
XBMC_XVBA="--enable-xvba"
|
||||
else
|
||||
XBMC_XVBA="--disable-xvba"
|
||||
fi
|
||||
|
||||
if [ "$CRYSTALHD" = yes ]; then
|
||||
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET crystalhd"
|
||||
PKG_DEPENDS="$PKG_DEPENDS crystalhd"
|
||||
@ -366,7 +352,7 @@ PKG_CONFIGURE_OPTS_TARGET="gl_cv_func_gettimeofday_clobber=no \
|
||||
$XBMC_VDPAU \
|
||||
$XBMC_VAAPI \
|
||||
$XBMC_CRYSTALHD \
|
||||
$XBMC_XVBA \
|
||||
--disable-xvba \
|
||||
--disable-vdadecoder \
|
||||
--disable-vtbdecoder \
|
||||
--disable-tegra \
|
||||
|
@ -26,15 +26,4 @@ if lspci -n | grep 0300 | grep -q 10de; then
|
||||
[ -f /usr/bin/nvidia-smi ] && TEMP=`/usr/bin/nvidia-smi -q -x | grep 'gpu_temp' | awk '{ print $1 }' | sed 's,<gpu_temp>,,g'`
|
||||
fi
|
||||
|
||||
if lspci -n | grep 0300 | grep -q 1002; then
|
||||
if [ -f /storage/.config/xorg.conf ]; then
|
||||
XORG="/storage/.config/xorg.conf"
|
||||
elif [ -f /etc/X11/xorg-fglrx-legacy.conf ]; then
|
||||
XORG="/etc/X11/xorg-fglrx-legacy.conf"
|
||||
else
|
||||
XORG="/etc/X11/xorg-fglrx.conf"
|
||||
fi
|
||||
[ -f /usr/bin/aticonfig ] && TEMP=`/usr/bin/aticonfig -i $XORG --od-gettemperature | grep Temperature | cut -f 2 -d "-" | cut -f 1 -d "." | sed -e "s, ,,"`
|
||||
fi
|
||||
|
||||
echo "${TEMP} C"
|
||||
|
Loading…
x
Reference in New Issue
Block a user