summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-01-05 23:43:14 +0000
committerSam James <sam@gentoo.org>2025-01-05 23:44:32 +0000
commitf439400855abe4975a1423a285b9b5ad1a5c0ea9 (patch)
tree6ffd223eb9f76de4db627936aa56b65ccc0d3758 /media-libs
parentmedia-sound/strawberry: fix gst-plugins-taglib dependency (diff)
downloadgentoo-f439400855abe4975a1423a285b9b5ad1a5c0ea9.tar.gz
gentoo-f439400855abe4975a1423a285b9b5ad1a5c0ea9.tar.bz2
gentoo-f439400855abe4975a1423a285b9b5ad1a5c0ea9.zip
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@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gstreamer/gstreamer-1.24.10.ebuild7
1 files changed, 6 insertions, 1 deletions
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)
)