Audio support in hugo-unix, homebrew tap for macOS

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Audio support in hugo-unix, homebrew tap for macOS

Re: Audio support in hugo-unix, homebrew tap for macOS

by RealNC » Wed Feb 20, 2019 6:19 am

Forgot to mention that when installing with homebrew, you get the audio-enabled version of the "he" terp. (Was kind of the whole point, to spare people from having to install the needed sound libraries by hand.)

Audio support in hugo-unix, homebrew tap for macOS

by RealNC » Wed Feb 20, 2019 6:15 am

I just added full audio support to the CLI interpreter of hugo-unix. If frotz has it, we should to!

It uses the same audio engine as Hugor, so all music and sound formats Hugo games can have are supported. It's disabled by default though, because building it requires development libraries to be available on the system. To make things easier to Mac users, I made hugo-unix installable using homebrew. All you need to do is add the hugo tap with:

Code: Select all

brew tap realnc/hugo
Then you can install hugo-unix with:

Code: Select all

brew install hugo-unix
It will download, build and install everything automatically, just like any other homebrew package. In a default homebrew setup, you should be able to run "hc", "hd" and "he" from anywhere, since /usr/local/bin is already in the system PATH in macOS. Note that the package is called "hugo-unix", not "hugo". There's already a package in homebrew called "hugo" (which is completely unrelated.)

If you don't have homebrew installed, you should. It's awesome. And dead-easy to install. All you need to do is open a terminal (normal user, NOT root) and paste this command in it:

Code: Select all

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Confirm the prompts. For more info, see https://brew.sh.

Top