<div dir="ltr">I'm trying to create an addon flatpak for the obs teleport plugin, after reading through docs and trying various things I've gotten this far.<br><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">id: com.obsproject.Studio.Plugin.Teleport</font></div><div><font face="monospace">branch: stable</font></div><div><font face="monospace">runtime: com.obsproject.Studio</font></div><div><font face="monospace">runtime-version: stable</font></div><div><font face="monospace">sdk: org.freedesktop.Sdk//24.08</font></div><div><font face="monospace">sdk-extensions:</font></div><div><font face="monospace">  - org.freedesktop.Sdk.Extension.golang</font></div><div><font face="monospace">build-extension: true</font></div><div><font face="monospace">separate-locales: false</font></div><div><font face="monospace">appstream-compose: false</font></div><div><font face="monospace">build-options:</font></div><div><font face="monospace">  prefix: /app/plugins/Teleport</font></div><div><font face="monospace">  libdir: lib/obs-plugins</font></div><div><font face="monospace">  append-path: /usr/lib/sdk/golang/bin</font></div><div><font face="monospace">modules:</font></div><div><font face="monospace">  - name: obs-teleport</font></div><div><font face="monospace">    buildsystem: simple</font></div><div><font face="monospace">    build-options:</font></div><div><font face="monospace">      build-args:</font></div><div><font face="monospace">        - --share=network</font></div><div><font face="monospace">      env:</font></div><div><font face="monospace">        - GOBIN=/app/bin</font></div><div><font face="monospace">        - GOPATH=/run/build/obs-teleport/go</font></div><div><font face="monospace">    build-commands:</font></div><div><font face="monospace">      - go mod vendor</font></div><div><font face="monospace">      - go build -mod=vendor -ldflags "-compressdwarf=false -linkmode external -X main.version=0.7.4" -v -o "${FLATPAK_DEST}/lib/obs-plugins/obs-teleport.so" .</font></div><div><font face="monospace">    sources:</font></div><div><font face="monospace">      - type: git</font></div><div><font face="monospace">        url: <a href="https://github.com/fzwoch/obs-teleport.git">https://github.com/fzwoch/obs-teleport.git</a></font></div><div><font face="monospace">        tag: 0.7.4</font></div><div><font face="monospace">        commit: 3e012bdcde3c8609cc89f1ede6225e30c89451ab</font></div><div><font face="monospace">        x-checker-data:</font></div><div><font face="monospace">          type: git</font></div><div><font face="monospace">          tag-pattern: ^([\d.]+)</font></div><div><font face="monospace">      - type: file</font></div><div><font face="monospace">        path: com.obsproject.Studio.Plugin.Teleport.metainfo.xml</font></div></blockquote><font face="arial, sans-serif"><div><font face="arial, sans-serif"><br></font></div>This is good enough to get the build started but I have some concerns, I notice that every other OBS plugin is using sdk </font>org.kde.Sdk//6.6 (which is the same SDK the OBS main package uses). I switched this over to org.freedesktop.Sdk//24.08 because the plugin is written in go and freedesktop ships a golang extension. Are there any problems with doing this? I've also hit a snag after that and I'm not sure why, but currently the project fails to build due to the obs headers missing, but I don't see anything in any other OBS plugin doing something special to obtain these, I originally thought that's what setting the runtime was doing, however that appears to not be the case.</div>