Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 652324

Summary: games-sports/openomf [new package]
Product: Gentoo Linux Reporter: Wojciech Myrda <vojcek>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 652328, 652282    
Bug Blocks:    
Attachments: openomf-9999.ebuild
openomf-9999-libsdl.patch

Description Wojciech Myrda 2018-04-03 12:26:51 UTC
Created attachment 526432 [details]
openomf-9999.ebuild

There is currently maintained OMF 2097 clone. This fine game would be welcomed addition in portage.
I was unable to make released sources to compile, but live version from master works like a charm hence the attached ebuilds.
Comment 1 Wojciech Myrda 2018-04-03 12:34:43 UTC
Created attachment 526434 [details, diff]
openomf-9999-libsdl.patch

Following is the patch for libsdl2. It was required for version 0.6.5, but I have the feeling it is still required here.
Comment 2 Wojciech Myrda 2018-04-03 12:41:38 UTC
This bug depends on:
https://bugs.gentoo.org/652282 media-libs/dumb-2.0.3
https://bugs.gentoo.org/652328 dev-games/libshadowdive
Comment 3 Jonas Stein gentoo-dev 2018-04-04 02:13:59 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

• Please test the ebuild with repoman full -x https://wiki.gentoo.org/wiki/Repoman
• We always try to use the latest EAPI, please bump to EAPI=6
• drop eutils in EAPI=6 then
see also 
https://blogs.gentoo.org/mgorny/2015/11/13/the-ultimate-guide-to-eapi-6/
https://devmanual.gentoo.org/ebuild-writing/eapi/

• KEYWORDS="", or not set at all in 9999
• reduce empty lines
• if the package has icons and menu items read 
  https://wiki.gentoo.org/wiki/Notes_on_ebuilds_with_GUI
Comment 4 Wojciech Myrda 2018-04-05 10:20:15 UTC
I contacted the upstream https://github.com/omf2097/openomf/issues/350 and I will fix the ebuild when they will release current libshadowdive & openomf versions corresponding to each other.