[simplescreenrecorder] Correct build for ARM.

Vasiliy Glazov vascom at rpmfusion.org
Mon Oct 3 13:28:56 CEST 2016


commit df5501be52b8a6a36d3082aa333975fa15c69b49
Author: Vascom <vascom2 at gmail.com>
Date:   Mon Oct 3 14:28:37 2016 +0300

    Correct build for ARM.

 simplescreenrecorder.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
index dba4ccc..4942200 100644
--- a/simplescreenrecorder.spec
+++ b/simplescreenrecorder.spec
@@ -36,7 +36,11 @@ It's 'simple' in the sense that it's easier to use than ffmpeg/avconv or VLC
 %build
 export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L libavformat libavcodec libavutil libswscale`"
 export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I libavformat libavcodec libavutil libswscale`"
-%configure
+%ifarch %{arm}
+    %configure --disable-glinjectlib
+%else
+    %configure
+%endif
 %make_build
 
 


More information about the rpmfusion-commits mailing list