Fix aarch64
This commit is contained in:
parent
1d66cf7428
commit
ff66fac748
21
freerdp-aarch64.patch
Normal file
21
freerdp-aarch64.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- freerdp-1.1.0-beta+2013071101/cmake/ConfigOptions.cmake.orig 2014-06-07 20:34:55.607853558 +0100
|
||||||
|
+++ freerdp-1.1.0-beta+2013071101/cmake/ConfigOptions.cmake 2014-06-07 20:36:29.987547540 +0100
|
||||||
|
@@ -6,6 +6,8 @@
|
||||||
|
elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (APPLE))
|
||||||
|
# Mac is weird like that.
|
||||||
|
set(TARGET_ARCH "x64")
|
||||||
|
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
|
||||||
|
+ set(TARGET_ARCH "AARCH64")
|
||||||
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
|
||||||
|
set(TARGET_ARCH "ARM")
|
||||||
|
endif()
|
||||||
|
@@ -19,6 +21,9 @@
|
||||||
|
option(WITH_SSE2 "Enable SSE2 optimization." OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
+if(TARGET_ARCH MATCHES "AARCH64")
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
if(TARGET_ARCH MATCHES "ARM")
|
||||||
|
if (NOT DEFINED WITH_NEON)
|
||||||
|
option(WITH_NEON "Enable NEON optimization." ON)
|
14
freerdp.spec
14
freerdp.spec
@ -1,12 +1,13 @@
|
|||||||
Name: freerdp
|
Name: freerdp
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 0.11.beta.2013071101%{?dist}
|
Release: 0.12.beta.2013071101%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Remote Desktop Protocol client
|
Summary: Remote Desktop Protocol client
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://www.freerdp.com/
|
URL: http://www.freerdp.com/
|
||||||
Source0: http://pub.freerdp.com/releases/%{name}-%{version}-beta+2013071101.tar.gz
|
Source0: http://pub.freerdp.com/releases/%{name}-%{version}-beta+2013071101.tar.gz
|
||||||
|
Patch0: freerdp-aarch64.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
@ -67,8 +68,8 @@ developing applications that use %{name} libs.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q -n freerdp-1.1.0-beta+2013071101
|
%setup -q -n freerdp-1.1.0-beta+2013071101
|
||||||
|
%patch0 -p1 -b .aarch64
|
||||||
|
|
||||||
cat << EOF > xfreerdp.desktop
|
cat << EOF > xfreerdp.desktop
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
@ -101,7 +102,8 @@ EOF
|
|||||||
-DWITH_FFMPEG=OFF \
|
-DWITH_FFMPEG=OFF \
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
-DWITH_SSE2=ON \
|
-DWITH_SSE2=ON \
|
||||||
%else
|
%endif
|
||||||
|
%ifarch %{ix86}
|
||||||
-DWITH_SSE2=OFF \
|
-DWITH_SSE2=OFF \
|
||||||
%endif
|
%endif
|
||||||
%ifarch armv7hl
|
%ifarch armv7hl
|
||||||
@ -115,6 +117,9 @@ EOF
|
|||||||
%ifarch armv5tel armv6l armv7l
|
%ifarch armv5tel armv6l armv7l
|
||||||
-DARM_FP_ABI=soft \
|
-DARM_FP_ABI=soft \
|
||||||
-DWITH_NEON=OFF \
|
-DWITH_NEON=OFF \
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DWITH_SSE2=OFF \
|
||||||
%endif
|
%endif
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
||||||
.
|
.
|
||||||
@ -173,6 +178,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1:1.1.0-0.12.beta.2013071101
|
||||||
|
- Fix aarch64
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1.0-0.11.beta.2013071101
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1.0-0.11.beta.2013071101
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user