Bug#845108: simplescreenrecorder: FTBFS on non-x86 platforms

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <147964713659.26840.7686282237249016336.reportbug__47467.5348531038$1479647381$gmane$org@ikarus>
Source: simplescreenrecorder
Version: 0.3.6-1
Severity: normal

Hi!

simplescreenrecorder currently fails to build from source on non-x86
platforms due to a missing configure options (--disable-x86-asm)
to disable x86 inline assembly.

The following patch fixes the problem for me (tested on sparc64):

diff -Nru simplescreenrecorder-0.3.6/debian/rules simplescreenrecorder-0.3.6/debian/rules
--- simplescreenrecorder-0.3.6/debian/rules     2016-11-13 09:50:16.000000000 +0300
+++ simplescreenrecorder-0.3.6/debian/rules     2016-11-13 09:57:25.000000000 +0300
@@ -15,13 +15,14 @@
 #    requires the x86-only elfhacks code (see README.source)
 
 override_dh_auto_configure:
-ifeq ($(ARCH),$(filter $(ARCH),amd64 i386))
+ifeq ($(ARCH),$(filter $(ARCH),amd64 hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 x32))
                dh_auto_configure -- \
                --disable-assert
 else
                dh_auto_configure -- \
                --disable-assert \
-               --disable-glinjectlib
+               --disable-glinjectlib \
+               --disable-x86-asm
 endif
 
 override_dh_auto_install:

Cheers,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.