Commit graph

363 commits

Author SHA1 Message Date
Jan Alexander Steffens (heftig) 9fa22f5873 gst-env.py: Sort path sets before using prepend_env_var
Python `set`s have a random ordering. To avoid creating a random
environment, create sorted lists before iterating over them.

Our Rust crates instruct cargo to rebuild if `PKG_CONFIG_PATH` changes,
so this has been causing unnecessary rebuilds.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/177>
2020-07-21 21:13:56 +02:00
Seungha Yang 64029b1461 README: Document ARM64 native build on Windows
Add some guide for native ARM64 build on Windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/175>
2020-07-15 22:12:28 +09:00
Nirbheek Chauhan 856239a7a7 sqlite: Fix build on Windows with MSVC
We need to use the latest sqlite wrap version which fixes a bug where
symbols weren't getting exported and the import library couldn't be
created, so libsoup couldn't find sqlite.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/174>
2020-07-13 17:38:48 +05:30
Tim-Philipp Müller 80976dea2c Fix up update-orc-dist target for the case where there are no orc targets
See https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/168#note_561914

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/173>
2020-07-08 11:29:40 +01:00
Tim-Philipp Müller 02995c8417 meson: clean up workaround for older meson versions that's no longer needed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/172>
2020-07-07 18:48:49 +00:00
Tim-Philipp Müller 869f25a938 subprojects: libmicrodns: pin to 0.1.2 release
Now that there is a release with the meson build.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/170>
2020-07-07 15:23:29 +01:00
Tim-Philipp Müller ebf79cf723 Add update-orc-dist target
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/168>
2020-07-04 15:01:08 +01:00
Tim-Philipp Müller 45a09d4a81 Back to development 2020-07-03 02:04:31 +01:00
Tim-Philipp Müller 1016bf239c Release 1.17.2 2020-07-03 00:37:52 +01:00
Ederson de Souza a910ea6192 Revert "Revert "Add libavtp wrap file""
This reverts commit 1ec87d752a.

As the avtp plugin on gst-plugins-bad is now ensured to be built only on
Linux, this patch can come back.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/153>
2020-06-30 15:47:18 -07:00
Mathieu Duponchelle 4a3ceaa498 meson: pass doc option as required argument to gst-docs subproject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/166>
2020-06-24 14:37:28 +02:00
Tim-Philipp Müller 075ed8610f Back to development 2020-06-20 01:05:03 +01:00
Tim-Philipp Müller 7dc67a389d Release 1.17.1 2020-06-19 19:28:22 +01:00
Tim-Philipp Müller d47dddb78c README: document updated meson requirement 2020-06-18 16:42:33 +01:00
Tim-Philipp Müller 398576dfdb meson: bump meson requirement to 0.52 to align with effective requirement
Latest libnice requires 0.52, so it probably makes sense to
update the meson requirement in gst-build for that, so we
have good out-of-the-box developer experience for people,
with webrtc working out of the box.

Might also make it easier to backport things later.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/164>
2020-06-18 15:41:18 +01:00
Stéphane Cerveau cb94bb1623 git-update: rename check-status to status
'Check' prefix is superfluous

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/163>
2020-06-16 14:57:42 +02:00
Nirbheek Chauhan 4d60e89a99 git-update: Use --force when checking out manifest
When we have a manifest, we DEFINITELY want exactly that, please throw
away any local changes, thanks. Fixes CI:

https://gitlab.freedesktop.org/alatiera/gst-ci/-/jobs/3105690

```
 Checking out f5b44d3128 in gst-devtools
Could not rebase subprojects\gst-devtools, please fix and try again. Error:
error: Your local changes to the following files would be overwritten by checkout:
	docs/plugins/fakesrc.simple.validatetest.yaml
Please commit your changes or stash them before you switch branches.
Aborting
 Command '['git', 'checkout', '--detach', 'f5b44d31284cfa1b6d029fdfe69d6cdb9a8aeb36']' returned non-zero exit status 1.
 ```

This is probably caused by some shared cache shenanigans, but forcing
is also what we want anyway in this case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/162>
2020-06-16 00:38:53 +05:30
Nirbheek Chauhan 9782400920 README: Add a screenshot showing how to run meson on windows
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/161>
2020-06-15 21:01:01 +05:30
Nirbheek Chauhan 77cd988ac8 gst-env: Copy instead of symlink on Windows
os.symlink needs admin privs in most cases.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/160>
2020-06-15 19:59:22 +05:30
Nirbheek Chauhan d570c770ad gst-env: Fix creation of gdb-autoload dirs on Windows
`bdir[1:]` is supposed to convert `/path/to/bdir` to `path/to/bdir`
which is only correct on UNIX. On Windows it will convert
`C:\path\to\bdir` to `:\path\to\bdir` which is totally wrong.

Use pathlib instead, which makes it trivial to do the conversion using
`joinpath(*bdir.parts)`

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/160>
2020-06-15 19:06:22 +05:30
Nirbheek Chauhan 8b9073367f gst-env: Use meson-uninstalled pkgconfig files if available
This allows people to use the development environment for building
projects when glib is built as a subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/158>
2020-06-12 19:21:52 +05:30
Nirbheek Chauhan 5234b05f92 meson_options.txt: Add an option to enable/disable tests
All subproject options yield to this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/157>
2020-06-11 13:19:18 +05:30
Tim-Philipp Müller 8ecede2ff1 meson_options: disable gtk_doc by default
We don't need to build documentation for
gtk-doc using subprojects, not by default
at least, and our 'auto' option would
override the subproject 'disabled' default
in libnice's case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/155>
2020-06-05 10:40:29 +01:00
Tim-Philipp Müller 088c7f1eda openh264: update to v2.1.1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/154>
2020-05-31 11:11:18 +01:00
Edward Hervey 1ec87d752a Revert "Add libavtp wrap file"
This reverts commit 93074302b9.

