xbmc: remove fglrx and xvba support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-09-26 07:57:41 +02:00
parent c5e3a155f2
commit 20067e6fe0
2 changed files with 1 additions and 26 deletions

View File

@ -320,20 +320,6 @@ else
XBMC_VAAPI="--disable-vaapi" XBMC_VAAPI="--disable-vaapi"
fi 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 if [ "$CRYSTALHD" = yes ]; then
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET crystalhd" PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET crystalhd"
PKG_DEPENDS="$PKG_DEPENDS crystalhd" PKG_DEPENDS="$PKG_DEPENDS crystalhd"
@ -366,7 +352,7 @@ PKG_CONFIGURE_OPTS_TARGET="gl_cv_func_gettimeofday_clobber=no \
$XBMC_VDPAU \ $XBMC_VDPAU \
$XBMC_VAAPI \ $XBMC_VAAPI \
$XBMC_CRYSTALHD \ $XBMC_CRYSTALHD \
$XBMC_XVBA \ --disable-xvba \
--disable-vdadecoder \ --disable-vdadecoder \
--disable-vtbdecoder \ --disable-vtbdecoder \
--disable-tegra \ --disable-tegra \

View File

@ -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'` [ -f /usr/bin/nvidia-smi ] && TEMP=`/usr/bin/nvidia-smi -q -x | grep 'gpu_temp' | awk '{ print $1 }' | sed 's,<gpu_temp>,,g'`
fi 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" echo "${TEMP} C"