summaryrefslogtreecommitdiffstats
path: root/package/gstreamer1
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2015-10-27 21:58:30 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-10-27 22:50:05 +0100
commit7855885b95cf6ce9e0f2780d9764ae0b51f3538c (patch)
tree33a31f8a6364bc290f4f3a3f30207edd6ff05c79 /package/gstreamer1
parent1faa164f2fa268025771e2d0f80b68a1946d9261 (diff)
downloadbuildroot-7855885b95cf6ce9e0f2780d9764ae0b51f3538c.tar.gz
buildroot-7855885b95cf6ce9e0f2780d9764ae0b51f3538c.zip
gst1-validate: fix compile with cairo support
In case cairo support is (auto-)detected cairo PNG support is required. Fixes ([1]): ../gst-libs/gst/video/.libs/libgstvalidatevideo-1.0.so: undefined reference to `cairo_surface_write_to_png' ../gst-libs/gst/video/.libs/libgstvalidatevideo-1.0.so: undefined reference to `cairo_image_surface_create_from_png' collect2: error: ld returned 1 exit status [1] http://autobuild.buildroot.net/results/c5e/c5eb6cb12dba559226c67f5d258cc151aa8a8d3a [Peter: reworded comment, dropped extra line] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gstreamer1')
-rw-r--r--package/gstreamer1/gst1-validate/Config.in2
-rw-r--r--package/gstreamer1/gst1-validate/gst1-validate.mk7
2 files changed, 8 insertions, 1 deletions
diff --git a/package/gstreamer1/gst1-validate/Config.in b/package/gstreamer1/gst1-validate/Config.in
index 34ec85ff4a..a9bb2aa388 100644
--- a/package/gstreamer1/gst1-validate/Config.in
+++ b/package/gstreamer1/gst1-validate/Config.in
@@ -3,6 +3,8 @@ config BR2_PACKAGE_GST1_VALIDATE
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_PYTHON_PYEXPAT
+ # cairo is autodetected but needs PNG support
+ select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO
help
GstValidate is a tool that allows GStreamer developers to
check that the GstElements they write behave the way they
diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk
index b8b09daf07..a7d66be461 100644
--- a/package/gstreamer1/gst1-validate/gst1-validate.mk
+++ b/package/gstreamer1/gst1-validate/gst1-validate.mk
@@ -12,6 +12,11 @@ GST1_VALIDATE_LICENSE_FILES = COPYING
GST1_VALIDATE_CONF_OPTS = --disable-sphinx-doc
-GST1_VALIDATE_DEPENDENCIES = gstreamer1 gst1-plugins-base host-python python
+GST1_VALIDATE_DEPENDENCIES = \
+ gstreamer1 \
+ gst1-plugins-base \
+ host-python \
+ python \
+ $(if $(BR2_PACKAGE_CAIRO),cairo)
$(eval $(autotools-package))
OpenPOWER on IntegriCloud