Skip to content

Commit

Permalink
efl 1.14.0 (new formula)
Browse files Browse the repository at this point in the history
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
leiflm authored and tdsmith committed May 7, 2015
1 parent 7d89634 commit 99b4e75
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions Formula/efl.rb
@@ -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

0 comments on commit 99b4e75

Please sign in to comment.