I'm looking at packaging VoltAir for Mageia. I already packaged LiquidFun and patched the VoltAir qmake files to use the system LiquidFun library.
Now I would like to put the main binary in /usr/games and the game data (DEPLOYMENTFOLDERS) in /usr/share/games/voltair, following Mageia's flavour of the FHS for games. I think it can be achieved easily with a small patch to the deployment.pri [1] file, but I'm not fluent enough in qmake for this, could you give me some guidance? (or even better, add support for user definition of the game binary dir and game data dir).
Thanks!
As a side note, it seems the defined ( LIQUIDFUN ) instruction here [2] does not work, because if I define LIQUIDFUN as an environment variable, LIQUIDFUN_DIR is still set to the in-tree path (even though I can let qmake print the LIQUIDFUN variable).
Hi there,
I'm looking at packaging VoltAir for Mageia. I already packaged LiquidFun and patched the VoltAir qmake files to use the system LiquidFun library.
Now I would like to put the main binary in /usr/games and the game data (DEPLOYMENTFOLDERS) in /usr/share/games/voltair, following Mageia's flavour of the FHS for games. I think it can be achieved easily with a small patch to the deployment.pri [1] file, but I'm not fluent enough in qmake for this, could you give me some guidance? (or even better, add support for user definition of the game binary dir and game data dir).
Thanks!
As a side note, it seems the
defined ( LIQUIDFUN )
instruction here [2] does not work, because if I define LIQUIDFUN as an environment variable, LIQUIDFUN_DIR is still set to the in-tree path (even though I can let qmake print the LIQUIDFUN variable).[1] https://github.com/google/VoltAir/blob/develop/VoltAir/deployment.pri [2] https://github.com/google/VoltAir/blob/develop/VoltAir/VoltAir.pro#L26-L31