homebrew-core/Formula/efl.rb
2016-10-20 23:43:04 -04:00

61 lines
1.6 KiB
Ruby

class Efl < Formula
desc "Enlightenment Foundation Libraries"
homepage "https://www.enlightenment.org"
url "https://download.enlightenment.org/rel/libs/efl/efl-1.18.2.tar.xz"
sha256 "292faf76557fe56a6bc15b48b5ea3eb1f0790e2ed7f2ade4ae79ef7973d67bed"
bottle do
sha256 "f6c6a2e5a796b37154230863b1208b2f5df22d49bbdac6b3218a5afaed991653" => :sierra
sha256 "5387e7e7741a61d4e9b6248bec4583e703cee6e7a8741d9cead1973119d784af" => :el_capitan
sha256 "3bbc5fa995e4c3edf6aa984857639fad408f2d25bb92f91fd35b88f467b923b8" => :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