Conversation
require 'formula' | ||
|
||
# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook | ||
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!!!
Check your formula with |
Right, sorry... >.< |
class Sfml < Formula | ||
homepage 'http://www.sfml-dev.org' | ||
|
||
version '2.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version goes under url, remove blank line above here.
Ping |
Fixed. |
I'm sorry I didn't read the formula guidelines and as a result didn't follow them in the slightest. I will read them for future formulae I might make. (note to self: read guidelines even if I'm adapting someone else's code) |
Was reading the cookbook to do the same thing. Nice to see other people also caring about SFML & Homebrew! :-) A few things though. First, I'd like to emphasis that I haven't written any formula yet so I don't know all the tricks. That's probably not the most relevant thing, but isn't it better to use directly You added a Regarding the dependencies, SFML provides both freetype and sndfile as frameworks and statically link against specific version of GLEW and jpeg that are also shipped with the source code (see the extlibs folder). When compiling SFML, CMake might be confused if multiple version of the libraries exist on the system. It would be safer to somehow explicitly specify which version CMake should use, no? You specify You're speaking of |
I broke everything I think. I'm going to delete my forked repo, fork it anew, and do everything right this time. |
@Anonymooseable Ok, let me know when you publish your new one with an @mantognini. |
Based on juniorz's gist: https://gist.github.com/juniorz/4440291
Uses release version of SFML.