Accepting request 1244874 from games

Fix ppc64le build

OBS-URL: https://build.opensuse.org/request/show/1244874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/godot?expand=0&rev=38
This commit is contained in:
Ana Guerrero 2025-02-11 20:23:37 +00:00 committed by Git OBS Bridge
commit 27276b042b
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 10 13:10:05 UTC 2025 - Michal Suchanek <msuchanek@suse.de>
- Fix ppc64le build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 15 12:00:00 UTC 2024 - cunix@mail.de Thu Aug 15 12:00:00 UTC 2024 - cunix@mail.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package godot # spec file for package godot
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2017 Luke Jones, luke.nukem.jones@gmail.com # Copyright (c) 2017 Luke Jones, luke.nukem.jones@gmail.com
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -93,11 +93,11 @@ BuildRequires: pkgconfig(freetype2) >= 2.10.2
# Using bundled freetype2 throws build errors, if # Using bundled freetype2 throws build errors, if
# we don't use bundled libpng and zlib as well. # we don't use bundled libpng and zlib as well.
BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libbrotlicommon)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: mbedtls-devel BuildRequires: mbedtls-devel
BuildRequires: pkgconfig(graphite2) BuildRequires: pkgconfig(graphite2)
BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(libbrotlicommon)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libwslay) BuildRequires: pkgconfig(libwslay)
BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(miniupnpc) BuildRequires: pkgconfig(miniupnpc)
@ -361,9 +361,13 @@ suffix=rv64
%ifarch aarch64 %ifarch aarch64
suffix=arm64 suffix=arm64
%else %else
%ifarch ppc64 ppc64le
suffix=ppc64
%else
suffix=%{__isa_name}_%{__isa_bits} suffix=%{__isa_name}_%{__isa_bits}
%endif %endif
%endif %endif
%endif
# Installing the editor # Installing the editor
install -D -p -m 755 bin/%{name}.linuxbsd.editor.$suffix %{buildroot}%{_bindir}/%{name} install -D -p -m 755 bin/%{name}.linuxbsd.editor.$suffix %{buildroot}%{_bindir}/%{name}