Summary: | ebuild for games-strategy/civctp (Civilization Call to Power) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Holger Thon <ht_gentoo04> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | amigadave, ljkopen |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
games-strategy/civctp/civctp-1.2a.ebuild
games-strategy/civctp/civctp-1.2a.ebuild games-strategy/civctp/civctp-1.2a.ebuild |
Description
Holger Thon
2005-01-24 01:06:35 UTC
Created attachment 49342 [details]
games-strategy/civctp/civctp-1.2a.ebuild
Seems that SRC_URI cannot be corrected in pkg_setup(), so you need to specify
the language of your CivCTP-CD in your USE-flags prefixed by "civctp-".
Thus, if you have the english version of civctp, your USE must contain:
civctp-english
You can install another language of civctp by adding "langpatch" to USE and
exporting the CTP_LANG variable prior to emerging (e.g. export
CTP_LANG=italian, if you want italian sounds and menus). Without CTP_LANG being
set, CTP_LANG=english is assumed.
Created attachment 49343 [details]
games-strategy/civctp/civctp-1.2a.ebuild
Corrected typo in die Message, this is CivCTP...
I just ordered this game from Tuxgames... when it comes in, I'll look over the ebuild and the install options and work with you to get an acceptable ebuild into portage. Any trial/shipping news? Well, I really dislike the whole language thing, which is my primary reason for not adding this. I think it is an ugly hack, no offense, and simply feel that it would end up causing more bugs than it is worth, especially as we already have LINGUAS in use in other places (KDE?) in the tree. I haven't spent much time on this, since the game works perfectly fine doing a manual installation, until such time as a proper solution for the languages can be determined. Yes, it has been translated to too many languages, so perhaps you are right that it could make it difficult to ensure the ebuild works with any version of the game. Maybe it's best to close this bug, then. OK. Here is what I meant. In Gentoo, the LINGUAS variable is expanded out into USE flags that can be used. There is no reason to use local USE flags for this. Check out bug #96640 to see how they're doing it for NWN. I would also make it default to always download English since English is the "official" Gentoo language. Does that make sense? Created attachment 67927 [details]
games-strategy/civctp/civctp-1.2a.ebuild
This ebuild is slightly modified to use the new lokigames mirror rotation and
also the LINGUAS make.conf variable. I have *only* edited it through the
SRC_URI section, so I don't know if this will work, as I don't have my media
handy with me at work. This should get you going in the right direction,
however.
|