-
Notifications
You must be signed in to change notification settings - Fork 1
/
var.env
14 lines (14 loc) · 876 Bytes
/
var.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# From https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#Set_up_the_runtime_environment
export KF5=$(grep kdedir $HOME/.kdesrc-buildrc | awk '{ print $2 }')
export QTDIR=$(grep qtdir $HOME/.kdesrc-buildrc | awk '{ print $2 }' )
export CMAKE_PREFIX_PATH=${KF5}:${CMAKE_PREFIX_PATH}
export XDG_DATA_DIRS=${KF5}/share:${XDG_DATA_DIRS}:/usr/share
export XDG_CONFIG_DIRS=${KF5}/etc/xdg:${XDG_CONFIG_DIRS}:/etc/xdg
export PATH=${KF5}/bin:${QTDIR}/bin:${PATH}
export QT_PLUGIN_PATH=${KF5}/lib/plugins:${KF5}/lib64/plugins:${KF5}/lib/x86_64-linux-gnu/plugins:${QTDIR}/plugins:${QT_PLUGIN_PATH}
export QML2_IMPORT_PATH=${KF5}/lib/qml:${KF5}/lib64/qml:${KF5}/lib/x86_64-linux-gnu/qml:${QTDIR}/qml
export QML_IMPORT_PATH=${QML2_IMPORT_PATH}
export KDE_FULL_SESSION=true
export KDE_SESSION_VERSION=5
export SASL_PATH=/usr/lib/sasl2:${KF5}/lib/sasl2
PS1="(kdesrc) ${PS1}"