I’m trying to install plugin com.obsproject.Studio.NDI, but trying to install it ended in error:
error: Failed to install com.obsproject.Studio.Plugin.NDI: Wrong size for extra data https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v5_Linux.tar.gz
So I’ve tried to get the package and build it, but I was unable to:
Wouldn’t you need to make /lib writable instead of /lib/ndi? You are trying to mkdir ndi inside the /lib directory. The next question is whether flathub will publish a flatpak that modifies /app/lib because there are some directories with shared runtimes that are not allowed to be modified. I forgot which ones, but I suspect /app/lib is one.
It looks like you are using the “simple” buildsystem instead of “autotools”. Posting or linking to your manifest would make it easier for others to help you. I usually use “simple” for python commands and “autotools” or “cmake-ninja” for cmake commands. When cmake requires extra options like for environment, I add config-opts and such. Even though below is yml form, you can see an example of what I am saying at this link below. Check lines 41-47 for autotools with config-opts and make-install-args (I doubt you need the gi commands because they are for a python app, but the “–prefix=/app” command might or might not be helpful for you), and lines 82-87 for a “cmake-ninja” example with config-opts.