[Bug 792189] srt: add recipe

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 11 00:54:13 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792189

--- Comment #26 from Justin J. Kim <justin.joy.9to5 at gmail.com> ---
Review of attachment 370726:
 --> (https://bugzilla.gnome.org/review?bug=792189&attachment=370726)

::: recipes/srt/0002-CMakeLists.txt-let-cmake-find-pthread.patch
@@ +2,3 @@
+From: Justin Kim <justin.kim at collabora.com>
+Date: Tue, 10 Apr 2018 11:57:59 +0900
+Subject: [PATCH] CMakeLists.txt: let cmake find pthread

This is a local patch because SRT has different approach.
I found SRT has released 1.3.0 yesterday, but I think it's better to stay 1.2.3
for a moment because it causes linking errors when I tested in cerbero.

@@ +42,3 @@
++set (THREADS_PREFER_PTHREAD_FLAG ON)
++find_package (Threads REQUIRED)
++set (SRT_LIBS_PRIVATE ${SRT_LIBS_PRIVATE} ${CMAKE_THREAD_LIBS_INIT})

Ah, I didn't check, but in bootstrap recipe, the version of cmake is defined as
3.7.1
'THREADS_PREFER_PTHREAD_FLAG' was introduced CMake >= 3.1.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list