homebrew-core/Formula/efl.rb

63 lines
1.6 KiB
Ruby
Raw Normal View History

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 2
2015-05-07 11:02:40 +00:00
bottle do
2017-06-12 12:51:19 +00:00
sha256 "b4966eb8e1147ae7f7b68e5006c702b3e81138fa8cf5416dc8670087d3246947" => :sierra
sha256 "6e696bfa75737c8b4afe14a2f3db78dfcfff841be700a94e108739602dece2bc" => :el_capitan
sha256 "81c36bb7f62bbbf598d1253dd7ebb46a46a65fdd8534ff27f063a73bbccf5093" => :yosemite
2015-05-07 11:02:40 +00:00
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"
2016-05-10 22:44:53 +00:00
depends_on "dbus"
depends_on "pulseaudio"
depends_on "bullet"
depends_on "libsndfile"
depends_on "libspectre"
depends_on "libraw"
depends_on "librsvg"
depends_on "poppler"
2016-08-06 02:11:39 +00:00
depends_on "webp" => :optional
depends_on "glib" => :optional
needs :cxx11
def install
ENV.cxx11
2016-08-06 02:11:39 +00:00
args = %W[
--disable-cxx-bindings
2016-08-06 02:11:39 +00:00
--disable-dependency-tracking
--prefix=#{prefix}
]
system "./configure", *args
system "make", "install"
system "make", "install-doc" if build.with? "docs"
end
test do
2016-08-06 02:11:39 +00:00
system bin/"edje_cc", "-V"
system bin/"eolian_gen", "-h"
system bin/"eet", "-V"
end
end