summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23Release 1.19.2HEAD1.19.2masterdiscontinued-for-monorepoTim-Philipp Müller1-1/+1
2021-06-02Use g_memdup2() where available and add fallback for older GLib versionsTim-Philipp Müller1-0/+4
g_memdup() is deprecated since GLib 2.68 and we want to avoid deprecation warnings with recent versions of GLib. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1171>
2021-06-01Back to developmentTim-Philipp Müller1-1/+1
2021-06-01Release 1.19.11.19.1Tim-Philipp Müller1-1/+1
2021-05-17meson: fix up wrong escaping of variables in gl and plugins-base .pc fileTim-Philipp Müller1-0/+7
Workaround for pkg.generate() escaping spaces in pc variables that shouldn't be escaped. Perhaps going back to configure_file() would be a better option though. Really needs a fix in Meson. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/884 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1150>
2021-05-17meson: add custom pkg-config variables also to uninstalled .pc filesTim-Philipp Müller1-3/+7
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1150>
2020-11-04meson: Enable some MSVC warnings for parity with GCC/ClangNirbheek Chauhan1-6/+12
This makes it easier to do development with MSVC by making it warn on common issues that GCC/Clang error out for in our CI configuration. Continuation from https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/223 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/918>
2020-10-23Meson: Use pkg-config generatorXavier Claessens1-1/+25
2020-10-15meson: update glib minimum version to 2.56Stéphane Cerveau1-1/+1
In order to support the symbol g_enum_to_string in various project using GStreamer ( gst-validate etc.), the glib minimum version should be 2.56.0. Remove compat code as glib requirement is now > 2.56 Version used by Ubuntu 18.04 LTS Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/874>
2020-10-09build: use cpu_family for arch checksMatthew Waters1-1/+1
e.g. on 32-bit arm, we may have armv6, armv7l, armv7hf, etc which all generally have the same layouts. cpu_family() groups all of these into just 'arm' that the ABI check table is expecting. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/854>
2020-10-01meson: Always wrap "prefix" option with join_paths() to make Windows happySeungha Yang1-1/+1
Both "\" and "/" separators are allowed on Windows but the problem is that "\" is not converted to "\\" in this case. It will result to unknown/unrecognized character escape sequence. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/818>
2020-09-14meson: add abi configuration for meson buildsohwan.park1-0/+24
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/815>
2020-09-08Back to developmentTim-Philipp Müller1-2/+2
2020-09-08Release 1.18.01.18.0Tim-Philipp Müller1-1/+1
2020-09-07meson: dist pot file in tarballTim-Philipp Müller1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/808>
2020-08-20Release 1.17.901.17.90Tim-Philipp Müller1-1/+1
2020-08-04meson: Only look for Objective-C compiler on macOS/iOSNirbheek Chauhan1-2/+8
On Windows, MinGW-GCC Objective-C compilers can be in PATH and mess up the build since they may not match the CPU family of the C/C++ compilers we are using. Also require them on macOS/iOS, because they should always be present. Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/88 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/774>
2020-07-23meson: add a plugin summaryStéphane Cerveau1-0/+15
This summary displays a list of plugins which have been enabled. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/765>
2020-07-08meson: set release date from .doap file for releasesTim-Philipp Müller1-0/+14
And fix up DOAP file XML. Parser would complain about unknown entity &excl; here. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/743>
2020-07-04meson: add update-orc-dist targetTim-Philipp Müller1-0/+24
Add target to update backup orc -dist.[ch] files. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/734>
2020-07-03Back to developmentTim-Philipp Müller1-1/+1
2020-07-03Release 1.17.21.17.2Tim-Philipp Müller1-1/+1
2020-06-20Back to developmentTim-Philipp Müller1-1/+1
2020-06-19Release 1.17.11.17.1Tim-Philipp Müller1-1/+1
2020-05-12meson: Pass native: false to add_languages()Nirbheek Chauhan1-2/+2
This is needed for cross-compiling without a build machine compiler available. The option was added in 0.54, but we only need this in Cerbero and it doesn't affect older versions so it should be ok. Will only cause a spurious warning. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/660>
2020-03-08tcpclientsrc: Fix compilation on FreeBSDVivia Nikolaidou1-0/+8
The members of the tcp_info struct are prefixed with a double underscore, as reported in https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/584#note_423487
2020-02-28tcpclientsrc: Expose connection stats as propertyVivia Nikolaidou1-0/+2
Unfortunately the OS takes care of bad connections for us, so we can't get the stats in a platform-independent way. Count total bytes received as well, platform-independently.
2019-12-09test: fix up HAVE_X11 / HAVE_X definesTim-Philipp Müller1-1/+1
Only HAVE_X was defined, while both HAVE_X11 and HAVE_X were used.
2019-12-09tests: playback: include stdlib.h unconditionallyTim-Philipp Müller1-1/+0
Like we do elsewhere. And drop the check for the header. Also remove some superfluous unistd.h includes.
2019-12-09pango: check if localtime_r is availableTim-Philipp Müller1-0/+1
HAVE_LOCALTIME_R was used, but never defined.
2019-12-03build: use -fvisibility=hidden for objc codeMatthew Waters1-0/+3
2019-10-18meson: build gir even when cross-compiling if introspection was enabled ↵Tim-Philipp Müller1-1/+1
explicitly This can be made to work in certain circumstances when cross-compiling, so default to not building g-i stuff when cross-compiling, but allow it if introspection was enabled explicitly via -Dintrospection=enabled. See gstreamer/gstreamer#454 and gstreamer/gstreamer#381.
2019-09-03meson: Reenable NEON supportDoug Nazar1-0/+12
2019-06-03meson: Bump minimal GLib version to 2.44Niels De Graef1-1/+1
This means we can use some newer features and get rid of some boilerplate code using the G_DECLARE_* macros. As discussed on IRC, 2.44 is old enough by now to start depending on it.
2019-05-14meson: Don't try to find gio-unix on WindowsSeungha Yang1-2/+5
2019-05-13doc: Port to hotdocThibault Saunier1-13/+4
2019-04-19Back to developmentTim-Philipp Müller1-1/+1
2019-04-19Release 1.16.01.16.0Tim-Philipp Müller1-1/+1
2019-04-11Release 1.15.901.15.90Tim-Philipp Müller1-1/+1
2019-03-23g-i: pass --quiet to g-ir-scannerTim-Philipp Müller1-1/+1
This suppresses the annoying 'g-ir-scanner: link: cc ..' output that we get even if everything works just fine. We still get g-ir-scanner warnings and compiler warnings if we pass this option.
2019-03-04Back to developmentTim-Philipp Müller1-1/+1
2019-02-26Release 1.15.21.15.2Tim-Philipp Müller1-1/+1
2019-01-30meson: Add support orc fallbackSeungha Yang1-1/+2
Allow fallback to orc subproject if any. Additionally 'dependencies' keyword is removed from find_library, because it's invalid keyword for find_library.
2019-01-17Release 1.15.11.15.1Tim-Philipp Müller1-1/+1
2018-12-18meson: Use join_paths() instead of '/'Seungha Yang1-1/+1
Let Meson decide correct seperator such as '\' for Windows and '/' for others
2018-12-18tests: Enable testing on WindowsSeungha Yang1-5/+3
2018-10-08meson: use new 'python' module instead of deprecatedTim-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-2/+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-21meson: Specify encoding to UTF-8 when building with MSVCSeungha Yang1-0/+1
Fix build on some non-US locale Windows systems Error: gst-plugins-base/tools/gst-device-monitor.c(278): error C2001 https://bugzilla.gnome.org/show_bug.cgi?id=797186
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.