opus: Build libopus and opusfile for PSP#268
Conversation
sharkwouter
left a comment
There was a problem hiding this comment.
Hey @joel16, thanks a lot for the PR! This would be good to have :)
The PR looks pretty good, but I'm still seeing some issues with the pkg-config files. The opusfile.pc file from the opusfile package is completely fine, but opusurl.pc from the same package still has the prefix set wrong. The opus package has an opus.pc file that needs work too, there all the paths are still hardcoded.
|
Let me know if you need any help :) |
|
@sharkwouter no problem. I was under the impression opusurl was not going to be used so I didn't mess with that and was intentionally left out. This is also why I configured it with --disable-http. Please let me know what needs to be done to get it fixed. |
|
I made a small change to fix the pc file for opus, but for some reason it seems opusfile is no longer building now. I'm investigating it. Sorry for the annoyance. |
|
I don't think this is my code, could you also look into it? I'm a bit confused. |
I'll have a look, it was running fine locally so not sure what's wrong. |
|
I think the problem is not that the header can't be found, but that it cannot be included. I'm not exactly sure what is up, though. I can reproduce this locally. |
|
@sharkwouter what command are you using locally? I assumed its because it couldn't find the opus headers and therefore added the clags to point to that path. I did test all of this locally by cd'ing into the opusfile directory and using |
|
Try installing the opus package from the CI, then you'll see the error. I'm confused as to why. You can download it from the artifacts, extract the zip and then install the package with |
I assume you mean opusfile? I'm not able to reproduce this with either psp-pacman -U or psp-makepkg -i for either libopus or opusfile. I'm using Ubuntu 24.04 WSL2. |
|
I found the issue, my change from earlier doesn't work. I'm sorry for that. pkgconf can expand variables and it is not doing so. |
|
I'll get this fixed and merged, sorry for breaking it. |
|
No worries, thank you :) |
|
I've fixed the opusurl.pc file now and merged this. Thanks for the contribution @joel16 :) |
No description provided.