Name: %{_name}
Version: 1.20.0
-Release: 9
+Release: 10
Summary: Streaming-Media Framework Runtime
License: LGPL-2.0+
Group: Multimedia/Framework
-subdir('uridownloader')
+subdir('codecparsers')
+subdir('mpegts')
+subdir('codecs')
+subdir('sctp')
+subdir('transcoder')
+subdir('wayland')
+subdir('webrtc')
+if not (get_option('tv-profile'))
+subdir('uridownloader')
subdir('adaptivedemux')
subdir('audio')
subdir('basecamerabinsrc')
-subdir('codecparsers')
-subdir('codecs')
subdir('d3d11')
subdir('insertbin')
subdir('interfaces')
subdir('isoff')
-subdir('mpegts')
subdir('opencv')
subdir('play')
subdir('player')
-subdir('sctp')
-subdir('transcoder')
subdir('va')
subdir('vulkan')
-subdir('wayland')
-subdir('webrtc')
subdir('winrt')
+endif
cdata.set('TIZEN_FEATURE_WEBRTC_MODIFICATION', true)
cdata.set('TIZEN_FEATURE_WEBRTC_IMPORT_NETSIM', true)
cdata.set('TIZEN_FEATURE_PITCH_AUDIO_META', true)
+if get_option('tv-profile')
+ cdata.set('TIZEN_PROFILE_TV', true)
+ cdata.set('TIZEN_FEATURE_TRUSTZONE', true)
+endif
+
+# TIZEN_GLOBAL_BUILD_OPTION
+cdata.set('TIZEN_FEATURE_BASEPARSE_MODIFICATION', true)
+cdata.set('TIZEN_FEATURE_WAYLAND_ENHANCEMENT', true)
+cdata.set('USE_TBM', true)
# For plugins from libnice
libnice_dep = dependency('nice', version : '>=0.1.17', required : get_option('nice'))
dependencies : gstvideo_deps,
)
+extra_defs = ['-DTIZEN_FEATURE_WAYLAND_ENHANCEMENT']
+if get_option('tv-profile')
+ extra_defs += ['-DTIZEN_PROFILE_TV']
+endif
+
library_def = {'lib': gstvideo}
pkg_name = 'gstreamer-video-1.0'
pkgconfig.generate(gstvideo,
libraries : [gst_dep, gst_base_dep],
variables : pkgconfig_variables,
subdirs : pkgconfig_subdirs,
- extra_cflags : ['-DTIZEN_FEATURE_WAYLAND_ENHANCEMENT'],
+ extra_cflags : extra_defs,
name : pkg_name,
description : 'Video base classes and helper functions',
)
core_conf.set('TIZEN_FEATURE_RESOURCE_MANAGER', true)
endif
+# TIZEN_GLOBAL_BUILD_OPTION
+core_conf.set('TIZEN_FEATURE_BASEPARSE_MODIFICATION', true)
+
# TIZEN_BUILD_OPTION end
# Used to build SSE* things in audio-resampler
cdata.set('TIZEN_FEATURE_GST_MUX_ENHANCEMENT', true)
cdata.set('TIZEN_FEATURE_V4L2_DISABLE_COLORIMETRY', true)
+if get_option('tv-profile')
+ cdata.set('TIZEN_PROFILE_TV', true)
+ cdata.set('TIZEN_FEATURE_TRUSTZONE', true)
+endif
+
+# TIZEN_GLOBAL_BUILD_OPTION
+cdata.set('TIZEN_FEATURE_BASEPARSE_MODIFICATION', true)
+cdata.set('TIZEN_FEATURE_WAYLAND_ENHANCEMENT', true)
+
gio_dep = dependency('gio-2.0')
# TIZEN_BUILD_OPTION end
# Tizen Options
option('tbm', type : 'boolean', value : true,
description : 'tizen buffer manager')
+option('tv-profile', type : 'boolean', value : false,
+ description : 'tv-profile')
cdata.set('TIZEN_FEATURE_ASFDEMUX_CHECK_DATA_SIZE', true)
cdata.set('TIZEN_FEATURE_ASFDEMUX_DISABLE_UNSUPPORTED_FORMAT', true)
cdata.set('TIZEN_FEATURE_ASFDEMUX_POST_TAG_MSG', true)
+
+if get_option('tv-profile')
+ cdata.set('TIZEN_PROFILE_TV', true)
+ cdata.set('TIZEN_FEATURE_TRUSTZONE', true)
+endif
# TIZEN_BUILD_OPTION end
ugly_args = ['-DHAVE_CONFIG_H']
gst_debug_disabled = cc.has_header_symbol('gst/gstconfig.h', 'GST_DISABLE_GST_DEBUG', dependencies: gst_dep)
endif
-# TIZEN_OPTION
-
-if get_option('tv-profile')
- core_conf.set('TIZEN_PROFILE_TV', true)
- core_conf.set('TIZEN_FEATURE_TRUSTZONE', true)
-endif
-
-# TIZEN_OPTION end
-
if gst_debug_disabled
message('GStreamer debug system is disabled')
if cc.has_argument('-Wno-unused')
GST_QUERY_CONTEXT = GST_QUERY_MAKE_TYPE (190, _FLAG(BOTH)),
GST_QUERY_BITRATE = GST_QUERY_MAKE_TYPE (200, _FLAG(DOWNSTREAM)),
#ifdef TIZEN_PROFILE_TV
- GST_QUERY_RESOURCE = GST_QUERY_MAKE_TYPE (210, FLAG (BOTH)), /*< skip >*/
+ GST_QUERY_RESOURCE = GST_QUERY_MAKE_TYPE (210, _FLAG (BOTH)), /*< skip >*/
#endif
} GstQueryType;
#undef _FLAG
+extra_defs = []
+
gst_base_sources = files(
'gstadapter.c',
'gstaggregator.c',
dependencies : [gobject_dep, glib_dep, gst_dep],
)
+extra_defs += ['-DTIZEN_FEATURE_BASEPARSE_MODIFICATION']
+if get_option('tv-profile')
+ extra_defs += ['-DTIZEN_PROFILE_TV', '-DTIZEN_FEATURE_TRUSTZONE']
+endif
+
library_def = {'lib': gst_base}
pkg_name = 'gstreamer-base-1.0'
gst_base_gen_sources = []
libraries : [libgst],
variables : pkgconfig_variables,
subdirs : pkgconfig_subdirs,
+ extra_cflags : extra_defs,
name : pkg_name,
description : 'Base classes for GStreamer elements',
)