Opened 8 years ago
Closed 7 years ago
#53325 closed submission (fixed)
hedgewars @0.9.22_0 - new port submission
Reported by: | kencu (Ken) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | hedgewars |
Description
Another of the 'internet's top open source games' I'm bringing into macports, to join Pingus, Widelands, and Minetest (which is coming). Hedgewars is quite popular, it appears. Works nicely for me on 10,6, 10.7, 10.11, and 10.12.
Here's a YouTube demo video: https://www.youtube.com/watch?feature=player_embedded&v=u1Y_Pw_TtFo
Like many of these games, there are lots of dependencies, and some shenanigans are always needed. This one requires a haskell compiler, a pascal to C translator, and many of macport's deps. It was quite fun to sort out -- we still have qt4 working on current systems, so that's a bonus for macports.
There were a few patches needed to get around some outdated calls into ffmpeg, and a few areas where the game authors needed some help with proper linking and some haskell compiler opt flags. I believe I have them all sorted out, and it all builds and works well on the tested systems.
i hope people enjoy it. More in the pipeline. I hope to fill in as many of these as I can.
Attachments (6)
Change History (11)
Changed 8 years ago by kencu (Ken)
Changed 8 years ago by kencu (Ken)
Attachment: | patch-0001-avwrapper-avframealloc-fix.diff added |
---|
Changed 8 years ago by kencu (Ken)
Attachment: | patch-0002-LibavInteraction-fix.diff added |
---|
Changed 8 years ago by kencu (Ken)
Attachment: | patch-0003-proj-hwc-CMakeLists-proper-link-flags.diff added |
---|
Changed 8 years ago by kencu (Ken)
Attachment: | patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff added |
---|
Changed 8 years ago by kencu (Ken)
Attachment: | patch-0005-remove-haskell-spec-constr.diff added |
---|
comment:1 Changed 8 years ago by kencu (Ken)
comment:3 Changed 8 years ago by mf2k (Frank Schima)
Some comments:
- Instead of setting
distfiles
andworksrcdir
, simply set thedistname
. - Add a
sha256
checksum and remove the obsoletesha1
checksum unless upstream provides it. - The port depends on
port:ffmpeg
, but willffmpeg-devel
also work? If so, change the dependency to be a path dependency like this:path:bin/ffmpeg:ffmpeg
.
comment:5 Changed 7 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
FYI - to build this, you'll need the hs-bytestring-show port I just submitted as well.
And on Sierra, ghc is presently broken, although with an easy fix. See <https://github.com/macports/macports-ports/pull/70> for the simple ghc fix, if you're interested in trying it out on Sierra.