62 lines
1.6 KiB
Ruby
62 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.4.tar.xz"
|
|
sha256 "39ebc07e37437d6ecdeb0f645783484e28a882b38f7e619ad12c2bf9b5548025"
|
|
revision 2
|
|
|
|
bottle do
|
|
sha256 "b4966eb8e1147ae7f7b68e5006c702b3e81138fa8cf5416dc8670087d3246947" => :sierra
|
|
sha256 "6e696bfa75737c8b4afe14a2f3db78dfcfff841be700a94e108739602dece2bc" => :el_capitan
|
|
sha256 "81c36bb7f62bbbf598d1253dd7ebb46a46a65fdd8534ff27f063a73bbccf5093" => :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
|