Commit graph

69 commits

Author SHA1 Message Date
Tim-Philipp Müller
e8583cebe7 meson: add -Wno-unused also to C++ args when gst debug system is disabled
And check if argument is supported instead of just passing it blindly,
and make meson code slightly cleaner, centralising the argument setting
in one place.
2019-03-21 16:45:03 +00:00
Tim-Philipp Müller
4f3dda36b4 Back to development 2019-03-04 09:07:30 +00:00
Tim-Philipp Müller
48b46e3f14 Release 1.15.2 2019-02-26 21:09:04 +00:00
Seungha Yang
fe7885b13e meson: Add support orc fallback
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-30 19:44:37 +09:00
Tim-Philipp Müller
8ed603958d meson: detect opengl api from -base .pc files correctly
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, if -base was
built with autotools. The mismatch has now been rectified in
-base, so we need to update for that.

This is mostly for consistency, this problem didn't seem
to affect anything in -good.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/871
2019-01-22 13:47:56 +00:00
Tim-Philipp Müller
e579614b1a Release 1.15.1 2019-01-17 01:59:33 +00:00
Seungha Yang
7aebe60809 tests: Enable unit test on Windows
Allow run some unit tests on Windows.
* Remove hardcoded path separator in whitelist env for Meson to choose
  OS-specific separator automatically (i.e., ';' for windows and ':' for *nix)
* Add dependency explicitly for some test cases, otherwise plugins couldn't be
  loaded on uninstalled environment of Windows.
2018-12-18 22:52:24 +09:00
Seungha Yang
16af121a86 meson: Prefer to use join_paths() over '/'
... to avoid mixing '/' and '\' in a path string on Windows.
2018-12-18 22:52:24 +09:00
Seungha Yang
69ad6af83c meson: Specify encoding to UTF-8 when building with MSVC
Use build arguments consistent with core and -base. This can also
remove noisy "C4819" warning of non-us locale MSVC.
2018-11-24 20:16:30 +09:00
Xavier Claessens
5fad0735a5 Check for zlib header 2018-11-22 20:04:53 -05:00
Xavier Claessens
b93e37592a Fix zlib detection when there is no pkg-config file 2018-11-19 15:21:07 -05:00
Tim-Philipp Müller
fbc7976540 meson: use new 'python' module instead of deprecated
https://github.com/mesonbuild/meson/pull/4169
2018-10-08 20:45:08 +01:00
Tim-Philipp Müller
03a8e6af72 meson: add glib-checks option to disable API guards and such
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-09-19 11:45:59 +01:00
Nirbheek Chauhan
5ca7a02371 meson: Fix osxaudio build on iOS
Must define HAVE_IOS, and use appleframeworks dependency to ensure the
right frameworks are picked up.
2018-09-01 09:30:23 +05:30
Tim-Philipp Müller
ce64f0e0e0 meson: add options to disable gobject cast checks and glib asserts
... and define G_DISABLE_DEPRECATED for development versions,
like we do in autotools.
2018-08-18 21:10:51 +01:00
Nirbheek Chauhan
ebcf3f5f63 meson: Add an option for tests
This is needed because we don't always have gstreamer-check available,
for instance inside Cerbero on iOS.
2018-08-17 00:31:14 +05:30
Nirbheek Chauhan
8f807477eb meson: Add feature options for all plugins
Checks for GL, Qt5, and C++ are still automagic. FIXMEs have been
added for these so they can be fixed later.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 18:42:54 +05:30
Tim-Philipp Müller
b04583d9ed meson: use cdata.set_quoted() in more places 2018-05-21 11:49:08 +01:00
Tim-Philipp Müller
ddee82c89f meson: add 'nls' option to disable translations
And enable by default. Was implicitly disabled because
ENABLE_NLS was not defined.
2018-05-21 11:46:59 +01:00
Nirbheek Chauhan
65536f25dd meson: Update option names to omit disable_ and with- prefixes
Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.
2018-05-05 20:31:01 +05:30
Xavier Claessens
edd9c8f6b8 Meson: Generate pc file for all plugins in good
https://bugzilla.gnome.org/show_bug.cgi?id=794568
2018-04-25 11:07:06 +01:00
Tim-Philipp Müller
84831ad03d meson: use -Wl,-Bsymbolic-functions where supported
Just like the autotools build.
2018-04-25 10:58:41 +01:00
Tim-Philipp Müller
7f9d468c29 Back to development 2018-03-20 09:24:19 +00:00
Tim-Philipp Müller
6854a23b54 Release 1.14.0 2018-03-19 20:18:23 +00:00
Tim-Philipp Müller
14f45c7bea Release 1.13.91 2018-03-13 19:16:44 +00:00
Tim-Philipp Müller
0da4d409b9 Release 1.13.90 2018-03-03 22:19:53 +00:00
Mathieu Duponchelle
43e758cdb1 meson: enable more warnings
https://bugzilla.gnome.org/show_bug.cgi?id=793961
2018-03-01 18:16:41 +01:00
Tim-Philipp Müller
fea8aadcf1 Back to development 2018-02-15 19:44:19 +00:00
Tim-Philipp Müller
9087406ede Release 1.13.1 2018-02-15 17:06:10 +00:00
Tim-Philipp Müller
eb29ffa36d gtk: hook up to meson build 2018-02-12 15:18:37 +00:00
Tim-Philipp Müller
dc32346562 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:09:45 +00:00
Tim-Philipp Müller
3cf73a66fe meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:34:36 +00:00
Tim-Philipp Müller
5efc48977e meson: zlib is not actually a hard requirement 2017-12-30 01:52:13 +00:00
Tim-Philipp Müller
7d97bf2f81 meson: skip translations if gettext is not available 2017-12-26 13:50:24 +01:00
Ting-Wei Lan
4026211154 v4l2object: Don't use mmap64 if off_t is 64-bit
The difference between mmap and mmap64 is the type of 'offset' argument.
mmap64 always uses a 64-bit interger as offset, while mmap uses off_t,
whose size can vary on different operating systems or architectures.

