ssr: update to 0.3.7

This commit is contained in:
Alessio Sergi 2016-11-01 11:07:52 +01:00
parent ee890868bd
commit cc6789ee63
2 changed files with 4 additions and 47 deletions

View file

@ -1,43 +0,0 @@
From dadcbd6a04a77ccfaa38cbfa3f1ebd05942b7c24 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@voidlinux.eu>
Date: Fri, 6 May 2016 09:12:39 +0200
Subject: [PATCH] glinject/elfhacks.h: fix compilation with the musl C library.
- __ELF_NATIVE_CLASS is not declared anywhere on musl.
- ElfW is already declared in <link.h>.
Removed the BSD conditional because checking if the macros are
defined is imho a better way to know if they are available.
---
glinject/elfhacks.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/glinject/elfhacks.h b/glinject/elfhacks.h
index 973d8bb..3c351e2 100644
--- glinject/elfhacks.h
+++ glinject/elfhacks.h
@@ -48,15 +48,19 @@ extern "C" {
#if defined(__elf64)
# define ELFW_R_SYM ELF64_R_SYM
# define ElfW_Sword Elf64_Sxword
-# ifdef BSD
+# ifndef ElfW
# define ElfW(v) Elf64_##v
+# endif
+# ifndef __ELF_NATIVE_CLASS
# define __ELF_NATIVE_CLASS 64
# endif
#elif defined(__elf32)
# define ELFW_R_SYM ELF32_R_SYM
# define ElfW_Sword Elf32_Sword
-# ifdef BSD
+# ifndef ElfW
# define ElfW(v) Elf32_##v
+# endif
+# ifndef __ELF_NATIVE_CLASS
# define __ELF_NATIVE_CLASS 32
# endif
#else
--
2.8.2

View file

@ -1,11 +1,11 @@
# Template file for 'ssr'
pkgname=ssr
version=0.3.6
revision=4
version=0.3.7
revision=1
build_style=gnu-configure
configure_args="--with-qt5"
hostmakedepends="pkg-config"
makedepends="qt5-devel qt5-tools-devel qt5-x11extras-devel ffmpeg-devel
makedepends="qt5-tools-devel qt5-x11extras-devel ffmpeg-devel
alsa-lib-devel glu-devel libXfixes-devel libXext-devel libXi-devel
pulseaudio-devel jack-devel"
depends="desktop-file-utils"
@ -14,6 +14,6 @@ maintainer="Logen K <logen@sudotask.com>"
license="GPL-3"
homepage="http://www.maartenbaert.be/simplescreenrecorder/"
distfiles="https://github.com/MaartenBaert/${pkgname}/archive/${version}.tar.gz"
checksum=146f5bf26bd56d68ff4506c9756526fbf60c8737cb023759250c357935b309b5
checksum=e889fc177b8fed0aa907578478d8110420d2c553a32a5052249e54337f04f870
only_for_archs="i686 i686-musl x86_64 x86_64-musl"