[gnome-build-meta/abderrahim/32bit-compat: 88/88] flatpak: provide 32-bit compat extensions for the platform
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/32bit-compat: 88/88] flatpak: provide 32-bit compat extensions for the platform
- Date: Sun, 1 Sep 2019 14:10:09 +0000 (UTC)
commit 7e5a5bf715b36d72790932cc889c904a88e72249
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Fri Jul 19 10:00:32 2019 +0100
flatpak: provide 32-bit compat extensions for the platform
Fixes #168
elements/flatpak-runtimes.bst | 17 +++++++++++++++++
elements/flatpak/platform-arch-libs-debug.bst | 16 ++++++++++++++++
elements/flatpak/platform-arch-libs.bst | 16 ++++++++++++++++
3 files changed, 49 insertions(+)
---
diff --git a/elements/flatpak-runtimes.bst b/elements/flatpak-runtimes.bst
index abdd9ce8..b681c018 100644
--- a/elements/flatpak-runtimes.bst
+++ b/elements/flatpak-runtimes.bst
@@ -4,6 +4,10 @@ depends:
type: build
- filename: flatpak/platform-locale.bst
type: build
+- filename: flatpak/platform-arch-libs.bst
+ type: build
+- filename: flatpak/platform-arch-libs-debug.bst
+ type: build
- filename: flatpak/sdk.bst
type: build
- filename: flatpak/sdk-debug.bst
@@ -21,3 +25,16 @@ config:
- deploy-tools/flatpak.bst
arch: '%{gcc_arch}'
repo-mode: bare-user-only
+ (?):
+ - arch == 'i686':
+ copy-refs:
+ - src: runtime/org.gnome.Platform.Compat.%{gcc_arch}/%{gcc_arch}/%{branch}
+ dest: runtime/org.gnome.Platform.Compat.%{gcc_arch}/x86_64/%{branch}
+ - src: runtime/org.gnome.Platform.Compat.%{gcc_arch}.Debug/%{gcc_arch}/%{branch}
+ dest: runtime/org.gnome.Platform.Compat.%{gcc_arch}.Debug/x86_64/%{branch}
+ - arch == 'arm':
+ copy-refs:
+ - src: runtime/org.gnome.Platform.Compat.%{gcc_arch}/%{gcc_arch}/%{branch}
+ dest: runtime/org.gnome.Platform.Compat.%{gcc_arch}/aarch64/%{branch}
+ - src: runtime/org.gnome.Platform.Compat.%{gcc_arch}.Debug/%{gcc_arch}/%{branch}
+ dest: runtime/org.gnome.Platform.Compat.%{gcc_arch}.Debug/aarch64/%{branch}
diff --git a/elements/flatpak/platform-arch-libs-debug.bst b/elements/flatpak/platform-arch-libs-debug.bst
new file mode 100644
index 00000000..7d03a670
--- /dev/null
+++ b/elements/flatpak/platform-arch-libs-debug.bst
@@ -0,0 +1,16 @@
+kind: flatpak_image
+depends:
+- filename: flatpak/platform-image.bst
+ type: build
+
+config:
+ directory: '%{debugdir}%{libdir}'
+ include:
+ - debug
+
+ metadata:
+ Runtime:
+ name: org.gnome.Platform.Compat.%{gcc_arch}.Debug
+ ExtensionOf:
+ ref: runtime/org.gnome.Platform/%{gcc_arch}/%{branch}
+
diff --git a/elements/flatpak/platform-arch-libs.bst b/elements/flatpak/platform-arch-libs.bst
new file mode 100644
index 00000000..0ae001e1
--- /dev/null
+++ b/elements/flatpak/platform-arch-libs.bst
@@ -0,0 +1,16 @@
+kind: flatpak_image
+depends:
+- filename: flatpak/platform-image.bst
+ type: build
+
+config:
+ directory: '%{libdir}'
+ exclude:
+ - debug
+
+ metadata:
+ Runtime:
+ name: org.gnome.Platform.Compat.%{gcc_arch}
+ ExtensionOf:
+ ref: runtime/org.gnome.Platform/%{gcc_arch}/%{branch}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]