kdoctools: set XDG_DATA_DIRS in setupHook
This commit is contained in:
parent
0267246f2f
commit
9fa17aa293
|
@ -4,6 +4,7 @@
|
|||
|
||||
kdeFramework {
|
||||
name = "kdoctools";
|
||||
setupHook = ./setup-hook.sh;
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ karchive ];
|
||||
propagatedBuildInputs = [ ki18n ];
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
addXdgData() {
|
||||
addToSearchPath XDG_DATA_DIRS "$1/share"
|
||||
}
|
||||
|
||||
envHooks+=(addXdgData)
|
|
@ -2,7 +2,6 @@ addQtDependency() {
|
|||
addToSearchPath QT_PLUGIN_PATH "$1/lib/qt5/plugins"
|
||||
addToSearchPath QML_IMPORT_PATH "$1/lib/qt5/imports"
|
||||
addToSearchPath QML2_IMPORT_PATH "$1/lib/qt5/qml"
|
||||
addToSearchPath XDG_DATA_DIRS "$1/share"
|
||||
}
|
||||
|
||||
wrapQtProgram() {
|
||||
|
|
Loading…
Reference in New Issue