Commit graph

103 commits

Author SHA1 Message Date
Tim-Philipp Müller
9af73aa1d1 meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*
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-21 19:46:04 +00:00
Justin Kim
2169c8807b meson: Use .dylib suffix if darwin
For Mac OS, GST_EXTRA_MODULE_SUFFIX should be set as '.dylib'.

https://bugzilla.gnome.org/show_bug.cgi?id=793585
2018-02-21 15:05:42 +00:00
Tim-Philipp Müller
c282f4148c Back to development 2018-02-15 19:44:23 +00:00
Tim-Philipp Müller
89a3d9e53e Release 1.13.1 2018-02-15 18:52:07 +00:00
Tim-Philipp Müller
34276dc373 meson: make version numbers ints and fix int/string comparison
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-02-08 19:13:35 +00:00
Tim-Philipp Müller
f75c7823dd meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:35:10 +00:00
Tim-Philipp Müller
cfe030ad1b meosn: curl: also check for and use libssh2 if available 2018-01-22 18:55:06 +00:00
Tim-Philipp Müller
ef557b5667 meson: skip translations if gettext is not available 2017-12-26 13:52:18 +01:00
Tim-Philipp Müller
27e1e515a4 meson: gl: fix build of openglmixers plugin 2017-12-19 17:34:50 +00:00
Tim-Philipp Müller
b680870c32 meson: fix dependency type name to check for 2017-12-19 15:14:07 +00:00
Tim-Philipp Müller
b7bfcc32d1 meson: fix build with GstGL from gst-plugins-base as subproject
- use right fallback variable
- get platform/winsys variables from subproject instead of pkg-config

With contributions from Thibault Saunier.
2017-12-19 15:07:48 +00:00
Tim-Philipp Müller
06e4403fdb gl: update plugins to use GstGL from -base 2017-12-19 12:02:31 +00:00
Nirbheek Chauhan
a07248aec4 meson: Use cdata.set_quoted and set LIBDIR correctly
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-12-19 01:14:03 +05:30
Havard Graff
22f0f11abf meson: remove vs_module_defs
The GST_EXPORT should handle it.
2017-10-05 13:57:48 +01:00
George Kiagiadakis
282b682cab tests: ipcpipeline: provide pipe2() on systems that don't have it
https://bugzilla.gnome.org/show_bug.cgi?id=786763
2017-08-31 15:09:24 +03:00
Tim-Philipp Müller
57b542c5e5 meson: hide symbols by default unless explicitly exported 2017-08-11 13:59:04 +01:00
Tim-Philipp Müller
e0c1edcf56 meson: add translations 2017-07-15 12:52:38 +01:00
Nirbheek Chauhan
7e6a44388b meson: Set python3 before plugin subdir()s
It's used by the msdk plugin
2017-07-07 17:07:31 +05:30
Tim-Philipp Müller
151aa9ee2a meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
2017-07-07 11:59:03 +01:00
Thibault Saunier
d9c61ff4aa meson: Allow using glib as a subproject 2017-06-28 11:40:17 -04:00
Tim-Philipp Müller
4f9163c06c meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
2017-06-26 09:52:24 +01:00
Mathieu Duponchelle
794ada056a tests: start porting to meson
Incomplete port, to get the ball rolling

https://bugzilla.gnome.org/show_bug.cgi?id=782962
2017-06-07 20:21:17 +02:00
Tim-Philipp Müller
c402496916 Require wildmidi >= 0.4
https://bugzilla.gnome.org/show_bug.cgi?id=768576
2017-05-23 09:58:08 +01:00
Tim-Philipp Müller
bd22e10799 meson: don't need config.h.meson any longer 2017-05-21 18:03:02 +01:00
Tim-Philipp Müller
918ad83e46 meson: add options to set package name and origin
https://bugzilla.gnome.org/show_bug.cgi?id=782172
2017-05-20 15:04:45 +01:00
Nicolas Dufresne
60fa3cab5b Bump and update for meson 0.40.1
This patch bumps the required meson to 0.40.1 as gstreamer core just
did, and cleanup some code to use a feature from 0.37 that allow
specifying version range when checking dependency.

https://bugzilla.gnome.org/show_bug.cgi?id=780654
2017-05-09 13:18:45 -04:00
Scott D Phillips
0309b20098 meson: Ignore msvc warnings in C++ as well
We were only ignoring the listed msvc warnings for C language
files and not C++. This was working by the coincidence that we did
not have any instances of these warnings in C++ files. Lately the
build of decklink has been fixed on windows, and it has an
instance of one of these warnings in a C++ file.

