Hi games herd! lincity-ng has released their first prerelease, it's quite playable. lincity-ng is a simcity-like simulation game with the gameplay engine of the venerable lincity and improved (3D) graphics. ebuild will be forthcoming. Anno.
Created attachment 60453 [details] lincity-ng-0.9_rc1.ebuild This was harder than I thought, thanks to the project using jam instead of autotools. Some review would be appreciated, lots o' ugly things in there, but I can't think of a better way.
whoops, sorry, wrong component
Actually, it goes to games... we're the only ones that do anything with games-* or dev-games
It does say in the Ebuild submission guideline *not* to submit anything to any component other than ebuilds. Oh, well.
Created attachment 60456 [details] lincity-ng-0.9_rc1.ebuild A much saner version of the ebuild, thanks to MatzeB and egore of #lincity
Created attachment 60457 [details] lincity-ng-0.9_rc1.ebuild The longer I work on this, the shorter the ebuild gets.
comments: remove virtual/libc from depends fix the tabs in depends (just one) remove local myconf docs are installed in /usr/share/doc/${PF} set S right before src_compile and remove the comment put the MY variables before DESCRIPTION and put DESCRIPTION, HOMEPAGE, and SRC_URI together (like the other games ebuilds).
Thanks Mr. Bones. While I'm at it: How can I check that an already installed package has been compiled with a certain USE-flag (SDL-mixer with oggvorbis in this case)?
use built_with_use from the eutils eclass. see the tomatoes ebuild for an example. and the oggvorbis use flag is deprecated. use ogg or vorbis depending on what you need.
Created attachment 60504 [details] lincity-ng-0.9_rc1.ebuild Changes: - MY_PV calculated from PV, not set manually - docs install into /usr/share/docs/${PF} - S is set right before src_compile - local myconf removed - depend tabs fixed - MY-variables set at the top - check for "built_with_use -o media-libs/sdl-mixer vorbis oggvorbis" because sdl-mixer still uses oggvorbis. is it correct to tell the user to re-emerge with USE=vorbis, or do I need to tell him to use oggvorbis for the time being?
(In reply to comment #10) > Created an attachment (id=60504) > lincity-ng-0.9_rc1.ebuild > > Changes: Whoops, forgot: - removed dependency on libc - added dependency on zlib (hadn't seen that before) - lincity-ng's configure and README disagree on minimal versions required on some dependencies, opted for the newer version in all cases
Feel free to add ~ppc to KEYWORDS.
Is this coming into portage?
works fine here... great work. thanks!
Created attachment 60712 [details] lincity-ng-0.9_rc1.ebuild Changes: - DESCRPTION, HOMEPAGE and SRC_URI all in one block - added ~ppc to KEYWORDS
Bump. Still not in portage.
Created attachment 61706 [details] lincity-ng-1.0.ebuild lincity-ng-1.0 has been released. Mangling of the SRC_URI and similar is not necessary any more since version naming conforms to gentoo conventions.
Created attachment 61707 [details] lincity-ng-1.0.ebuild lincity-ng-1.0 has been released. Mangling of the SRC_URI and similar is not necessary any more since version naming conforms to gentoo conventions.
Sorry about the duplicate submission, browser hickup.
Works great here, feel free to add ~amd64 to KEYWORDS
games-simulation/lincity-ng added to portage. Thanks for the bug report and ebuild. nice work on that ebuild. re: comment #16 - don't do that. go read the faq at games.gentoo.org