summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-27 19:30:05 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-03 15:28:07 +0200
commitff1989a5999cbe03659e3ad801abc6d39217be47 (patch)
treeb26776c0325fed086edff4feb44aa73c184620f2
parentcba632c4a802fa54d0d3507601d72e93a2e00432 (diff)
downloadguix-ff1989a5999cbe03659e3ad801abc6d39217be47.tar.gz
gnu: qt-4: Use a more standard directory layout.
* gnu/packages/qt.scm (qt-4)[arguments]: Pass -datadir, -importdir,
  -plugindir, and -translationdir.
-rw-r--r--gnu/packages/qt.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index e4cdcc8631..0040b5f62e 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -265,6 +265,14 @@ developers using C++ or QML, a CSS & JavaScript like language.")
                       "-verbose"
                       "-prefix" out
                       "-docdir" (string-append doc "/share/doc/qt-" ,version)
+                      "-datadir" (string-append out "/share/qt-" ,version
+                                                "/data")
+                      "-importdir" (string-append out "/lib/qt-4"
+                                                  "/imports")
+                      "-plugindir" (string-append out "/lib/qt-4"
+                                                  "/plugins")
+                      "-translationdir" (string-append out "/share/qt-" ,version
+                                                       "/translations")
                       "-demosdir"    (string-append out "/share/qt-" ,version
                                                     "/demos")
                       "-examplesdir" (string-append out "/share/qt-" ,version