if [ -z "$DIORITE_PATH" ]; then DIORITE_PATH="$1"; fi

if [ -z "$DIORITE_PATH" -o ! -d "$DIORITE_PATH" ]; then
	echo "Error: Specify the path to the Diorite library repository checkout as the first argument"
else
	WAF_CONFIGURE=" --flatpak"
	. set_up_env.sh
	export DIORITE_PATH="$DIORITE_PATH"
	export PKG_CONFIG_PATH="$DIORITE_PATH/build"
	export VAPIDIR="$DIORITE_PATH/build"
	export C_INCLUDE_PATH="$DIORITE_PATH/build"
	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIORITE_PATH/build"
	export LIBRARY_PATH="$DIORITE_PATH/build"
fi

if [ -z "$DIORITE_PATH" ]; then DIORITE_PATH="$1"; fi

if [ -z "$DIORITE_PATH" -o ! -d "$DIORITE_PATH" ]; then
	echo "Error: Specify the path to the Diorite library repository checkout as the first argument"
else
	WAF_CONFIGURE=" --flatpak --cdk --webkitgtk-supports-mse"
	. set_up_env.sh
	export DIORITE_PATH="$DIORITE_PATH"
	export PKG_CONFIG_PATH="$DIORITE_PATH/build"
	export VAPIDIR="$DIORITE_PATH/build"
	export C_INCLUDE_PATH="$DIORITE_PATH/build"
	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIORITE_PATH/build"
	export LIBRARY_PATH="$DIORITE_PATH/build"
fi

Add --cdk --webkitgtk-supports-mse to set_up_nuvolac dk.sh
Add --cdk --webkitgtk-supports-mse to set_up_nuvolac dk.sh

Signed-off-by: Jiří Janoušek <2a48236b6dcae98c8c0e90f4673742773ee17d91@gmail.com>
