class Efl < Formula desc "Enlightenment Foundation Libraries" homepage "https://www.enlightenment.org" url "https://download.enlightenment.org/rel/libs/efl/efl-1.18.4.tar.xz" sha256 "39ebc07e37437d6ecdeb0f645783484e28a882b38f7e619ad12c2bf9b5548025" revision 1 bottle do sha256 "cdf482a2830d0e67776cc7f45b2a445eb8be6f72df25e9de9d0a68f984f62bf5" => :sierra sha256 "407c249c41203d8888c8ce05ae646fca50e461cb402bd18ac5950aa17cc02ebe" => :el_capitan sha256 "d45461cba70fb8aa1e45387185b60b6309817692193ab25a343376fc892de689" => :yosemite end 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 "gettext" => :build depends_on "openssl" depends_on "freetype" depends_on "fontconfig" depends_on "jpeg" depends_on "libpng" depends_on "luajit" depends_on "fribidi" depends_on "giflib" depends_on "libtiff" depends_on "gstreamer" depends_on "gst-plugins-good" depends_on "dbus" depends_on "pulseaudio" depends_on "bullet" depends_on "libsndfile" depends_on "libspectre" depends_on "libraw" depends_on "librsvg" depends_on "poppler" depends_on "webp" => :optional depends_on "glib" => :optional needs :cxx11 def install ENV.cxx11 args = %W[ --disable-cxx-bindings --disable-dependency-tracking --prefix=#{prefix} ] system "./configure", *args system "make", "install" system "make", "install-doc" if build.with? "docs" end test do system bin/"edje_cc", "-V" system bin/"eolian_gen", "-h" system bin/"eet", "-V" end end