Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35812 - cleaned up ebuild for kyra-2.0.7 (fixes opengl building)
Summary: cleaned up ebuild for kyra-2.0.7 (fixes opengl building)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-14 10:32 UTC by Graeme Humphries
Modified: 2004-01-01 01:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kyra-2.0.7-r1.ebuild (kyra-2.0.7-r1.ebuild,934 bytes, text/plain)
2003-12-14 10:37 UTC, Graeme Humphries
Details
fixed kyra-2.0.7-r1.ebuild (kyra-2.0.7-r1.ebuild,859 bytes, text/plain)
2003-12-14 11:34 UTC, Graeme Humphries
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Humphries 2003-12-14 10:32:26 UTC
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'). :)
Comment 1 Graeme Humphries 2003-12-14 10:37:04 UTC
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. :)
Comment 2 Graeme Humphries 2003-12-14 11:34:38 UTC
Created attachment 22201 [details]
fixed kyra-2.0.7-r1.ebuild

Whoops, problem with sandboxing. This newest attachment should have no problems
emerging.
Comment 3 Spider (RETIRED) gentoo-dev 2003-12-14 11:51:03 UTC
IUSE="doc sdl"
econf `use_with opengl` || die "econf failed."

Why isn't opengl in the IUSE statement?  Why is the sdl useflag there?
Comment 4 Graeme Humphries 2003-12-14 13:33:34 UTC
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?
Comment 5 Spider (RETIRED) gentoo-dev 2003-12-14 13:45:15 UTC
IUSE should list all USE flags avaiable to the build
Comment 6 SpanKY gentoo-dev 2004-01-01 01:27:44 UTC
added to cvs, thanks :)