Nicolas Degen
Nicolas Degen

Reputation: 1846

Formula dependency for Homebrew

Similar to X11 in the example here, I want to assure Inkscape is installed.

Having depends_on :inkscape in my formula does however throw

Error: kws: Unsupported special dependency :inkscape

Is it not possible or is it a bug?

Upvotes: 1

Views: 887

Answers (1)

Ortomala Lokni
Ortomala Lokni

Reputation: 62456

X11 is a special kind of dependency in Homebrew and Inkscape is not a standard formula but a cask.

If you want to depends on the cask Inkscape, you have to use the following syntax:

depends_on cask: 'inkscape'

Read Brew Formula: How can I define cask and external dependencies? for a complete answer.

Upvotes: 1

Related Questions