Commit graph

38 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
628af4f091 meson: update version 2016-09-30 11:41:19 +01:00
Tim-Philipp Müller
787f47604d meson: add unit tests
Only works properly in an installed setup currently, most
likely won't work with a subprojects setup yet.
2016-09-26 14:31:09 +01:00
Tim-Philipp Müller
7c5e89d82b meson: hook up translations 2016-09-26 11:43:29 +01:00
Thibault Saunier
f74d2693b6 meson: Bump version to 1.9.2 2016-09-05 12:23:54 -03:00
Nirbheek Chauhan
b09f478e80 Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson

With contributions from:

Tim-Philipp Müller <tim@centricular.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:21:12 +01:00