i'd like to attempt to package the game for gentoo. in order to do that i will need to unbundle the 3rd party stuff from the game and package it separately. so i'd like to ask about a few things.
- will cmake pick up system installation of libyuni and luajit (and possibly some other extra dep) or do i need some extra hacks to do so?
- how can i configure the default resources dir at build time? - gentoo usually uses /usr/share/games/<game name> for default location for game data files - this way there is one global copy of data files.
obviously i'm not talking about binary packages per-se, as gentoo is source based
unbundling the libraries
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: unbundling the libraries
CMake won't auto-detect Yuni or LuaJIT (which is currently in beta stage and built statically - we use LuaJIT 2.0.0 because it's the first version compatible with amd64 which is what I am running).
You don't need to tell TA3D where to find its files as long as they are located into a "standard" path because TA3D will try several paths:
You don't need to tell TA3D where to find its files as long as they are located into a "standard" path because TA3D will try several paths:
- /usr/local/games/ta3d/
- /usr/local/games/ta3d/resources/
- /usr/local/share/ta3d/
- /usr/local/share/ta3d/resources/
- /opt/local/share/ta3d/
- /opt/local/share/ta3d/resources/
- /usr/local/share/games/ta3d/
- /usr/local/share/games/ta3d/resources/
- /opt/local/share/games/ta3d/
- /opt/local/share/games/ta3d/resources/
- /usr/games/ta3d/
- /usr/games/ta3d/resources/
- /usr/share/ta3d/
- /usr/share/ta3d/resources/
- /opt/share/ta3d/
- /opt/share/ta3d/resources/
- /usr/share/games/ta3d/
- /usr/share/games/ta3d/resources/
- /opt/share/games/ta3d/
- /opt/share/games/ta3d/resources/
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 15 guests