Did not find this in portage nor at bugs.gentoo.org. Marked as x86, because i don't know how it's installed on other platforms. Reproducible: Always Steps to Reproduce: 1. 2. 3.
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.