[gnome-build-meta/alatiera/gst-plugins-bad-more: 8/8] sdk/gst-plugins-{bad, good}: pass --host option to configure on x86/arm



commit 164fc3b26e6b73625df6c1cdd7246b915dd5c94c
Author: Abderrahim Kitouni <a kitouni gmail com>
Date:   Mon Sep 17 22:14:28 2018 +0100

    sdk/gst-plugins-{bad,good}: pass --host option to configure on x86/arm
    
    This can't be done for all elements at once because of a bug in buildstream
    https://gitlab.com/BuildStream/buildstream/issues/658

 elements/sdk/gst-plugins-bad.bst  | 7 +++++++
 elements/sdk/gst-plugins-good.bst | 7 +++++++
 2 files changed, 14 insertions(+)
---
diff --git a/elements/sdk/gst-plugins-bad.bst b/elements/sdk/gst-plugins-bad.bst
index 5f0fc36..ae28e06 100644
--- a/elements/sdk/gst-plugins-bad.bst
+++ b/elements/sdk/gst-plugins-bad.bst
@@ -47,7 +47,14 @@ depends:
 
 
 variables:
+  host: ''
+  (?):
+  - arch == "i386":
+      host: --host=i586-unknown-linux-gnu
+  - arch == "arm":
+      host: --host=arm-unknown-linux-gnueabi
   conf-local: |
+    %{host} \
     --enable-experimental \
     --enable-orc \
     --enable-introspection \
diff --git a/elements/sdk/gst-plugins-good.bst b/elements/sdk/gst-plugins-good.bst
index f2b9107..8b4ecdd 100644
--- a/elements/sdk/gst-plugins-good.bst
+++ b/elements/sdk/gst-plugins-good.bst
@@ -29,7 +29,14 @@ depends:
   type: runtime
 
 variables:
+  host: ''
+  (?):
+  - arch == "i386":
+      host: --host=i586-unknown-linux-gnu
+  - arch == "arm":
+      host: --host=arm-unknown-linux-gnueabi
   conf-local: |
+    %{host} \
     --enable-cairo \
     --enable-experimental \
     --enable-introspection \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]