Skip to content

Commit

Permalink
Linux: Build GStreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed May 16, 2024
1 parent 71efca9 commit 393edf5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/gstreamer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
gst_version:
description: Version of GStreamer to Build
required: true
default: 1.22.11
default: 1.24.3
build_type:
description: Build Type "release" or "debug"
required: true
Expand Down
11 changes: 11 additions & 0 deletions cmake/FindGStreamer.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
if(LINUX)
set(GST_FULL_STATIC ON)
endif()

if(GST_FULL_STATIC)
find_package(PkgConfig)
pkg_check_modules(GST IMPORTED_TARGET gstreamer-full-1.0)
target_link_libraries(qmlglsink PUBLIC PkgConfig::GST)
return()
endif()

if(ANDROID)
set(GST_STATIC_BUILD ON)
else()
Expand Down

0 comments on commit 393edf5

Please sign in to comment.