However, not all operating systems support mmap64. Fortunately, although
FreeBSD only has mmap, its off_t is always 64-bit regardless of
architectures, so we can simply use mmap when sizeof(off_t) == 8.

https://bugzilla.gnome.org/show_bug.cgi?id=791779
2017-12-22 10:30:49 -05:00
Ting-Wei Lan
784348235a v4l2object: Check for mmap64 before using it
mmap64 is not available on FreeBSD.

https://bugzilla.gnome.org/show_bug.cgi?id=791779
2017-12-21 21:58:29 -05:00
Tim-Philipp Müller
df67c50f67 meson: don't export symbols by default
Only plugin entry points should be exported.

Currently plugins might export more symbols with
the meson build, as we don't have the exports
regexp there that we pass to libtool.
2017-08-10 14:01:57 +01:00
Tim-Philipp Müller
ad0dd78b1b meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
2017-07-07 11:58:10 +01:00
Thibault Saunier
244c7017ee meson: Allow using glib as a subproject 2017-06-28 11:36:21 -04:00
Tim-Philipp Müller
4e2095bd5e meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
2017-06-26 09:47:58 +01:00
Tim-Philipp Müller
dd23afb6d4 sys: remove sunaudio plugin
Even though hooked up to the build system, it's clear that no one
has ever built or used this with GStreamer 1.x. It wants to link
against libgstinterfaces, which no longer exists. And uses 0.10-style
raw audio caps. And the last meaningful change was done in 2009.
Let's just remove it.
2017-06-23 20:02:43 +01:00
Tim-Philipp Müller
f13f3584ac meson: don't need config.h.meson any longer 2017-05-21 17:45:34 +01:00
Tim-Philipp Müller
34d08a0169 meson: make C++ compiler optional
It's only needed for the taglib plugin which is optional.
2017-05-21 10:37:19 +01:00
Tim-Philipp Müller
c35292505b meson: add options to set package name and origin
https://bugzilla.gnome.org/show_bug.cgi?id=782172
2017-05-20 14:53:42 +01:00
Sebastian Dröge
3f07947ca9 Back to development 2017-05-04 18:59:14 +03:00
Sebastian Dröge
27f40eca4d Release 1.12.0 2017-05-04 15:38:34 +03:00
Sebastian Dröge
4ae022e6c4 Release 1.11.91 2017-04-27 17:29:58 +03:00
Sebastian Dröge
e4da670a1a Release 1.11.90 2017-04-07 16:31:56 +03:00
Thibault Saunier
abfb53c6a7 pkgconfig: Generate the pkg-config with meson too 2017-03-28 11:22:21 -03:00
Sebastian Dröge
16941255e7 meson: Update version 2017-02-24 15:59:41 +02:00