-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had to adjust some things to build under Archlinux - Nexus/20.X #164
Comments
I also had to adjust the version in addon.xml...but I'm running the git version of Nexus. |
The issue here is that your Kodi source needs to be updated. You have pretty much undone a recent merge which had API changes (kodi:: -> kodi::addon::, was one of those). I imagine that Arch will start to use the latest soon enough which just means undoing your patch. |
I'm running the latest git version of Kodi itself - I may still have the -dev package that's older or something? |
If you were running the latest git version of kodi then the Note that the master branch of Kodi applies to the Nexus branch of the binary addons. |
https://gist.github.com/daiaji/a21877de163585394f58902093ab3631 I also encountered a compilation error. |
Please use a pastesite link instead of adding logs straight into the issue. What changes did you need to make? Maybe submit them as a PR and I can review them. |
After upgrading the version of binutils to 2.41, an error occurred:
I suspect that this patch needs to be applied to the FFmpeg used by inputstream.ffmpegdirect. It appears that whether it's xbmc itself or inputstream.ffmpegdirect, a patch for FFmpeg is required after the version of binutils exceeds 2.41. I believe this patch should be integrated into the repositories of both xbmc and inputstream.ffmpegdirect. |
Frankly speaking, I'm utterly at a loss about what to do now. I've tried patching XBMC and altering FFmpeg, and redirected my download links locally, but damn it, CMake keeps downloading from https://github.com/FFmpeg/FFmpeg/archive/n4.4.tar.gz. |
There should be arch packages to build this. Are there not? For Linux platforms your system ffmpeg should be used. I.e. you should not need to build it. |
https://github.com/daiaji/inputstream.ffmpegdirect/tree/fix
Even with FFmpeg installed, the compilation script will still download and compile FFmpeg when compiling inputstream.ffmpegdirect. |
But that’s my point, if the build for arch Linux was correctly configured it should use the system ffmpeg. As it’s not, something is not being set up correctly. I’m afraid I’m not a Linux user so I don’t know what that might be. |
It seems that specifying the path of FFmpeg doesn't make much of a difference either. |
The path in pkgbuild is for ffmpeg 4.4. Why is it not 6.0? |
Can I use 6.0?
|
Ah, sorry. I see you are building Nexus and Omega. If arch is bleeding edge maybe try bleeding edge kodi 😉 |
Under what circumstances would the source code under https://github.com/xbmc/repo-binary-addons be compiled? |
It depends how you are building the add-on. You can pass a path to a local clone of the repo. But if you build as as part of the xbmc build it will always download from that repo. |
The build command I used, for some reason, did not use my own modified code during the build. |
But this is building kodi not building the addon itself. If you want to build using a local source from the addon you must use what’s in in the README: |
It seems like the commands don't have any noticeable differences. It seems that BUILD_SHARED_LIBS is necessary. |
I just downgrade binutils, build, then you can update binutils again. |
I had to roll a couple files back and adjust as below, not sure if this matters, as Arch uses bleeding edge packages sometimes...
The text was updated successfully, but these errors were encountered: