summaryrefslogtreecommitdiff
path: root/recipes/custom.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-06-08 16:51:35 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-06-08 19:25:20 +0530
commitc28fd1d1a0727f31ab3ac7a5bbcb26151f9add33 (patch)
tree26d75d6bc50b8545965fb79a72e46ca1a611f432 /recipes/custom.py
parent4629fd52b80a26303524431ec73fc0752ee30df7 (diff)
recipes/custom.py: Also remove library include dirs
Sometimes we install things into lib/gstreamer-1.0/include, so remove those too when disabling a library. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/497>
Diffstat (limited to 'recipes/custom.py')
-rw-r--r--recipes/custom.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/custom.py b/recipes/custom.py
index d8783d3e..35b055b4 100644
--- a/recipes/custom.py
+++ b/recipes/custom.py
@@ -90,6 +90,9 @@ class GStreamer(recipe.Recipe):
self.files_plugins_devel.remove(pcname)
includedir = 'include/gstreamer-1.0/gst/' + library_name
self.files_plugins_devel.remove(includedir)
+ libincdir = 'lib/gstreamer-1.0/include/gst/' + library_name
+ if libincdir in self.files_plugins_devel:
+ self.files_plugins_devel.remove(libincdir)
self.meson_options[option] = 'disabled'