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

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Nov 20 13:05:36 UTC 2016


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 - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the pkg-multimedia-maintainers mailing list