mirror of
https://github.com/libretro/Lakka.git
synced 2024-11-27 18:10:21 +00:00
xbmc: fix XVBA build with legacy/non-legacy gpu drivers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
faaea8141f
commit
42706f338b
@ -34,7 +34,7 @@ fi
|
||||
|
||||
get_graphicdrivers() {
|
||||
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx nvidia vmware virtualbox"
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx fglrx-legacy nvidia vmware virtualbox"
|
||||
fi
|
||||
|
||||
for drv in $GRAPHIC_DRIVERS; do
|
||||
|
@ -184,6 +184,12 @@ if [ "$CRYSTALHD" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS crystalhd"
|
||||
fi
|
||||
|
||||
if [ "$XVBA" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS xf86-video-fglrx"
|
||||
fi
|
||||
get_graphicdrivers
|
||||
|
||||
for drv in $GRAPHIC_DRIVERS; do
|
||||
if [ "$drv" = "fglrx" -a "$XVBA" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS xf86-video-fglrx"
|
||||
elif [ "$drv" = "fglrx-legacy" -a "$XVBA" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS xf86-video-fglrx-legacy"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user