This repository has been archived by the owner on Mar 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The existing X11 requirement only works for OS X, and works in concert with XQuartz. For Linux, we want to install upstream X.Org instead. Closes #10. Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
- Loading branch information
Bob W. Hogg
committed
May 23, 2016
1 parent
988129d
commit bcb349a
Showing
5 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
require "requirement" | ||
|
||
class XorgRequirement < Requirement | ||
fatal true | ||
default_formula "linuxbrew/xorg/xorg" | ||
|
||
def initialize(name = "xorg", tags = []) | ||
@name = name | ||
if /(\d\.)+\d/ === tags.first | ||
tags.shift | ||
end | ||
super(tags) | ||
end | ||
|
||
satisfy :build_env => false do | ||
Formula["linuxbrew/xorg/xorg"].installed? | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters