Commit graph

202 commits

Author SHA1 Message Date
Víctor Manuel Jáquez Leal
13131122b7 meson: strip branch name when uninstalled
Remove ending newlines characters on branch's name.

https://bugzilla.gnome.org/show_bug.cgi?id=796989
2018-08-31 13:17:42 +01:00
Philippe Normand
51759df370 meson: Follow-up fix for ninja uninstalled
The --gst-version was removed in c78f0ef222 so
remove it from the meson.build file as well.

https://bugzilla.gnome.org/show_bug.cgi?id=796989
2018-08-31 11:44:17 +01:00
Philippe Normand
c78f0ef222 gst-uninstalled: Display current git branch name in the shell prompt
This is really useful when using multiple git worktrees.

https://bugzilla.gnome.org/show_bug.cgi?id=796989
2018-08-30 17:03:24 +01:00
Víctor Manuel Jáquez Leal
d3ea533b20 Don't process the whole commit
https://bugzilla.gnome.org/show_bug.cgi?id=796655
2018-08-30 17:17:57 +02:00
Nirbheek Chauhan
b4015f7bbe scripts: Fix missing import in common.py
This was causing a build failure on the CI.
2018-08-11 18:41:04 +05:30
Nirbheek Chauhan
783e6a226d scripts: Fix fetching of meson command to run
Don't assume that meson is always a python script, on Windows it can
be (and soon will almost always be) an executable.

See: Meson MSI installer and https://github.com/mesonbuild/meson/pull/4004
2018-08-11 02:52:51 +05:30
Tim-Philipp Müller
1e21d789ae subprojects: fix openh264 wrap commit
Meson was literally trying to check out tag/revision
'a1b3f07c5271f312997fcc3451237031444c4475 # 1.8.0 + fix for gcc 8.'
which doesn't exist of course.
2018-08-07 00:43:08 +01:00
Nirbheek Chauhan
2a675954c4 Update .gitignore and add more subprojects 2018-07-27 18:50:01 +05:30
Nirbheek Chauhan
eaf17bfff4 Convert common meson options to feature options
These changes have been mirrored in all subproject repositories.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 15:24:06 +05:30
Thibault Saunier
7ec215b509 uninstalled: Also support GES overrides
Simplifying one step further too
2018-07-24 12:41:50 -04:00
Thibault Saunier
6a0c4b3771 Fix previous commit putting mesonconfig.py in our custom sitecustomize directory 2018-07-24 12:11:52 -04:00
Thibault Saunier
63e743def6 uninstalled: Simplify our python environment setup
Not changing the main usersitepackage env but creating our own,
similarly to what a venv would do.
2018-07-23 13:42:02 -04:00
Thibault Saunier
4ef0584295 uninstalled: Avoid failling while setting up PyGObject env hack files 2018-07-23 11:11:03 -04:00
Tim-Philipp Müller
5fd196b3d1 subprojects: glib: point back at upstream master branch
instead of wip branch, the required tools override patches
are now upstream.

https://gitlab.gnome.org/GNOME/glib/merge_requests/188
2018-07-22 23:31:16 +01:00
Thibault Saunier
e88cd3628a Mark ffmpeg as not required
As it was supposed to be.
2018-07-19 16:40:49 -04:00
Thibault Saunier
0682b17433 dssim: Use http:// git repo 2018-07-13 18:54:34 -04:00
Thibault Saunier
f8f510e50b Update libav dependency version check. 2018-07-13 12:16:20 -04:00
Thibault Saunier
a0bfbe1f8d Add back gst-libav
It slipped through in the previous refactoring
2018-07-13 11:45:28 -04:00
Tim-Philipp Müller
52859fba5c Disable gst-sharp by default, as it is not guaranteed to build
Can be re-enabled again if we check for all direct and
indirect hard deps before including it.

subprojects\gtk-sharp\Source\meson.build:40:0: ERROR: Program(s) ['gacutil'] not found or not executable
2018-07-13 00:11:41 +01:00
Thibault Saunier
3d47163919 Use new 'feature' option and dictionnary
Simplifying the build definition, making its options more flexible and
it is now simpler to read.

On a side not we want https://github.com/mesonbuild/meson/issues/3880
to simplify that again.

