[meta] Don't install d3d10 and d3d10_1 by default

This commit is contained in:
Philip Rebohle 2020-03-18 21:02:42 +01:00
parent 7a134e49be
commit c1627a1b57
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 11 additions and 3 deletions

View File

@ -17,7 +17,7 @@ uninstall)
;;
*)
echo "Unrecognized action: $action"
echo "Usage: $0 [install|uninstall] [--without-dxgi] [--symlink]"
echo "Usage: $0 [install|uninstall] [--without-dxgi] [--with-d3d10] [--symlink]"
exit 1
esac
@ -25,6 +25,7 @@ esac
shift
with_dxgi=true
with_d3d10=false
file_cmd="cp -v"
while (($# > 0)); do
@ -32,6 +33,9 @@ while (($# > 0)); do
"--without-dxgi")
with_dxgi=false
;;
"--with-d3d10")
with_d3d10=true
;;
"--symlink")
file_cmd="ln -s -v"
;;
@ -197,7 +201,11 @@ if $with_dxgi || [ "$action" == "uninstall" ]; then
fi
$action d3d9
$action d3d10
$action d3d10_1
if $with_d3d10 || [ "$action" == "uninstall" ]; then
$action d3d10
$action d3d10_1
fi
$action d3d10core
$action d3d11