summaryrefslogtreecommitdiff
path: root/.local/environment.sh
blob: 347aeb0c2ec0197425802c164ead1aa658b5bb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
doecho() {
	echo $@
	eval $@
}

home=~ben

doecho export prefix=$home/.local

doecho export 'ACLOCAL="aclocal -I '$prefix'/share/aclocal"'

doecho export LD_LIBRARY_PATH="$prefix/lib"
doecho export WESTON_LIBRARY_PATH="$LD_LIBRARY_PATH"
doecho export PKG_CONFIG_PATH=$LD_LIBRARY_PATH/pkgconfig
#doecho export C_INCLUDE_PATH="$prefix/include"

doecho export EGL_DRIVER=egl_dri2
#doecho export EGL_DRIVER=egl_gallium

doecho export EGL_LOG_LEVEL=debug
#doecho export EGL_PLATFORM=wayland

if [ "x$XDG_RUNTIME_DIR" = "x" ]; then
	doecho export XDG_RUNTIME_DIR=$home/src
fi
doecho export SDL_VIDEODRIVER=wayland