2015-04-14 13:17:18 +00:00
|
|
|
class Efl < Formula
|
2016-09-17 08:15:41 +00:00
|
|
|
desc "Enlightenment Foundation Libraries"
|
2015-04-14 13:17:18 +00:00
|
|
|
homepage "https://www.enlightenment.org"
|
2016-12-08 18:45:54 +00:00
|
|
|
url "https://download.enlightenment.org/rel/libs/efl/efl-1.18.4.tar.xz"
|
|
|
|
sha256 "39ebc07e37437d6ecdeb0f645783484e28a882b38f7e619ad12c2bf9b5548025"
|
2017-06-12 12:28:34 +00:00
|
|
|
revision 2
|
2015-04-14 13:17:18 +00:00
|
|
|
|
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
|
|
|
|
|
2015-04-14 13:17:18 +00:00
|
|
|
option "with-docs", "Install development libraries/headers and HTML docs"
|
|
|
|
|
|
|
|
depends_on "doxygen" => :build if build.with? "docs"
|
|
|
|
depends_on "pkg-config" => :build
|
2016-09-17 08:15:41 +00:00
|
|
|
depends_on "gettext" => :build
|
2015-04-14 13:17:18 +00:00
|
|
|
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"
|
2015-04-14 13:17:18 +00:00
|
|
|
depends_on "pulseaudio"
|
|
|
|
depends_on "bullet"
|
2016-09-17 08:15:41 +00:00
|
|
|
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
|
2016-09-17 08:15:41 +00:00
|
|
|
depends_on "glib" => :optional
|
2015-04-14 13:17:18 +00:00
|
|
|
|
|
|
|
needs :cxx11
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.cxx11
|
2016-08-06 02:11:39 +00:00
|
|
|
|
|
|
|
args = %W[
|
2016-09-17 08:15:41 +00:00
|
|
|
--disable-cxx-bindings
|
2016-08-06 02:11:39 +00:00
|
|
|
--disable-dependency-tracking
|
|
|
|
--prefix=#{prefix}
|
|
|
|
]
|
2015-04-14 13:17:18 +00:00
|
|
|
|
|
|
|
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"
|
2016-09-17 08:15:41 +00:00
|
|
|
system bin/"eolian_gen", "-h"
|
|
|
|
system bin/"eet", "-V"
|
2015-04-14 13:17:18 +00:00
|
|
|
end
|
|
|
|
end
|