New package: obs-0.10.1

This commit is contained in:
lemmi 2015-06-26 04:32:32 +02:00
parent e3a785cdfe
commit 9bb3212334
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From d0c8195c1a863e35f23a4c3f5d130078a22bd651 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Fri, 26 Jun 2015 22:13:26 +0200
Subject: [PATCH] musl
---
libobs/util/threading-posix.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git libobs/util/threading-posix.c libobs/util/threading-posix.c
index dcf6d28..72df7dc 100644
--- libobs/util/threading-posix.c
+++ libobs/util/threading-posix.c
@@ -263,11 +263,7 @@ bool os_atomic_compare_swap_long(volatile long *val, long old_val, long new_val)
void os_set_thread_name(const char *name)
{
-#if defined(__APPLE__)
- pthread_setname_np(name);
-#elif defined(__FreeBSD__)
- pthread_set_name_np(pthread_self(), name);
-#elif !defined(__MINGW32__)
- pthread_setname_np(pthread_self(), name);
+#if defined(__GLIBC__)
+ pthread_setname_np(pthread_self(), name);
#endif
}
--
2.4.4

16
srcpkgs/obs/template Normal file
View File

@ -0,0 +1,16 @@
# Template file for 'obs'
pkgname=obs
version=0.10.1
revision=1
wrksrc=obs-studio-${version}
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="libX11-devel glu-devel ffmpeg-devel qt5-devel qt5-x11extras-devel
libXcomposite-devel pulseaudio-devel v4l-utils-devel jack-devel x264-devel"
short_desc="Open Broadcaster Software"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="https://obsproject.com"
distfiles="https://github.com/jp9000/obs-studio/archive/${version}.tar.gz"
checksum=f6cf9143b99e1e1325e81e777c2afdf2adb33b0c40cfc4419052f6eb981a8140