mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
clapper: Support libpeas based plugin system
Allow loading external plugins called "Enhancers" that as the name suggests, enhance Clapper library capabilities. Currently implemented is a "ClapperExtractable" interface meant to extract an actual media that GStreamer can later play from an initial input URI. Additionally, an internal GStreamer elements that work with it are ported/moved here from "gtuber" library that this functionality replaces.
This commit is contained in:
@@ -85,6 +85,11 @@ libadwaita_dep = dependency('libadwaita-1',
|
||||
required: false,
|
||||
)
|
||||
|
||||
# Optional
|
||||
peas_dep = dependency('libpeas-2',
|
||||
required: false,
|
||||
)
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
libm = cc.find_library('m', required: false)
|
||||
|
||||
@@ -147,6 +152,9 @@ summary('vapi', build_vapi ? 'Yes' : 'No', section: 'Build')
|
||||
summary('doc', build_doc ? 'Yes' : 'No', section: 'Build')
|
||||
|
||||
if build_clapper
|
||||
foreach name : clapper_possible_functionalities
|
||||
summary(name, clapper_available_functionalities.contains(name) ? 'Yes' : 'No', section: 'Functionalities')
|
||||
endforeach
|
||||
foreach name : clapper_possible_features
|
||||
summary(name, clapper_available_features.contains(name) ? 'Yes' : 'No', section: 'Features')
|
||||
endforeach
|
||||
|
Reference in New Issue
Block a user