Accepting request 615052 from Emulators
- Fix aarch64 (by using clang) - Enable win64 option for aarch64 (forwarded request 614998 from Guillaume_G) OBS-URL: https://build.opensuse.org/request/show/615052 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wine?expand=0&rev=255
This commit is contained in:
commit
6299ec8564
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 7 11:41:33 UTC 2018 - guillaume.gardet@opensuse.org
|
||||
|
||||
- Fix aarch64 (by using clang)
|
||||
- Enable win64 option for aarch64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 25 19:20:01 UTC 2018 - meissner@suse.com
|
||||
|
||||
|
24
wine.spec
24
wine.spec
@ -39,6 +39,9 @@ BuildRequires: alsa-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: bison
|
||||
BuildRequires: capi4linux-devel
|
||||
%ifarch aarch64
|
||||
BuildRequires: clang >= 5
|
||||
%endif
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -217,6 +220,12 @@ export WIDL_TIME_OVERRIDE="0" # for reproducible builds.
|
||||
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'`
|
||||
%endif
|
||||
|
||||
%ifarch aarch64
|
||||
# ARM64 now requires clang
|
||||
# https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95
|
||||
export CC="/usr/bin/clang"
|
||||
%endif
|
||||
|
||||
%if %{staging} || %{nine}
|
||||
autoreconf -i -f
|
||||
%endif
|
||||
@ -226,7 +235,10 @@ autoreconf -i -f
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
%configure \
|
||||
--with-x \
|
||||
%ifarch x86_64
|
||||
%ifarch %{arm}
|
||||
--with-float-abi=hard \
|
||||
%endif
|
||||
%ifarch x86_64 aarch64
|
||||
--enable-win64 \
|
||||
%endif
|
||||
%if %{nine}
|
||||
@ -281,7 +293,7 @@ install -m 0755 %SOURCE1 %{buildroot}%{_bindir}/
|
||||
install -m 0755 %SOURCE2 %{buildroot}%{_bindir}/
|
||||
mv %{buildroot}/%{_mandir}/de.UTF-8 %{buildroot}/%{_mandir}/de
|
||||
mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr
|
||||
%ifnarch x86_64
|
||||
%ifnarch x86_64 aarch64
|
||||
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
|
||||
%endif
|
||||
install -pm0644 -c %{SOURCE11} %{buildroot}/%{_mandir}/man1/
|
||||
@ -362,12 +374,12 @@ chmod 755 %winedir/my-find-requires.sh
|
||||
%{_bindir}/wisotool
|
||||
%{_datadir}/wine
|
||||
%{_datadir}/applications/wine.desktop
|
||||
%ifnarch x86_64
|
||||
%ifnarch x86_64 aarch64
|
||||
%doc %{_mandir}/man1/wine.1*
|
||||
%endif
|
||||
%doc %{_mandir}/man1/winedbg.1*
|
||||
%doc %{_mandir}/man1/wineserver.1*
|
||||
%ifnarch x86_64
|
||||
%ifnarch x86_64 aarch64
|
||||
%doc %dir %doc %{_mandir}/pl
|
||||
%doc %dir %doc %{_mandir}/pl/man1
|
||||
%doc %{_mandir}/*/man1/wine.1*
|
||||
@ -396,14 +408,14 @@ chmod 755 %winedir/my-find-requires.sh
|
||||
%dir %{_datadir}/icons/hicolor/scalable
|
||||
%dir %{_datadir}/icons/hicolor/scalable/apps
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||
%ifarch %ix86 aarch64
|
||||
%ifarch %ix86
|
||||
%{_bindir}/wine
|
||||
%{_bindir}/wine-preloader
|
||||
%endif
|
||||
%ifarch ppc %arm
|
||||
%{_bindir}/wine
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64 aarch64
|
||||
%{_bindir}/wine64
|
||||
%{_bindir}/wine64-preloader
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user