File indexing completed on 2024-11-17 04:44:38

0001 #!/bin/sh
0002 
0003 ___kdesrcbuild() {
0004     pushd ~/kdesrc-build
0005     ./kdesrc-build $@
0006     popd
0007 }
0008 alias kdesrc-build="___kdesrcbuild"
0009 
0010 # User-specific XDG vars
0011 export XDG_RUNTIME_DIR=/var/run/user/$(id -u)
0012 export XDG_DATA_HOME=/home/neon/kdepim/home/local
0013 export XDG_CONFIG_HOME=/home/neon/kdepim/home/config
0014 
0015 # NVIDIA environment
0016 export PATH=/usr/local/nvidia/bin:${PATH}
0017 export LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH}
0018 
0019 # KDE PIM environment
0020 export _PREFIX=/home/neon/kdepim/install
0021 export PATH=${_PREFIX}/bin:${PATH}
0022 export LD_LIBRARY_PATH=${_PREFIX}/lib:${_PREFIX}/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}
0023 export QT_PLUGIN_PATH=${_PREFIX}/lib/x86_64-linux-gnu/plugins:${QT_PLUGIN_PATH:-/usr/lib/x86_64-linux-gnu/qt5/plugins}
0024 export QML2_IMPORT_PATH=${_PREFIX}/lib/x86_64-linux-gnu/qml:${QML2_IMPORT_PATH:-/usr/lib/x86_64-linux-gnu/qt5/qml}
0025 export PKG_CONFIG_PATH=${_PREFIX}/lib/x86_64-linux-gnu/pkgconfig:${PKG_CONFIG_PATH:-/usr/lib/x86_64-linux-gnu/pkgconfig}
0026 export XDG_DATA_DIRS=${_PREFIX}/share:${XDG_DATA_DIRS:-/usr/share}
0027 export XDG_CONFIG_DIRS=${_PREFIX}/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}
0028 export SASL_PATH=${_PREFIX}/lib/x86_64-linux-gnu/sasl2:${SASL_PATH:-/usr/lib/x86_64-linux-gnu/sasl2}
0029 
0030 # QtChooser
0031 export QT_SELECT=qt5
0032 
0033 # Enable and configure ccache
0034 export PATH=/usr/lib/ccache:$PATH
0035 export CCACHE_DIR=/home/neon/kdepim/.ccache
0036 
0037 # Point Pulse clients to host pulseaudio server
0038 export PULSE_SERVER=unix:/run/user/1000/pulse/native
0039 
0040 # Lie to KDE, as usual
0041 export KDE_FULL_SESSION=1
0042 
0043 # Without this Qt sometimes does not render UI properly
0044 export QT_X11_NO_MITSHM=1