[aquaria] Gentoo ebuilds

Jordi Gutiérrez Hermoso jordigh at gmail.com
Tue Jun 15 16:14:36 EDT 2010

On 15 June 2010 12:43, James Le Cuirot <chewi at aura-online.co.uk> wrote:
> Even if you're not a Gentoo user, you might be interested to see how
> I'm packaging it. Nearly all of the dependencies were already in the
> Portage tree so I unbundled everything except glfont2. This does
> involve some fudging with the headers and CMakeLists.txt and it would
> be nice if we didn't have to do this but I understand that this can be
> awkward to do in a way that works for everybody.

This can be done with options in the CMake scripts that are off by
default. You define them with set(build_with_system_libs "no" CACHE),
(the CACHE option is so that it can be configured with
ccmake/cmake-gui) later check with if(${build_with_system_libs}
strequal "yes"), and when you call CMake you just enable that with
cmake -Dbuild_with_system_libs=yes. You can also use the option()
CMake command if all you need is booleans.

After thinking it over, I think I will attempt a Debian packaging
after all, and this is how I intend to do it... of course, if the data
were free... would that ever happen?

More information about the aquaria mailing list