Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Enlightenment Foundation Libraries (efl) The EFL are a set of cross platform (Mac OS/Windows/Linux/BSD) libraries. They cover a range of functionality from main-loop, to graphics, scene graphs, networking, widgets, data storage, IPC and much more. Ref Homebrew/legacy-homebrew#38637. Signed-off-by: Tim D. Smith <git@tim-smith.us>
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
class Efl < Formula | ||
homepage "https://www.enlightenment.org" | ||
url "http://download.enlightenment.org/rel/libs/efl/efl-1.14.0.tar.gz" | ||
sha256 "30a8a239449e0d068a39787b5a4769dd26ddf0476f58f094c85e65b108086269" | ||
|
||
conflicts_with "eina", :because => "efl aggregates formerly distinct libs, one of which is eina" | ||
conflicts_with "evas", :because => "efl aggregates formerly distinct libs, one of which is evas" | ||
conflicts_with "eet", :because => "efl aggregates formerly distinct libs, one of which is eet" | ||
conflicts_with "embryo", :because => "efl aggregates formerly distinct libs, one of which is embryo" | ||
|
||
option "with-docs", "Install development libraries/headers and HTML docs" | ||
|
||
depends_on "doxygen" => :build if build.with? "docs" | ||
depends_on "pkg-config" => :build | ||
depends_on :x11 => :optional | ||
depends_on "openssl" | ||
depends_on "freetype" | ||
depends_on "fontconfig" | ||
depends_on "jpeg" | ||
depends_on "libpng" | ||
depends_on "webp" => :optional | ||
depends_on "luajit" | ||
depends_on "fribidi" | ||
depends_on "giflib" | ||
depends_on "libtiff" | ||
depends_on "gstreamer" | ||
depends_on "gst-plugins-good" | ||
depends_on "d-bus" | ||
depends_on "pulseaudio" | ||
depends_on "bullet" | ||
|
||
needs :cxx11 | ||
|
||
def install | ||
ENV.cxx11 | ||
args = ["--disable-dependency-tracking", | ||
"--disable-silent-rules", | ||
"--enable-cocoa", | ||
"--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba", # There's currently (1.14) no clean profile for Mac OS, so we need to force passing configure | ||
"--prefix=#{prefix}"] | ||
args << "--with-x11=none" if build.without? "x11" | ||
|
||
system "./configure", *args | ||
system "make", "install" | ||
system "make", "install-doc" if build.with? "docs" | ||
end | ||
|
||
test do | ||
system "#{bin}/edje_cc", "-V" | ||
end | ||
end |