meson 1.0.1-2 (x86_64;znver1;aarch64) 2023-17388
9999
| Status | published | ||||||
| Submitter | benbullard79 [@T] cox.net | ||||||
| Platform | rolling | ||||||
| Repository | main | ||||||
| URL | https://abf.openmandriva.org/build_lists/329896 | ||||||
| Packages |
|
||||||
| Build Date | 2023-04-05 17:47:59 +0000 UTC | ||||||
| Last Updated | 2023-04-06 17:14:52.075323327 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary d0915227e89ca35b57a76bb424361adc86a8a996
commit d0915227e89ca35b57a76bb424361adc86a8a996
Author: Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Mon Apr 3 00:54:15 2023 +0200
Commit: Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Mon Apr 3 00:56:08 2023 +0200
Adjust macros to be crosscompiler friendly
---
meson-1.0.1-crosscompile-macros.patch | 16 ++++++++++++++++
meson.spec | 3 ++-
2 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 meson-1.0.1-crosscompile-macros.patch
diff --git a/meson-1.0.1-crosscompile-macros.patch b/meson-1.0.1-crosscompile-macros.patch
new file mode 100644
index 0000000..54c10a1
--- /dev/null
+++ b/meson-1.0.1-crosscompile-macros.patch
@@ -0,0 +1,16 @@
+diff -up meson-1.0.1/data/macros.meson.omv~ meson-1.0.1/data/macros.meson
+--- meson-1.0.1/data/macros.meson.omv~ 2023-04-03 00:46:33.900688859 +0200
++++ meson-1.0.1/data/macros.meson 2023-04-03 00:49:15.985005230 +0200
+@@ -8,8 +8,12 @@
+ %set_build_flags \
+ export LANG="en_US.UTF-8" \
+ export LC_ALL="en_US.UTF-8" \
++%if %{cross_compiling} \
++ export CROSSCOMPILE_FILE="--cross-file=%{_prefix}/%{_target_platform}/share/meson/%{_target_platform}.cross" \
++%endif \
+ %{shrink:%{__meson} setup \
+ --buildtype=plain \
++ $CROSSCOMPILE_FILE \
+ --prefix=%{_prefix} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
diff --git a/meson.spec b/meson.spec
index e5137f6..80de563 100644
--- a/meson.spec
+++ b/meson.spec
@@ -1,13 +1,14 @@
Summary: A software build system
Name: meson
Version: 1.0.1
-Release: 1
+Release: 2
URL: http://mesonbuild.com/
License: Apache-2.0
Group: Development/Tools
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: meson-0.42.1-macros.patch
Patch1: meson-0.54.2-add-meson32-macro.patch
+Patch2: meson-1.0.1-crosscompile-macros.patch
BuildRequires: python >= 3.0
BuildRequires: python3dist(pip)
BuildArch: noarch
Not Available
| benbullard79 [@T] cox.net | No Comment. | 1102d 17hrs |
| benbullard79 [@T] cox.net | No Comment. | 1102d 17hrs |
| benbullard79 [@T] cox.net | No Comment. | 1102d 15hrs |
| benbullard79 [@T] cox.net | No Comment. | 1101d 23hrs |
| benbullard79 [@T] cox.net | No Comment. | 1101d 23hrs |