commit: f439400855abe4975a1423a285b9b5ad1a5c0ea9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 5 23:43:14 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 5 23:44:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4394008
media-libs/gstreamer: actually control ptp w/ USE=ptp Closes: https://bugs.gentoo.org/947524 Closes: https://bugs.gentoo.org/947532 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/gstreamer/gstreamer-1.24.10.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/media-libs/gstreamer/gstreamer-1.24.10.ebuild b/media-libs/gstreamer/gstreamer-1.24.10.ebuild index c9df01e1105c..fd802735e446 100644 --- a/media-libs/gstreamer/gstreamer-1.24.10.ebuild +++ b/media-libs/gstreamer/gstreamer-1.24.10.ebuild @@ -43,13 +43,18 @@ PATCHES=( # Rust QA_FLAGS_IGNORED="usr/libexec/gstreamer-1.0/gst-ptp-helper" +pkg_setup() { + gstreamer-meson_pkg_setup + use ptp && rust_pkg_setup +} + multilib_src_configure() { local emesonargs=( -Dtools=$(multilib_is_native_abi && echo enabled || echo disabled) -Dbenchmarks=disabled -Dexamples=disabled -Dcheck=enabled - -Dptp-helper=$(multilib_is_native_abi && echo enabled || echo disabled) + -Dptp-helper=$(multilib_is_native_abi && echo $(usex 'ptp' 'enabled' 'disabled') || echo disabled) $(meson_feature unwind libunwind) $(meson_feature unwind libdw) )
