X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=meson.build;h=767f98f114f4cfd39d79d2aba656db7142a55106;hb=HEAD;hp=21128a2ab8c3d797ec8633c2e05a8df7ad11d627;hpb=076d023508b8ddb5bbd8ab4d381143437ea2da05;p=platform%2Fupstream%2Fgst-plugins-base.git diff --git a/meson.build b/meson.build index 21128a2..767f98f 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gst-plugins-base', 'c', - version : '1.15.0.1', + version : '1.16.2', meson_version : '>= 0.47', default_options : [ 'warning_level=1', 'buildtype=debugoptimized' ]) @@ -250,8 +250,11 @@ glib_deps = [dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libg dependency('gobject-2.0', fallback: ['glib', 'libgobject_dep'])] # GIO is used by the GIO plugin, and by the TCP, SDP, and RTSP plugins gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep']) -giounix_dep = dependency('gio-unix-2.0', version : glib_req, required : host_system != 'windows', - fallback: ['glib', 'libgiounix_dep']) +giounix_dep = dependency('', required: false) +if host_system != 'windows' + giounix_dep = dependency('gio-unix-2.0', version : glib_req, + fallback: ['glib', 'libgiounix_dep']) +endif gmodule_dep = dependency('gmodule-no-export-2.0', fallback: ['glib', 'libgmodule_dep']) @@ -309,7 +312,8 @@ gst_controller_dep = dependency('gstreamer-controller-1.0', version : gst_req, have_orcc = false orcc_args = [] # Used by various libraries/elements that use Orc code -orc_dep = dependency('orc-0.4', version : orc_req, required : get_option('orc')) +orc_dep = dependency('orc-0.4', version : orc_req, required : get_option('orc'), + fallback : ['orc', 'orc_dep']) orcc = find_program('orcc', required : get_option('orc')) if orc_dep.found() and orcc.found() have_orcc = true @@ -329,6 +333,18 @@ have_sse = cc.has_argument(sse_args) have_sse2 = cc.has_argument(sse2_args) have_sse41 = cc.has_argument(sse41_args) +if host_machine.cpu_family() == 'arm' + if cc.compiles(''' +#include +int32x4_t testfunc(int16_t *a, int16_t *b) { + asm volatile ("vmull.s16 q0, d0, d0" : : : "q0"); + return vmull_s16(vld1_s16(a), vld1_s16(b)); +} +''', name : 'NEON support') + core_conf.set('HAVE_ARM_NEON', true) + endif +endif + if gst_dep.type_name() == 'internal' gst_proj = subproject('gstreamer') @@ -361,7 +377,7 @@ gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ 'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \ - 'gst_init(NULL,NULL);' ] + 'gst_init(NULL,NULL);', '--quiet'] pkgconfig = import('pkgconfig') plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')