Commit graph

5 commits

Author SHA1 Message Date
Peter Hutterer
2b8e03b119 media-session-uninstalled: exec the remaining args, if any
This matches WirePlumber's wp-uninstalled.sh script behavior.
2021-10-21 11:10:27 +10:00
Peter Hutterer
53faa991cb media-session-uninstalled: try to find the build directory
This matches WirePlumber commit 7970e4c75b4

Search for the first build.ninja file and only if that fails default to
the current builddir/.
2021-10-21 11:10:27 +10:00
Peter Hutterer
327f9159be media-session-uninstalled: build this script with the meson dirs filled in
This matches WirePlumber commit 52aaf9617

./builddir/media-session-uninstalled.sh can now be called without a -b
argument, it'll automatically set the full paths. This is useful when
building as a subproject.

meson has a limitation: the configure_file() object is just a file
wrapper object. Wrap this into a custom_target() whose return value has
a full_path() method. This way, pipewire can use
media_session_uninstalled.full_path() without having to build the
directory structure itself.
2021-10-21 11:10:27 +10:00
Peter Hutterer
b3b43f4ae2 media-session-uninstalled: rename SCRIPT_DIR to SOURCEDIR
This matches WirePlumber commit e9b1ab41e
2021-10-21 11:10:27 +10:00
Peter Hutterer
9df68b0dd8 Make media-session its own standalone package
This removes the rest of pipewire from the tree, but keeps the git repo.
The package name is now just 'media-session' but the binary remains
pipewire-media-session for backwards compatibility.

No functional changes besides the removal but a few renames for
variables from PIPEWIRE_FOO to MEDIA_SESSION_FOO (and its lowercase
version).

In docs/ folder, the media-session.dox moved to be the new mainpage
index.dox and all other dox files are removed.

pw-uninstalled.sh becomes media-session-uninstalled.

Finally, the hierarchy was flattened, so
- src/media-session/* goes into src/
- src/daemon/systemd goes into systemd/
- src/media-session/media-session.d goes into media-session.d
2021-10-15 11:09:43 +10:00