ObsPluginHelpers.cmake outputs `Depends:` `obs-studio (>= 27.0.0)` and `libqt5*`
paulpv opened this issue · 2 comments
paulpv commented
Operating System Info
Ubuntu 22.04
Other OS
No response
OBS Studio Version
29.0.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
N/A
OBS Studio Crash Log URL
No response
Expected Behavior
This plugin template is for OBS >=28 QT6 plugins only...right?
So, its generated Linux .deb files should have a control
file that says something like:
...
Depends: obs-studio (>= 28.0.0), libqt6coresomething (>= 6.x.x), libqt6guisomething (>= 6.x.x), libqt6widgetssomething (>= 6.x.x)
...
Current Behavior
The obs-ndi plugin that I work on has a branch based on this obs-plugintemplate
.
I unzipped the plugin's .deb file generated by this template's build it says:
...
Depends: obs-studio (>= 27.0.0), libqt5core5a (>= 5.9.0~beta), libqt5gui5 (>= 5.3.0), libqt5widgets5 (>= 5.7.0)
...
It seems to install OK (the jury is still out on that), but I found this very odd/unexpected.
Steps to Reproduce
- build a linux x64 plugin
- unzip the generated .deb file
- unzip the control.tar.gz file
- look at the control file
Anything else we should know?
The above hard coded Depends line is taken straight from these lines of code:
obs-plugintemplate/cmake/ObsPluginHelpers.cmake
Lines 507 to 509 in 86ae5b4
set(CPACK_DEBIAN_PACKAGE_DEPENDS
"obs-studio (>= 27.0.0), libqt5core5a (>= 5.9.0~beta), libqt5gui5 (>= 5.3.0), libqt5widgets5 (>= 5.7.0)"
)