From baead91374a213d266fac18b3635357b589ca642 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 24 Nov 2021 21:41:44 -0300 Subject: [PATCH] CI: Add extension point to Flatpak plugins This is what the Flathub manifest does, which allows for plugins distributed through Flatpak extension points. Add extension point for Flatpak-distributed plugins. --- CI/flatpak/com.obsproject.Studio.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CI/flatpak/com.obsproject.Studio.json b/CI/flatpak/com.obsproject.Studio.json index d18811174..b15ba6c5a 100644 --- a/CI/flatpak/com.obsproject.Studio.json +++ b/CI/flatpak/com.obsproject.Studio.json @@ -19,6 +19,16 @@ "--own-name=org.kde.StatusNotifierItem-2-2", "--system-talk-name=org.freedesktop.Avahi" ], + "add-extensions": { + "com.obsproject.Studio.Plugin": { + "directory": "plugins", + "subdirectories": true, + "add-ld-path": "lib", + "merge-dirs": "lib/obs-plugins;share/obs/obs-plugins", + "no-autodownload": true, + "autodelete": true + } + }, "cleanup": [ "/lib/pkgconfig", "/share/man", @@ -269,6 +279,9 @@ "-DYOUTUBE_SECRET=$YOUTUBE_SECRET", "-DYOUTUBE_SECRET_HASH=$YOUTUBE_SECRET_HASH" ], + "post-install": [ + "install -d /app/plugins" + ], "sources": [ { "type": "dir",