homebrew-core/Formula/efl.rb
2017-09-02 16:01:10 -04:00

59 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.20.3.tar.xz"
sha256 "1273014aff3cd313a315f6745b02958668083726d830873b681fe726b9421191"
bottle do
sha256 "e1a44789329047840d68db228c03c60bddc5f49aa1491c9049a8846cdca4f6ef" => :sierra
sha256 "cc474b1968c797e50d82c3ea6e3e53ff17a8c0c45143bb07ecf0011b67de586e" => :el_capitan
sha256 "b5ed53757d318cd60c1187c214dfe3c4855d087c72699cf5e75c35e2c559d848" => :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-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/"eet", "-V"
end
end