Nirbheek Chauhan
fbd4afc64c
meson: Pass native: false to add_languages()
...
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 break older versions so it should be ok.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/589 >
2020-05-13 19:25:33 +05:30
Nirbheek Chauhan
553ac050f0
meson: Make C++ compiler detection not be automagic
...
It is now controlled by the qt5 and/or taglib options. We won't
silently fail to build taglib now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/587 >
2020-05-12 04:33:43 +05:30
Nirbheek Chauhan
d67a658daf
meson: Fix gstgl checks for qt and gtk
...
Also rename from build_ to have_, which is more accurate.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/587 >
2020-05-12 04:32:01 +05:30
Seungha Yang
5009cad220
flvmux: Use thread-safe gmtime_r if available
...
gmtime on *nix is not thread-safe.
2019-12-10 23:48:35 +09:00
Tim-Philipp Müller
0998c16432
pkgconfig: remove gst-plugins-good-1.0-uninstalled.pc
...
This was never installed and it was only used by the uninstalled
autotools dev environment to locate the -good plugins for use
in unit tests in gstreamer modules higher up the stack.
It is no longer needed now that we no longer have an autotools build.
2019-12-02 19:00:45 +00:00
Niels De Graef
f3970565f0
meson: Bump minimal GLib version to 2.44
...
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-06-03 16:18:55 +00:00
Thibault Saunier
af01988534
doc: Port documentation to hotdoc
2019-05-13 11:34:56 -04:00
Tim-Philipp Müller
9031986713
Back to development
2019-04-19 11:00:06 +01:00
Tim-Philipp Müller
646dc1ef9b
Release 1.16.0
2019-04-19 00:23:18 +01:00
Tim-Philipp Müller
4040c01083
Release 1.15.90
2019-04-11 00:27:00 +01:00
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