gnu: gst-plugins-base: Enable GObjection introspection.

* gnu/packages/gstreamer.scm (gst-plugins-base): Add gobject-introspection
  to 'native-inputs'.
  [arguments]<#:phases>: Rename patch-test-pb-utils to patch.  Add
  (setenv "CC" "gcc") to patch phase.
This commit is contained in:
宋文武 2015-04-04 12:39:31 +08:00
parent e9a8212959
commit 4ec48644c3
1 changed files with 5 additions and 2 deletions

View File

@ -176,6 +176,7 @@ This package provides the core library and elements.")
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("glib" ,glib "bin") ("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("python-wrapper" ,python-wrapper))) ("python-wrapper" ,python-wrapper)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -184,10 +185,12 @@ This package provides the core library and elements.")
"/share/gtk-doc/html")) "/share/gtk-doc/html"))
#:phases #:phases
(alist-cons-before (alist-cons-before
'configure 'patch-test-pb-utils 'configure 'patch
(lambda _ (lambda _
(substitute* "tests/check/libs/pbutils.c" (substitute* "tests/check/libs/pbutils.c"
(("/bin/sh") (which "sh")))) (("/bin/sh") (which "sh")))
;; for g-ir-scanner.
(setenv "CC" "gcc"))
%standard-phases))) %standard-phases)))
(home-page "http://gstreamer.freedesktop.org/") (home-page "http://gstreamer.freedesktop.org/")
(synopsis (synopsis