[packages/glycin-loaders] - use --target on x32, updated rust version

qboosh qboosh at pld-linux.org
Sat May 11 08:35:40 CEST 2024


commit 3678a99febc1b6e53efb68ccc85874e6c2dd26cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 11 07:15:30 2024 +0200

    - use --target on x32, updated rust version

 glycin-loaders.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/glycin-loaders.spec b/glycin-loaders.spec
index 8ac8615..c521c23 100644
--- a/glycin-loaders.spec
+++ b/glycin-loaders.spec
@@ -21,7 +21,7 @@ BuildRequires:	ninja >= 1.5
 BuildRequires:	pango-devel
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.736
-BuildRequires:	rust
+BuildRequires:	rust >= 1.75
 Requires:	cairo >= 1.17.0
 Requires:	gtk4 >= 4.12.0
 Requires:	libheif >= 1.14.2
@@ -42,6 +42,10 @@ wczytujących działających w piaskownicy.
 %prep
 %setup -q
 
+%ifarch x32
+%{__sed} -i -e "/^cargo_options/ a '--target', 'x86_64-unknown-linux-gnux32'," loaders/meson.build
+%endif
+
 %build
 %meson build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glycin-loaders.git/commitdiff/3678a99febc1b6e53efb68ccc85874e6c2dd26cc



More information about the pld-cvs-commit mailing list