class Efl < Formula desc "Enlightenment Foundation Libraries" homepage "https://www.enlightenment.org" url "https://download.enlightenment.org/rel/libs/efl/efl-1.21.1.tar.xz" sha256 "44774b42b3dbbbe4d124c8fddcd169c6ffab9d602d1a757abcfb9a84e001a928" bottle do sha256 "bd15e24c379486d407d5e6b671ca5f2bd14b8ecdc1e7158c8f258a32919dee30" => :mojave sha256 "682459d2e9a436d246e538e39a5acf323494007098970fb384ba61b424699633" => :high_sierra sha256 "84a6e4c174a6390b44b05c513b192806388ecf77afeeff68055247d5763c2ecd" => :sierra end depends_on "gettext" => :build depends_on "pkg-config" => :build depends_on "bullet" depends_on "dbus" depends_on "fontconfig" depends_on "freetype" depends_on "fribidi" depends_on "giflib" depends_on "gst-plugins-good" depends_on "gstreamer" depends_on "jpeg" depends_on "libpng" depends_on "libraw" depends_on "librsvg" depends_on "libsndfile" depends_on "libspectre" depends_on "libtiff" depends_on "luajit" depends_on "openssl" depends_on "poppler" depends_on "pulseaudio" depends_on "shared-mime-info" def install ENV.cxx11 args = %W[ --disable-dependency-tracking --prefix=#{prefix} ] system "./configure", *args system "make", "install" end def post_install system Formula["shared-mime-info"].opt_bin/"update-mime-database", "#{HOMEBREW_PREFIX}/share/mime" end test do system bin/"edje_cc", "-V" system bin/"eet", "-V" end end