https://bugzilla.gnome.org/show_bug.cgi?id=782345
2017-05-08 19:18:03 +01:00
Sebastian Dröge
09fe080e6a Back to development 2017-05-04 18:59:14 +03:00
Sebastian Dröge
da5b0d7ad3 Release 1.12.0 2017-05-04 15:39:05 +03:00
Sebastian Dröge
b73339d751 Release 1.11.91 2017-04-27 17:30:38 +03:00
Sebastian Dröge
75acc1afad Release 1.11.90 2017-04-07 16:32:24 +03:00
Nirbheek Chauhan
ddcd7735b6 meson: Build mpeg2enc and mplex when available 2017-03-23 02:48:39 +05:30
Sebastian Dröge
46d7470e6e meson: Update version 2017-02-24 15:59:44 +02:00
Thibault Saunier
cea4346d84 meson: Build GIR files 2017-01-23 12:48:53 -03:00
Tim-Philipp Müller
96a374ebce meson: bump version 2017-01-13 12:39:21 +00:00
Tim-Philipp Müller
3ecf1d8fd1 meson: build decklink plugin 2017-01-05 20:34:14 +00:00
Thibault Saunier
eb728ad13b meson: Support building without Gst debug 2017-01-05 09:52:47 -03:00
Sebastian Dröge
9b5de05399 Remove various unported plugins
If they were not ported after 4+ years it seems unlikely that anybody is
ever going to need them again. They're still in the GIT history if
needed.

https://bugzilla.gnome.org/show_bug.cgi?id=774530
2016-12-21 11:17:11 +02:00
Nirbheek Chauhan
2160e0e2bd meson: Rework opencv plugin checks
a) Use get_pkgconfig_variable() to get the opencv prefix
b) Place an upper limit on the opencv version
c) Ensure that headers are available

(b) and (c) just copy what the configure.ac checks do.
2016-11-29 02:00:52 +05:30
Scott D Phillips
62fb78d084 meson: add_global_arguments -> add_project_arguments
https://bugzilla.gnome.org/show_bug.cgi?id=774656
2016-11-18 09:39:59 +00:00
Matthew Waters
b69dadcc61 meson: wayland: move dep checks to the lib
Moves them closer to where they are used.  We don't want every check in
the main meson.build file.
2016-11-17 15:16:18 +11:00
Thibault Saunier
c38d3a41e2 meson: Build waylandsink
https://bugzilla.gnome.org/show_bug.cgi?id=774493
2016-11-15 18:33:25 -03:00
Scott D Phillips
ba2908aa2c meson: don't add_global_arguments when being built as a subproject
https://bugzilla.gnome.org/show_bug.cgi?id=773568
2016-11-11 16:55:38 +00:00
Tim-Philipp Müller
92384493c1 meson: update version 2016-11-01 18:10:23 +00:00
Nirbheek Chauhan
27df1b6c90 meson: Don't warn about C4146 with MSVC
The error is:

unary minus operator applied to unsigned type, result still unsigned

This is a commonly-done operation in gstreamer and it's done on purpose.
It's just noise.
2016-10-27 23:06:25 +05:30
Scott D Phillips
7ce5fabc82 meson: Remove gstreamer-check-1.0 dependency
It will later be added under tests/check

https://bugzilla.gnome.org/show_bug.cgi?id=773114
2016-10-21 06:05:19 -03:00
Nirbheek Chauhan
7c7e0a6a6d meson: Don't set c_std to gnu99
Use the default for each compiler on every platform instead. This
improves our compatibility with compilers that don't have gnu99 as
a c_std.
2016-10-15 22:19:02 +05:30
Thibault Saunier
712c1b3c68 meson: Setup pre-commit hooks when configuring 2016-09-30 11:38:24 -03:00
Tim-Philipp Müller
dd118c4737 meson: update version 2016-09-30 11:43:29 +01:00
Thibault Saunier
f5c547063c meson: Fix building with meson 0.34 when using subprojects
When using subproject meson.source_root() returns the root
directory of the toplevel project which break build.

Upstream meson bug: https://github.com/mesonbuild/meson/issues/722
2016-09-05 22:32:55 -03:00
Thibault Saunier
ee46fba6c1 meson: Bump version to 1.9.2 2016-09-05 12:22:17 -03:00
Thibault Saunier
50473d77cc meson: Make mpegts lib build when using subprojects
The headers passed as parametter are relative to the build dir
basically "../subproject/gst-plugins-bad/gst-libs/gst/mpegts/XXX.h"
but that does not match what is needed at build time when building as
subproject, also we always add current dir as include_dir so we are
safe including directly.

And link mpegtsdemux against the 'math' library as it is needed.
2016-08-25 15:17:17 -03:00
Nirbheek Chauhan
42af2d66d8 Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson

With contributions from:

Tim-Philipp Müller <tim@centricular.com>
Matej Knopp <matej.knopp@gmail.com>
Jussi Pakkanen <jpakkane@gmail.com> (original port)

Highlights of the features provided are:
* Faster builds on Linux (~40-50% faster)
* The ability to build with MSVC on Windows
* Generate Visual Studio project files
* Generate XCode project files
* Much faster builds on Windows (on-par with Linux)
* Seriously fast configure and building on embedded

... and many more. For more details see:

http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html
http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html

Building with Meson should work on both Linux and Windows, but may
need a few more tweaks on other operating systems.
2016-08-20 11:35:54 +01:00