65 lines
1.8 KiB
Ruby
65 lines
1.8 KiB
Ruby
class Efl < Formula
|
|
desc "Enlightenment Foundation Libraries"
|
|
homepage "https://www.enlightenment.org"
|
|
url "https://download.enlightenment.org/rel/libs/efl/efl-1.21.0.tar.xz"
|
|
sha256 "7e65be78a537aa67e447b945f01f4ecf9ddfa14d509bf6bbf53a60253ecbae4b"
|
|
|
|
bottle do
|
|
sha256 "46b40afaea0994eea79a05e464361339d9fd4b1c03fc03368e5ea449f7f2f234" => :mojave
|
|
sha256 "dbc8f35200613ced92cd39217955de3370259c3f158ff35603f9bf5de65fbd73" => :high_sierra
|
|
sha256 "33002e4aef9bccaa09d7412c045277966fd2093bf76e7cc8c66d27a37b15d1ed" => :sierra
|
|
sha256 "04ee0cab98b1c770ecca86ee6e5935d8e23b5732d1afd663f09d5bb9a7da10d1" => :el_capitan
|
|
end
|
|
|
|
option "with-docs", "Install development libraries/headers and HTML docs"
|
|
|
|
depends_on "doxygen" => :build if build.with? "docs"
|
|
depends_on "gettext" => :build
|
|
depends_on "pkg-config" => :build
|
|
depends_on "bullet"
|
|
depends_on "dbus"
|
|
depends_on "fontconfig"
|
|
depends_on "freetype"
|
|
depends_on "fribidi"
|
|
depends_on "giflib"
|
|
depends_on "gst-plugins-good"
|
|
depends_on "gstreamer"
|
|
depends_on "jpeg"
|
|
depends_on "libpng"
|
|
depends_on "libraw"
|
|
depends_on "librsvg"
|
|
depends_on "libsndfile"
|
|
depends_on "libspectre"
|
|
depends_on "libtiff"
|
|
depends_on "luajit"
|
|
depends_on "openssl"
|
|
depends_on "poppler"
|
|
depends_on "pulseaudio"
|
|
depends_on "shared-mime-info"
|
|
depends_on "glib" => :optional
|
|
depends_on "webp" => :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
|
|
|
|
def post_install
|
|
system Formula["shared-mime-info"].opt_bin/"update-mime-database", "#{HOMEBREW_PREFIX}/share/mime"
|
|
end
|
|
|
|
test do
|
|
system bin/"edje_cc", "-V"
|
|
system bin/"eet", "-V"
|
|
end
|
|
end
|