summaryrefslogtreecommitdiff
path: root/sakura/packages/qt.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sakura/packages/qt.scm')
-rw-r--r--sakura/packages/qt.scm32
1 files changed, 15 insertions, 17 deletions
diff --git a/sakura/packages/qt.scm b/sakura/packages/qt.scm
index 4eed653..34e57c4 100644
--- a/sakura/packages/qt.scm
+++ b/sakura/packages/qt.scm
@@ -74,19 +74,18 @@
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
- (gtk2 (assoc-ref inputs "gtk+"))
- (x11 (assoc-ref inputs "libx11")))
- (substitute* "qt6gtk2.pri"
- (("UI_DIR") (string-append
- "PKG_CONFIG = "
- (assoc-ref inputs "pkg-config")
- "/bin/pkg-config"
- "\nPKG_CONFIG_PATH = "
- gtk2 "/include" ":" x11 "/include"
- "\nUI_DIR")))
+ (gtk2 (assoc-ref inputs "gtk+"))
+ (x11 (assoc-ref inputs "libx11")))
+ (substitute* "qt6gtk2.pri"
+ (("UI_DIR") (string-append
+ "PKG_CONFIG = "
+ (assoc-ref inputs "pkg-config")
+ "/bin/pkg-config"
+ "\nPKG_CONFIG_PATH = "
+ gtk2 "/include" ":" x11 "/include"
+ "\nUI_DIR")))
(invoke "qmake"
- (string-append "prefix=" out))
- )))
+ (string-append "prefix=" out)))))
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@@ -94,17 +93,16 @@
(invoke "make" (string-append "INSTALL_ROOT=\"" out "\"") "install")
(let ((lib (string-append out qt5 "/lib")))
(invoke "mv" lib out)
- (invoke "rm" "-fr" (string-append out "/gnu"))))))
- )))
+ (invoke "rm" "-fr" (string-append out "/gnu")))))))))
(native-inputs
(list pkg-config
- qttools
+ qttools
coreutils))
(inputs
(list qtbase
gtk+-2
- libx11
- libxkbcommon))
+ libx11
+ libxkbcommon))
(home-page "")
(synopsis "")
(description "")