The documented way to build psmoveapi relies on vendored libraries PS3EYEDriver, glm, hidapi and libusb-1.0. They are stored in external/. Three of them are git submodules. One is fully embedded in the psmoveapi repo. This makes it difficult to use distribution-provided version of these packages and is an obstacle to having psmoveapi properly packaged into most GNU/Linux distribution. See for example Debian's policy on this matter.
Would you be open to an update of your build system such that vendoring is optional. For example, to allow something like cmake -DVENDORING=OFF which would ignore external/?
Some preliminary tests suggest this is entirely feasible. I mostly would like whether it's worth for me to clean up my patch and send it for your consideration.
The documented way to build psmoveapi relies on vendored libraries PS3EYEDriver, glm, hidapi and libusb-1.0. They are stored in
external/. Three of them are git submodules. One is fully embedded in the psmoveapi repo. This makes it difficult to use distribution-provided version of these packages and is an obstacle to having psmoveapi properly packaged into most GNU/Linux distribution. See for example Debian's policy on this matter.Would you be open to an update of your build system such that vendoring is optional. For example, to allow something like
cmake -DVENDORING=OFFwhich would ignoreexternal/?Some preliminary tests suggest this is entirely feasible. I mostly would like whether it's worth for me to clean up my patch and send it for your consideration.