summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04Back to developmentTim-Philipp Müller1-1/+1
2019-02-26Release 1.15.2Tim-Philipp Müller1-1/+1
2019-01-30meson: Add support orc fallbackSeungha Yang1-1/+3
Allow fallback to orc subproject if any, and add missing orc version check. Additionally 'dependencies' keyword is removed from find_library, because it's invalid keyword for find_library.
2019-01-22meson: detect opengl api from -base .pc files correctlyTim-Philipp Müller1-1/+5
There was a mismatch between the .pc files generated by autotools and by meson that would lead to meson not detecting that opengl api is available even though it is. This could lead to build failures when building -bad with meson against a -base that was built with autotools. The mismatch has now been rectified but we will still check the old one for backwards compatibility.
2019-01-22meson: remove some cruftTim-Philipp Müller1-130/+0
2019-01-17Release 1.15.1Tim-Philipp Müller1-1/+1
2018-12-18meson: Prefer to use join_paths() over '/'Seungha Yang1-1/+1
... to avoid mixing '/' and '\' in a path string on Windows.
2018-12-18tests: Enable unit test on WindowsSeungha Yang1-3/+1
Allow run some unit tests on Windows. * Add dependency explicitly for some test cases, otherwise plugins couldn't be loaded on uninstalled environment of Windows. * Add missing GST_PLUGIN_LOADING_WHITELIST on meson build.
2018-12-18Remove acmmp3dec and acmenc pluginsTim-Philipp Müller1-2/+0
ACM is an ancient legacy API, and there's no point in keeping it around for a licensed mp3 decoder now that mp3 patents have expired and we have a decoder in -good. We didn't ship this in cerbero anyway. If there's a good case for the AAC encoder (which is LC only anyway) someone should write a new plugin based on current APIs, that can actually be built out of the box. Fixes #850
2018-12-17meson: build voamrwbenc pluginTim-Philipp Müller1-0/+2
2018-11-24meson: Specify encoding to UTF-8 when building with MSVCSeungha Yang1-0/+1
Use build arguments consistent with core and -base. This can also remove noisy "C4819" warning of non-us locale MSVC.
2018-11-12build: link against the gnustl dependency on android for c++ pluginsMatthew Waters1-0/+5
2018-10-08meson: use new 'python' module instead of deprecated 'python3' oneTim-Philipp Müller1-1/+1
https://github.com/mesonbuild/meson/pull/4169
2018-09-24libs: fix API export/import and 'inconsistent linkage' on MSVCTim-Philipp Müller1-5/+11
For each lib we build export its own API in headers when we're building it, otherwise import the API from the headers. This fixes linker warnings on Windows when building with MSVC. The problem was that we had defined all GST_*_API decorators unconditionally to GST_EXPORT. This was intentional and only supposed to be temporary, but caused linker warnings because we tell the linker that we want to export all symbols even those from externall DLLs, and when the linker notices that they were in external DLLS and not present locally it warns. What we need to do when building each library is: export the library's own symbols and import all other symbols. To this end we define e.g. BUILDING_GST_FOO and then we define the GST_FOO_API decorator either to export or to import symbols depending on whether BUILDING_GST_FOO is set or not. That way external users of each library API automatically get the import. While we're at it, add new GST_API_EXPORT in config.h and use that for GST_*_API decorators instead of GST_EXPORT. The right export define depends on the toolchain and whether we're using -fvisibility=hidden or not, so it's better to set it to the right thing directly than hard-coding a compiler whitelist in the public header. We put the export define into config.h instead of passing it via the command line to the compiler because it might contain spaces and brackets and in the autotools scenario we'd have to pass that through multiple layers of plumbing and Makefile/shell escaping and we're just not going to be *that* lucky. The export define is only used if we're compiling our lib, not by external users of the lib headers, so it's not a problem to put it into config.h Also, this means all .c files of libs need to include config.h to get the export marker defined, so fix up a few that didn't include config.h. This commit depends on a common submodule commit that makes gst-glib-gen.mak add an #include "config.h" to generated enum/marshal .c files for the autotools build. https://bugzilla.gnome.org/show_bug.cgi?id=797185
2018-09-19meson: add glib-checks option to disable API guards and suchTim-Philipp Müller1-0/+6
We want this enabled by default, also in releases, but people may want to disable this for performance-critical workloads or on embedded devices.
2018-08-31meson: Maintain macOS ABI through dylib versioningNirbheek Chauhan1-1/+3
Requires Meson 0.48, but the feature will be ignored on older versions so it's safe to add it without bumping the requirement. Documentation: https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
2018-08-18meson: add options to disable gobject cast checks and glib assertsTim-Philipp Müller1-0/+19
... and define G_DISABLE_DEPRECATED for development versions, like we do in autotools.
2018-08-17meson: host_system is 'ios' when building for iOSNirbheek Chauhan1-4/+4
The cross file sets this value, and we use 'ios' in Cerbero.
2018-08-17meson: Add an option for testsNirbheek Chauhan1-0/+1
This is needed because we don't always have gstreamer-check available, for instance inside Cerbero on iOS.
2018-08-15meson: Define HAVE_OSX on macOS and iOSNirbheek Chauhan1-6/+3
Needed by the shm, ladspa, and lv2 plugins. Same as Autotools.
2018-08-03meson: enable applemediaAlessandro Decina1-3/+23
2018-08-02opencv: Fixup include to follow new standardNicolas Dufresne1-2/+0
This uses the new path for OpenCV headers. OpenCV now have master headers files per modules, which reduce the amount of required includes. Note that HIGHGUI was included to get the imgcodecs includes, which I fixed, though the master header is missing the C headers, so I included that directly. All the image stuff should be ported to C++ eventually. Finally, this patch also update the header checks to reflect the modules that are really being used.
2018-07-27Add feature options for almost all pluginsNirbheek Chauhan1-27/+8
The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27meson: Add feature options for many pluginsNirbheek Chauhan1-22/+15
The rest will be converted later, these are necessary for gst-build to set options correctly. https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-05-21meson: add 'nls' option to disable translationsTim-Philipp Müller1-1/+5
And enable by default. Was implicitly disabled because ENABLE_NLS was not defined.
2018-05-05meson: Update option names to omit disable_ and with- prefixesNirbheek Chauhan1-6/+6
Also yield common options to the outer project (gst-build in our case) so that they don't have to be set manually.
2018-04-25Meson: Generate pc file for all plugins in badXavier Claessens1-0/+8
https://bugzilla.gnome.org/show_bug.cgi?id=794568
2018-04-25meson: use -Wl,-Bsymbolic-functions where supportedTim-Philipp Müller1-1/+5
Just like the autotools build.
2018-03-22meson: webrtc: use gnome.mkenums_simple() to generate enumtypes filesTim-Philipp Müller1-3/+0
2018-03-22meson: use gnome.mkenums_simple() to generate enumtypes filesAlessandro Decina1-1/+1
Means we no longer need our custom scripts, nor template files.
2018-03-20Back to developmentTim-Philipp Müller1-1/+1
2018-03-19Release 1.14.0rhel-8.0Tim-Philipp Müller1-1/+1
2018-03-13Release 1.13.91Tim-Philipp Müller1-1/+1
2018-03-03Release 1.13.90Tim-Philipp Müller1-1/+1
2018-03-01meson: enable more warningsMathieu Duponchelle1-0/+46
2018-03-01Remove schroedinger pluginTim-Philipp Müller1-1/+0
No upstream (website disappeared), no maintainer, and pretty much a fringe format anyway. https://bugzilla.gnome.org/show_bug.cgi?id=776215
2018-02-21meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*Tim-Philipp Müller1-20/+8
add_global_arguments() can't be used in subprojects. It's entirely possible that -bad is a subproject but gstreamer is picked up from an installed location, so we should really use add_project_arguments() in both cases.
2018-02-21meson: Use .dylib suffix if darwinJustin Kim1-0/+4
For Mac OS, GST_EXTRA_MODULE_SUFFIX should be set as '.dylib'. https://bugzilla.gnome.org/show_bug.cgi?id=793585
2018-02-15Back to developmentTim-Philipp Müller1-1/+1
2018-02-15Release 1.13.1Tim-Philipp Müller1-1/+1
2018-02-08meson: make version numbers ints and fix int/string comparisonTim-Philipp Müller1-6/+6
WARNING: Trying to compare values of different types (str, int). The result of this is undefined and will become a hard error in a future Meson release.
2018-01-30meson: use -fno-strict-aliasing where supportedTim-Philipp Müller1-0/+8
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-22meosn: curl: also check for and use libssh2 if availableTim-Philipp Müller1-2/+2
2017-12-26meson: skip translations if gettext is not availableTim-Philipp Müller1-1/+5
2017-12-19meson: gl: fix build of openglmixers pluginTim-Philipp Müller1-6/+13
2017-12-19meson: fix dependency type name to check forTim-Philipp Müller1-1/+1
2017-12-19meson: fix build with GstGL from gst-plugins-base as subprojectTim-Philipp Müller1-11/+22
- use right fallback variable - get platform/winsys variables from subproject instead of pkg-config With contributions from Thibault Saunier.
2017-12-19gl: update plugins to use GstGL from -baseTim-Philipp Müller1-0/+17
2017-12-19meson: Use cdata.set_quoted and set LIBDIR correctlyNirbheek Chauhan1-12/+12
LIBDIR must include the prefix. Also use set_quoted instead of manually quoting because it's clearer what the intention is. https://bugzilla.gnome.org/show_bug.cgi?id=791751
2017-10-05meson: remove vs_module_defsHavard Graff1-2/+0
The GST_EXPORT should handle it.