summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-27 01:20:45 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-27 11:48:15 +0100
commite6280ea2cdd6327db3b622f29dd307d65c9b1275 (patch)
treede8aec14635a7a24495059178c87e4e736d1b997
parent4967eb97b5f2067e8ea512ad6e87743292859c3c (diff)
downloadguix-e6280ea2cdd6327db3b622f29dd307d65c9b1275.tar.gz
gnu: kamoso: Remove reference to '%build-inputs'.
* gnu/packages/kde-multimedia.scm (kamoso)[arguments]: Rewrite using
a gexp.
-rw-r--r--gnu/packages/kde-multimedia.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 4e28fe1367..011bd960c4 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -24,6 +24,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
+  #:use-module (guix gexp)
   #:use-module (gnu packages)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages base)
@@ -474,11 +475,11 @@ autoloading of subtitle files for use while playing video.")
        ("qtquickcontrols2" ,qtquickcontrols2) ; not listed as dependency
        ("qtx11extras" ,qtx11extras)))
     (arguments
-     `(#:tests? #f ; test program gets built, but is not found
-       #:configure-flags
-       (list (string-append "-DCMAKE_CXX_FLAGS=-I"
-                            (assoc-ref %build-inputs "gst-plugins-base")
-                            "/include/gstreamer-1.0"))))
+     (list #:tests? #f ; test program gets built, but is not found
+           #:configure-flags
+           #~(list (string-append "-DCMAKE_CXX_FLAGS=-I"
+                                  #$(this-package-input "gst-plugins-base")
+                                  "/include/gstreamer-1.0"))))
     (home-page "https://kde.org/applications/multimedia/org.kde.kamoso")
     (synopsis "Take pictures and videos out of your webcam")
     (description "Kamoso is a simple and friendly program to use your