summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/env.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/env.sh b/src/env.sh
new file mode 100755
index 0000000..565c9da
--- /dev/null
+++ b/src/env.sh
@@ -0,0 +1,23 @@
+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 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
+
+doecho export XDG_RUNTIME_DIR=$home/src
+doecho export SDL_VIDEODRIVER=wayland