I noticed that the current kyra ebuild didn't seem to be building in support for opengl, even if the USE variable was specified. This updated ebuild checks for the opengl USE variable and configures with opengl support if appropriate. It also follows the Gentoo ebuild docs more closely in terms of build style (http://www.gentoo.org/doc/en/gentoo-howto.xml), and fixes a couple of typos in the previous ebuild ('dir' vs 'die'). :)
Created attachment 22199 [details] kyra-2.0.7-r1.ebuild Here's my ebuild. I forgot to mention that I also changed to SLOT="2", since version 1 of the Kyra library has incompatible widget functionality with the current version. If anyone at a later date wants to create ebuilds for older stuff based on kyra 1.x, this will probably help. :)
Created attachment 22201 [details] fixed kyra-2.0.7-r1.ebuild Whoops, problem with sandboxing. This newest attachment should have no problems emerging.
IUSE="doc sdl" econf `use_with opengl` || die "econf failed." Why isn't opengl in the IUSE statement? Why is the sdl useflag there?
Because I mixed them up. :P It should have opengl in the IUSE instead. :) Also, what's the rule for IUSE? Is it for items that are optional in the build?
IUSE should list all USE flags avaiable to the build
added to cvs, thanks :)