Commit graph

55 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
64b79b0a96 meson: bump version 2017-01-13 12:39:00 +00:00
Thibault Saunier
9d1942f286 meson: Install presets files 2017-01-05 09:49:21 -03:00
Thibault Saunier
b87e5b9c5e meson: Support building without Gst debug 2016-12-09 17:51:31 -03:00
Scott D Phillips
d95ba51136 meson: add libm to has_function checks
The functions from math.h may be implemented in libm.

https://bugzilla.gnome.org/show_bug.cgi?id=774876
2016-11-29 00:28:54 +05:30
Scott D Phillips
591541d195 meson: add_global_arguments -> add_project_arguments
https://bugzilla.gnome.org/show_bug.cgi?id=774656
2016-11-18 09:32:57 +00:00
Scott D Phillips
5a7c342922 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:00:41 +00:00
Tim-Philipp Müller
893f8674df meson: update version 2016-11-01 18:09:00 +00:00
Nirbheek Chauhan
1dc1ee2ae3 meson: Remove uselessly duplicated dep checks
These checks are done inside the meson.build files for each plugin.
2016-10-27 22:49:09 +05:30
Scott D Phillips
f6b2fc10ff meson: Don't depend on gstreamer-check-1.0 on windows
https://bugzilla.gnome.org/show_bug.cgi?id=773114
2016-10-26 18:51:30 +05:30
Nirbheek Chauhan
5c152314de Revert "meson: move gstreamer-check-1.0 dependency to tests/check"
This reverts commit 4663269466.

Does not actually work. See:
https://bugzilla.gnome.org/show_bug.cgi?id=773114#c31
2016-10-25 11:47:22 +05:30
Scott D Phillips
4663269466 meson: move gstreamer-check-1.0 dependency to tests/check
https://bugzilla.gnome.org/show_bug.cgi?id=773114
2016-10-21 06:01:10 -03:00
Nirbheek Chauhan
19f6559582 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:13:42 +05:30
Thibault Saunier
887a5911f5 meson: Make use of new environment object and set plugin path to builddir
Workaround source_root being the root directory of all projects in the subproject
case and remove now unneeded getpluginsdir

Bump meson requirement to 0.35
2016-10-11 02:09:04 +02:00
Thibault Saunier
b910ecca68 meson: Setup pre commit hook and fix getpluginsdir for standalone case 2016-09-30 12:57:51 -03:00