Adding libavtp hasn't properly passed CI for some reason.

Reopens !148

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/152>
2020-05-28 10:09:51 +02:00
Ederson de Souza 93074302b9 Add libavtp wrap file
So that the avtp plugin on gst-plugins-bad cab be built and tested on
the CI.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/148>
2020-05-27 17:29:40 -07:00
Thibault Saunier a7b7ca5a59 Notify that gst-rts-server has plugin
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/151>
2020-05-27 09:59:16 -04:00
Philippe Normand 2f514b8098 Update WPEBackend-FDO wrap file
Current git master for the 1.7.0 development version is now usable as a
subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/149>
2020-05-25 14:04:46 +00:00
Stéphane Cerveau 02cd310c6b libopenjp2 wrap: change default directory
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/150>
2020-05-25 11:35:24 +02:00
Philippe Normand ced7f9d5a2 Add wpebackend-fdo wrap file
This will allow the wpe plugin to require WPEBackend-FDO 1.7.x which has support
for headless SHM. Hence we should be able to enable the wpesrc integration tests
in CI.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/146>
2020-05-15 10:01:21 +00:00
Stéphane Cerveau 94aed416e0 wrap: add libopenjp2 for gst-plugins-bad
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/147>
2020-05-14 17:16:11 +02:00
Víctor Manuel Jáquez Leal ac7b46033f gst-env: fix program name in argparse
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/145>
2020-05-11 16:39:59 +02:00
Tim-Philipp Müller 31d81f70da subprojects: ffmpeg: bump to 4.1.5
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/144>
2020-05-11 12:46:59 +01:00
Xavier Claessens 2758487db9 Add dav1d wrap file
This is needed to build gst-plugins-rs with dav1d as subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/130>
2020-05-02 09:55:12 +00:00
Matthew Waters b9d39e2f7f build: allow for changing subprojects with docs enabled
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/60
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/142>
2020-04-23 13:48:22 +10:00
Philippe Normand 6abaee851b gst-env: Remove non-existent directory from PKG_CONFIG_PATH
There is no pkgconfig directory in -good.
2020-04-20 14:53:11 +01:00
Nirbheek Chauhan 478836e85b gst-env: Also look for builddir when hunting for a build dir 2020-04-16 19:38:29 +05:30
Nirbheek Chauhan 3e1c57553e README: Document which dependencies are available
Also document how to build the Intel MSDK plugins, and how to
enable/disable plugins in general.

Closes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/90
2020-04-16 18:58:06 +05:30
Nirbheek Chauhan d6fdd8afc6 README: Document gst-worktree, remove checkout-branch-worktree
Closes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/72
2020-04-16 18:54:26 +05:30
Nirbheek Chauhan 88f5262ba3 README: Use 'builddir' instead of 'build/'
`/` was added to make it clear that `build` is a directory and not
a meson sub-command. However, this can be confusing for Windows users.
use `builddir` which does the same job.
2020-04-16 18:47:03 +05:30
ssethupa 3ceafd2ebc
libsoup: bump wrap to 2.70.0 2020-04-07 21:56:14 -05:00
Stéphane Cerveau 4f8b12ee68 subprojects: add libdrm wrap 2020-04-03 10:15:09 +02:00
Stéphane Cerveau d1db3f9894 sqlite: wrap use 3250100-2 patch to install lib
In order to install the lib in DESTDIR, use the new
sqlite patch zip 3250100-2.
2020-03-30 19:25:07 +05:30
Nicolas Dufresne f69a2c9fd2 gst-env: Allow setting environment without git
This is needed to use gst-uninstalled mode over NFS when gst-build is a
worktree. When this is the case, the .git is a file that links to the original
git tree, but this tree is unlikely to be visible over NFS. Instead of forcing
NFS contorsion, simply ignore the error.
2020-03-25 08:43:10 -04:00
Xavier Claessens 6d79e7cc97 gst-full: Use gst_dep dependency
It is needed because that dependency object brings generated headers
too.
2020-03-16 21:54:26 -04:00
Xavier Claessens 315c5f87e2 gst-full: Create 'alpha' element
It is the only plugin built by the CI, with coreelements.
2020-03-16 21:53:29 -04:00
Xavier Claessens 66d22c103b Meson: dict.has_key() method has no 'default' argument
Meson silently accept those keyword arguments, will produce a warning in
the future: https://github.com/mesonbuild/meson/pull/6780
2020-03-12 14:41:24 -04:00
Xavier Claessens 7ef372db76 Meson: Fix useless reconfigure when plugins libs change
This is a workaround for a Meson bug that incorrectly trigger
reconfigure when files change in build directory. This commit can be
reverted once GStreamer depends on Meson >=0.54.0.
See https://github.com/mesonbuild/meson/pull/6770

Fixes: #85
2020-03-11 13:49:11 -04:00
Xavier Claessens 7fa292406e Add example using gstreamer-full
It will be used by the CI to verify we can build it.
2020-03-04 08:28:11 -05:00
Xavier Claessens 35285c51b8 Add gstreamer-full library containing all plugins and their deps
When building with -Ddefault_library=static, also build a single library
containing all built plugins. Any external dependencies are still
dynamically linked.

A monolithic library is easier to distribute, and in some envs like
Android is required.
2020-03-04 08:23:52 -05:00