https://bugzilla.gnome.org/show_bug.cgi?id=796798
2018-07-12 12:15:30 -04:00
Thibault Saunier
9e4c1dc693 Add a wrap for openh264 2018-07-12 12:14:10 -04:00
Tim-Philipp Müller
62f1739133 uninstalled: Fix meson detection when using meson from a git checkout
This would not trigger on the build bot because there is
special casing in the code for a meson checkout underneath
gst-build. Fix needed as mesonintrospect.py was changed into
'meson.py introspect' in recent meson versions. When using
meson from git to configure the build the uninstalled script
would pick up a system meson instead which then would then
error out parsing the coredata from the newer meson.
2018-06-12 15:03:03 +01:00
Tim-Philipp Müller
3942dc262b Don't build gst-python if required deps aren't available 2018-06-07 19:25:22 +01:00
Matthew Waters
13ff7f43ec add gl-headers subproject for necessary OpenGL headers
At least for windows.
2018-06-07 14:13:03 +10:00
Thibault Saunier
35079f67ac uninstalled: Set PKG_CONFIG_PATH to point to prefix/lib/pkgconfig 2018-06-06 07:55:20 -04:00
Thibault Saunier
369cf4ecd0 Add bindinator wrap file 2018-06-05 10:43:23 -04:00
Tim-Philipp Müller
3544675ad1 meson: rename gtkdoc option to gtk_doc 2018-05-21 23:08:43 +01:00
Nirbheek Chauhan
85e49c19d4 Add a new subproject 'win-flex-bison-binaries'
This subproject will download and provide win32 binaries for flex
and/or bison if they aren't found at configure time on Windows.
2018-05-17 13:57:33 +05:30
Nirbheek Chauhan
d22add782b Update git repos for glib and proxy-libintl
The proxy-libintl meson build files have been upstreamed, so we do not
need to use Centricular's git repository anymore.

Glib has moved to GNOME's Gitlab instance, and we use a specific branch
on it to get override_find_program for glib tools.
2018-05-17 13:57:33 +05:30
Nirbheek Chauhan
ffa072ec90 Add a wrap file for libnice.wrap
Temporarily pointing to Centricular's git repository till upstream
libnice accepts the port (poke ocrete on IRC!).
2018-05-17 13:56:04 +05:30
Nirbheek Chauhan
a57019296b gst-uninstalled.py: Look for both 'build' and '_build' for builddir 2018-05-05 20:35:12 +05:30
Nirbheek Chauhan
f164b8d93f meson: Update option names to omit prefixes
Also, common options are now consistent across all gstreamer modules,
and are inherited automatically.
2018-05-05 20:30:29 +05:30
Nirbheek Chauhan
d7b86636f9 gst-uninstalled: Use absolute path to custom builddir 2018-05-05 18:38:00 +05:30
Thibault Saunier
184259f281 Add a wrap for dssim 2018-05-02 22:50:22 +02:00
Tim-Philipp Müller
14bf7c9990 Bump Meson requirement to 0.46
Which matches GStreamer core's (and soon the other modules).
2018-04-25 01:06:27 +01:00
Mathieu Duponchelle
b6593ed835 subprojects: add some missing wraps 2018-04-22 02:58:11 +02:00
Mathieu Duponchelle
47844b2771 uname does not exist everywhere 2018-04-22 02:58:06 +02:00
Nirbheek Chauhan
8708f6a606 meson: Fix typo, lower() -> to_lower() 2018-04-21 12:59:04 +05:30
Nirbheek Chauhan
40f97fe186 Only pass -DZ_SOLO on MSVC if using MSYS2 zlib
This fixes the build when we're building our own zlib as a subproject.
2018-04-13 14:56:33 +05:30
Thibault Saunier
8f5533c1e1 Add a script to checkout a worktree of gst-build and its subprojects
https://bugzilla.gnome.org/show_bug.cgi?id=794519
2018-03-20 09:22:19 -03:00
Tim-Philipp Müller
2136763eb4 Build master 2018-03-20 01:08:23 +00:00
Tim-Philipp Müller
9051db2290 Build 1.14.0 2018-03-20 01:07:15 +00:00
Guillaume Desmottes
bff7689565 README.md: explain how to run a specific test from a specific file
https://bugzilla.gnome.org/show_bug.cgi?id=793190
2018-02-05 16:51:25 +01:00
Guillaume Desmottes
54f73bc847 README.md: update specific test example
Tests naming scheme has changed.

https://bugzilla.gnome.org/show_bug.cgi?id=793190
2018-02-05 16:51:25 +01:00
Guillaume Desmottes
eb6e846023 README.md: use 'meson test' instead of 'mesontest'
The latter has been deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=793190
2018-02-05 16:51:25 +01:00
Mathieu Duponchelle
c938c75916 gst-uninstalled: symlink mesonconfig in site-packages
This is still incredibly ugly, but at least now mesonconfig
gets found, unlike before where the path where it was looked
for was the path of the sitecustomize symlink, not of its target
(https://bugs.python.org/issue6386)
2018-01-19 21:07:08 +01:00
Mathieu Duponchelle
a484ed4124 gst-uninstalled: make override hacks work in virtualenv
virtualenv ships its own version of site.py, which does not
expose a getusersitepackages function. An alternative method
is thus used when we detect that we are running in a virtualenv.
2018-01-19 21:04:09 +01:00
Alicia Boya García
a5ed8944e3 gst-uninstalled.py: Don't close parent file descriptors
https://bugzilla.gnome.org/show_bug.cgi?id=791616
2018-01-12 16:43:23 -03:00
Tim-Philipp Müller
dfc24cc612 Fix check for python3
Use the python3 module to find the right binary. It might not
be called 'python3', but could just be plain 'python' for example
(e.g. on windows).
2017-12-25 23:00:46 +01:00
Mathieu Duponchelle
d106c2f8df common.get_meson(): use MESONINTROSPECT if present
If meson has set this, it takes priority over whatever
we may find in PATH.
2017-12-18 18:46:14 +01:00