commit 7e355e7975b5967ec47e6ba8784621a6cbc881dc
Author: Vascom <vascom2(a)gmail.com>
Date: Mon Oct 3 15:03:08 2016 +0300
Removed x86 ASM for ARM.
simplescreenrecorder.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
index 4942200..3e484ad 100644
--- a/simplescreenrecorder.spec
+++ b/simplescreenrecorder.spec
@@ -37,9 +37,9 @@ It's 'simple' in the sense that it's easier to use than
ffmpeg/avconv or VLC
export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L libavformat libavcodec libavutil
libswscale`"
export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I libavformat libavcodec
libavutil libswscale`"
%ifarch %{arm}
- %configure --disable-glinjectlib
+ %configure --disable-static --disable-x86-asm --disable-glinjectlib
%else
- %configure
+ %configure --disable-static
%endif
%make_build
@@ -49,7 +49,10 @@ export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I libavformat
libavcodec li
rm -f %{buildroot}%{_libdir}/*.la
mkdir -p %{buildroot}%{_libdir}/%{name}
-mv %{buildroot}%{_libdir}/lib%{shortname}-glinject.so
%{buildroot}%{_libdir}/%{name}/lib%{shortname}-glinject.so
+%ifarch %{arm}
+%else
+ mv %{buildroot}%{_libdir}/lib%{shortname}-glinject.so
%{buildroot}%{_libdir}/%{name}/lib%{shortname}-glinject.so
+%endif
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop