[packaging/craft-blueprints-kde] kde/unreleased/kaidan: kaidan: point Kaidan at bundled GStreamer plugins on macOS
Linus Jahn <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 8f8bc7ab045f4d037a0a85ae7887b6777998b632 by Linus Jahn. Committed on 17/07/2026 at 23:09. Pushed by lnj into branch 'master'. kaidan: point Kaidan at bundled GStreamer plugins on macOS The GStreamer plugins are relocated into Contents/PlugIns/gstreamer-1.0 when bundling (see the libs/gstreamer change). Pass -DTARGET_GSTREAMER_PLUGINS so Kaidan exports GST_PLUGIN_SYSTEM_PATH accordingly at runtime, relative to the executable in Contents/MacOS. Requires the corresponding TARGET_GSTREAMER_PLUGINS support in Kaidan. Co-Authored-By: Claude Opus 4.8 <[email protected]> M +6 -0 kde/unreleased/kaidan/kaidan.py https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/8f8bc7ab045f4d037a0a85ae7887b6777998b632 diff --git a/kde/unreleased/kaidan/kaidan.py b/kde/unreleased/kaidan/kaidan.py index 74d39f93d..48a7676bf 100644 --- a/kde/unreleased/kaidan/kaidan.py +++ b/kde/unreleased/kaidan/kaidan.py @@ -45,6 +45,12 @@ class Package(CMakePackageBase): self.subinfo.options.fetch.checkoutSubmodules = True + if CraftCore.compiler.isMacOS: + # The GStreamer plugins are relocated into Contents/PlugIns/gstreamer-1.0 when + # bundling (see libs/gstreamer). Tell Kaidan where to find them, relative to the + # executable in Contents/MacOS. + self.subinfo.options.configure.args += ["-DTARGET_GSTREAMER_PLUGINS=../PlugIns/gstreamer-1.0"] + def createPackage(self): if CraftCore.compiler.isMacOS: self.blacklist_file.append(self.blueprintDir() / "excludelist_mac.txt")