gnu: gstreamer: Do not reference Python.
* gnu/packages/gstreamer.scm (gstreamer) [native-inputs]: Replace python-wrapper with python. [arguments]: List python in #:disallowed-references. Add a 'do-not-capture-python phase.master
parent
30b6431441
commit
864a7478e8
|
@ -475,7 +475,9 @@ the GStreamer multimedia framework.")
|
||||||
"0aisl8nazcfi4b5j6fz8zwpp0k9csb022zniz65b2pxxpdjayzb0"))))
|
"0aisl8nazcfi4b5j6fz8zwpp0k9csb022zniz65b2pxxpdjayzb0"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list
|
||||||
|
#:disallowed-references (list python)
|
||||||
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
#$@%common-gstreamer-phases
|
#$@%common-gstreamer-phases
|
||||||
#$@(if (string-prefix? "i686" (or (%current-target-system)
|
#$@(if (string-prefix? "i686" (or (%current-target-system)
|
||||||
|
@ -491,12 +493,22 @@ test_stress_cleanup_unschedule.*")
|
||||||
(("tcase_add_test \\(tc_chain, \
|
(("tcase_add_test \\(tc_chain, \
|
||||||
test_stress_reschedule.*")
|
test_stress_reschedule.*")
|
||||||
"")))))
|
"")))))
|
||||||
'()))))
|
'())
|
||||||
|
(add-after 'patch-shebangs 'do-not-capture-python
|
||||||
|
(lambda _
|
||||||
|
;; The patch-source-shebangs phase causes the following build
|
||||||
|
;; script to reference Python in its shebang, which is
|
||||||
|
;; unnecessary.
|
||||||
|
(substitute* (string-append #$output
|
||||||
|
"/libexec/gstreamer-1.0/"
|
||||||
|
"gst-plugins-doc-cache-generator")
|
||||||
|
(((which "python3"))
|
||||||
|
"/usr/bin/env python3")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; In gstreamer-1.0.pc:
|
;; In gstreamer-1.0.pc:
|
||||||
;; Requires: glib-2.0, gobject-2.0
|
;; Requires: glib-2.0, gobject-2.0
|
||||||
;; Requires.private: gmodule-no-export-2.0 libunwind libdw
|
;; Requires.private: gmodule-no-export-2.0 libunwind libdw
|
||||||
(list elfutils ; libdw
|
(list elfutils ;libdw
|
||||||
glib libunwind))
|
glib libunwind))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bash-completion
|
(list bash-completion
|
||||||
|
@ -506,7 +518,7 @@ test_stress_reschedule.*")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
perl
|
perl
|
||||||
pkg-config
|
pkg-config
|
||||||
python-wrapper))
|
python))
|
||||||
(inputs
|
(inputs
|
||||||
(list gmp libcap
|
(list gmp libcap
|
||||||
;; For tests.
|
;; For tests.
|
||||||
|
|
Reference in New Issue