Hi,
it is NOT possible to use different versions of clanlib together atm. I do not know
if this will ever be possible, but it will be a bit difficult to install differnet games
(which depends on different library versions) without a change in header
management. Maybe someone has a good idea how to solve this.
ok, i changed the ebuilds so they install libs into /usr/lib/${P} and moved the
include
files to /usr/include/${P} ...
i then made a script called 'clanlib-config' ... basically run it with desired
version ...
so at the end of each clanlib merge it'll run `clanlib-config ${PV}` ...
then when a package who needs clanlib emerges (say pingus), it runs
clanlib-config
0.6.5 in pkg_setup() ...
what clanlib-config does is symlink /usr/include/ClanLib to clanlib-VERSION and
then creates symlinks in /usr/lib/ to all the libraries in
/usr/lib/clanlib-VERSION ...
note that since games tend to link against the full libname-version and not the
generic
libname, /usr/lib/ is populated with all the full libname-version files while
the libname
generic is linked to the last version clanlib-config was given ...
i guess we'll see how it goes, but i emerged clanlib 0.6.5 and 0.7.2, ran
clanlib-config for
both, then emerged pingus (which ran clanlib-config 0.6.5 in pkg_setup()) and
it
worked just dandy ;)