Package Details: kodi-platform-git r53.c8188d8-1

Git Clone URL: https://aur.archlinux.org/kodi-platform-git.git (read-only)
Package Base: kodi-platform-git
Description: Kodi platform support library
Upstream URL: https://github.com/xbmc/kodi-platform
Licenses: GPL
Conflicts: kodi-platform
Provides: kodi-platform
Submitter: Bevan
Maintainer: Bevan
Last Packager: Bevan
Votes: 36
Popularity: 0.281346
First Submitted: 2015-07-25 09:09
Last Updated: 2017-02-06 22:25

Required by (12)

Sources (1)

Latest Comments

Bevan commented on 2017-02-07 08:46

@chmercesmoreira: You need to install kodi-dev which just yesterday hit the repositories: https://www.archlinux.org/packages/community/x86_64/kodi-dev/

Since Kodi 17 (Krypton) the development headers are extracted into kodi-dev.

chmercesmoreira commented on 2017-02-07 02:14

Hello, after today's update I'm getting this error message during the building step:
==> Continue building kodi-platform-git ? [Y/n]
==> -------------------------------------------
==> Y

==> Building and installing package
==> Install or build missing dependencies for kodi-platform-git:
error: target not found: kodi-dev
==> Restart building kodi-platform-git ? [y/N]

Bevan commented on 2017-02-03 08:25

@Theredbaron1834: That's a different issue. If you use this package for kodi-pre-prelease, you have to set API to 17 in the PKGBUILD. Then it fetches the correct version from git where it's actually looking for an uppercase KodiConfig.cmake (this was changed in https://github.com/xbmc/kodi-platform/commit/ee149047c04863c6a4dd5f163af721d6486998eb).

forbi's output shows that it is looking for an uppercase KodiConfig.cmake as well. So this would be a different issue.

Theredbaron1834 commented on 2017-02-03 06:58

I have kodi-pre-release, and it too has the same error. Here is pacman -Ql kodi-pre-release | grep cmake.

http://pastebin.com/KaPMzWq2

As you can see, it has KodiConfig.cmake. Could this be a uppercase issue? Cool, something I can actually fix :).

sudo cp /usr/lib/kodi/KodiConfig.cmake /usr/lib/kodi/kodiConfig.cmake

And it compiles. Not sure how one would fix it for the pkgbuild, but still.

Don't forget to RM KodiConfig.cmake to keep FS clean though (or mv back if you just mved).

Bevan commented on 2017-02-02 21:26

@forbi: Could you please run "ls /usr/lib/kodi/*.cmake" to see if the necessary files are present (especially kodi-config.cmake)? If they are missing, please have a look through the output of "pacman -Ql kodi-git" to see if they are installed somewhere else.

Also please make sure that you have the most recent version of the PKGBUILD provided here because recently an issue like yours was fixed.

forbi commented on 2017-02-01 18:01

I have kodi-git. But when I try to install this package, I got this error (edited PKGBUILD to API=99):

CMake Error at CMakeLists.txt:8 (find_package):
By not providing "FindKodi.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Kodi", but
CMake did not find one.

Could not find a package configuration file provided by "Kodi" with any of
the following names:

KodiConfig.cmake
kodi-config.cmake

Add the installation prefix of "Kodi" to CMAKE_PREFIX_PATH or set
"Kodi_DIR" to a directory containing one of the above files. If "Kodi"
provides a separate development package or SDK, be sure it has been
installed.

TheNovaLive commented on 2017-01-10 19:27

@Bevan: PKGBUILD edited to API=99.
Now everything is OK !!!

Bevan commented on 2017-01-10 18:30

Another random shot... Please try again with the current PKGBUILD.

Bevan commented on 2017-01-10 18:24

@TheNovaLive: Unfortunately you have not given any of the information I requested in my earlier comment. The output you posted is exactly the same as jayki already posted. Sorry, but I cannot debug this without the requested information.

TheNovaLive commented on 2017-01-10 18:04

@Bevan:
Don't install kodi-platform-git
"CMake Error at CMakeLists.txt:8 (find_package):
By not providing "Findkodi.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "kodi", but
CMake did not find one.

Could not find a package configuration file provided by "kodi" with any of
the following names:

kodiConfig.cmake
kodi-config.cmake

Add the installation prefix of "kodi" to CMAKE_PREFIX_PATH or set
"kodi_DIR" to a directory containing one of the above files. If "kodi"
provides a separate development package or SDK, be sure it has been
installed."

All comments