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>
This commit is contained in:
parent
5a7e86f8b5
commit
2e9fe98a4b
@ -83,7 +83,7 @@
|
|||||||
(sha256
|
(sha256
|
||||||
(base32 "01qi7flmaqrn2fk03sa42r0caks9d8lsv88s0bgxahhxwk1x76gc"))))
|
(base32 "01qi7flmaqrn2fk03sa42r0caks9d8lsv88s0bgxahhxwk1x76gc"))))
|
||||||
(build-system glib-or-gtk-build-system)
|
(build-system glib-or-gtk-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "gtk" "qt" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:imported-modules
|
`(#:imported-modules
|
||||||
(,@%glib-or-gtk-build-system-modules
|
(,@%glib-or-gtk-build-system-modules
|
||||||
@ -132,18 +132,18 @@
|
|||||||
"/bin:$GTK2_LIBDIR/libgtk2.0-0")))
|
"/bin:$GTK2_LIBDIR/libgtk2.0-0")))
|
||||||
(substitute* "modules/clients/gtk/Makefile.am"
|
(substitute* "modules/clients/gtk/Makefile.am"
|
||||||
(("\\$\\(GTK3_LIBDIR\\)")
|
(("\\$\\(GTK3_LIBDIR\\)")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "gtk")
|
||||||
"/lib"))
|
"/lib"))
|
||||||
(("\\$\\(GTK2_LIBDIR\\)")
|
(("\\$\\(GTK2_LIBDIR\\)")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "gtk")
|
||||||
"/lib")))
|
"/lib")))
|
||||||
(substitute* "modules/clients/qt4/Makefile.am"
|
(substitute* "modules/clients/qt4/Makefile.am"
|
||||||
(("\\$\\(QT4_LIB_DIR\\)")
|
(("\\$\\(QT4_LIB_DIR\\)")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "qt")
|
||||||
"/lib")))
|
"/lib")))
|
||||||
(substitute* "modules/clients/qt5/Makefile.am"
|
(substitute* "modules/clients/qt5/Makefile.am"
|
||||||
(("\\$\\(QT5_IM_MODULE_DIR\\)")
|
(("\\$\\(QT5_IM_MODULE_DIR\\)")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "qt")
|
||||||
"/lib/qt5/plugins/inputmethods")))
|
"/lib/qt5/plugins/inputmethods")))
|
||||||
(substitute* '("bin/nimf-settings/Makefile.am"
|
(substitute* '("bin/nimf-settings/Makefile.am"
|
||||||
"data/apparmor-abstractions/Makefile.am"
|
"data/apparmor-abstractions/Makefile.am"
|
||||||
|
Loading…
Reference in New Issue
Block a user