summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-03-06 23:50:37 -0500
committerLeo Famulari <leo@famulari.name>2021-03-07 15:49:43 -0500
commit2e9fe98a4bafd6243baa2a50f8771e49fae30d66 (patch)
treea222cda9133d7727e1a4704d4fc6f3eb8c4f01f8 /gnu
parent5a7e86f8b5a29b3df071054c8181f0e29f67491d (diff)
gnu: nimf: Use separate outputs for gtk and qt modules.
* gnu/packages/language.scm (nimf) [outputs]: Add gtk and qt. [arguments]<#:phases>['patch-paths]: Modify. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/language.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 576a1c14ab..9bf94271b4 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -83,7 +83,7 @@
(sha256
(base32 "01qi7flmaqrn2fk03sa42r0caks9d8lsv88s0bgxahhxwk1x76gc"))))
(build-system glib-or-gtk-build-system)
- (outputs '("out" "doc"))
+ (outputs '("out" "gtk" "qt" "doc"))
(arguments
`(#:imported-modules
(,@%glib-or-gtk-build-system-modules
@@ -132,18 +132,18 @@
"/bin:$GTK2_LIBDIR/libgtk2.0-0")))
(substitute* "modules/clients/gtk/Makefile.am"
(("\\$\\(GTK3_LIBDIR\\)")
- (string-append (assoc-ref outputs "out")
+ (string-append (assoc-ref outputs "gtk")
"/lib"))
(("\\$\\(GTK2_LIBDIR\\)")
- (string-append (assoc-ref outputs "out")
+ (string-append (assoc-ref outputs "gtk")
"/lib")))
(substitute* "modules/clients/qt4/Makefile.am"
(("\\$\\(QT4_LIB_DIR\\)")
- (string-append (assoc-ref outputs "out")
+ (string-append (assoc-ref outputs "qt")
"/lib")))
(substitute* "modules/clients/qt5/Makefile.am"
(("\\$\\(QT5_IM_MODULE_DIR\\)")
- (string-append (assoc-ref outputs "out")
+ (string-append (assoc-ref outputs "qt")
"/lib/qt5/plugins/inputmethods")))
(substitute* '("bin/nimf-settings/Makefile.am"
"data/apparmor-abstractions/Makefile.am"