class Efl < Formula desc "Enlightenment Foundation Libraries" homepage "https://www.enlightenment.org" url "https://download.enlightenment.org/rel/libs/efl/efl-1.22.3.tar.xz" sha256 "7e7a4199b1e90d400dab2491db6032f8e0b26bab65ec19c9f8a97a82394331c8" revision 1 bottle do sha256 "570e5899c94457cfb6ea3c6a81866777c618f8e80ae0a0fc36290d0441b9ca48" => :mojave sha256 "2dd3a125808d8d485ddfe6973da7c34f2c0aaf682041303ecc03dade0a45710c" => :high_sierra sha256 "d2ed5871fe88ef1c3ee3160b86d8bda95566d873a496a05b1495b4fb87f24230" => :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@1.1" 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