Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (69 sloc) 2.58 KB
class KritaDev < Formula
desc "Automated dependency installation for Krita"
homepage "https://krita.org/en"
url "https://github.com/KDE/krita/raw/master/3rdparty/README.md"
version "4.3.0"
sha256 "98811f5caa846c617f667d17a8f9ee5626ce29dc22c0a6315fb26c2c951c0e53"
bottle :unneeded
keg_only "it is only a dummy keg for bringing in dependencies"
deprecated_option "with-libraw@0.18" => "with-libraw"
depends_on "boost"
depends_on "cmake"
depends_on "eigen"
depends_on "exiv2"
depends_on "gettext"
depends_on "KDE-mac/kde/kf5-extra-cmake-modules"
depends_on "KDE-mac/kde/kf5-karchive"
depends_on "KDE-mac/kde/kf5-kcompletion"
depends_on "KDE-mac/kde/kf5-kconfig"
depends_on "KDE-mac/kde/kf5-kcoreaddons"
depends_on "KDE-mac/kde/kf5-kguiaddons"
depends_on "KDE-mac/kde/kf5-ki18n"
depends_on "KDE-mac/kde/kf5-kitemmodels"
depends_on "KDE-mac/kde/kf5-kitemviews"
depends_on "KDE-mac/kde/kf5-kwidgetsaddons"
depends_on "KDE-mac/kde/kf5-kwindowsystem"
depends_on "little-cms2"
depends_on "qt"
depends_on "quazip"
depends_on "amyspark/dev-tap/fftw" => :recommended
depends_on "amyspark/dev-tap/vc" => :recommended
depends_on "giflib" => :recommended
depends_on "gsl" => :recommended
depends_on "ilmbase" => :recommended
depends_on "jpeg" => :recommended
depends_on "libheif" => :recommended
depends_on "libpng" => :recommended
depends_on "libraw" => :recommended
depends_on "libtiff" => :recommended
depends_on "opencolorio" => :recommended
depends_on "openexr" => :recommended
depends_on "pkg-config" => :recommended
depends_on "poppler" => :recommended
depends_on "pyqt" => :recommended
depends_on "python" => :recommended
depends_on "sip" => :recommended
depends_on "zlib" => :recommended
def install
quiet_system "cp", cached_download.to_s, prefix.to_s
end
def caveats
<<~EOS
Please follow the instructions in 3rdparty/README.md, and set
CMAKE_PREFIX_PATH=#{Formula["qt5"].opt_prefix};#{Formula["gettext"].opt_prefix};#{Formula["zlib"].opt_prefix};#{HOMEBREW_PREFIX}/lib/;../install;
QUAZIP_INCLUDE_DIR=#{HOMEBREW_PREFIX}/include/quazip
QUAZIP_LIBRARIES=#{HOMEBREW_PREFIX}/lib/libquazip.dylib
OPENEXR_INCLUDE_DIR=#{HOMEBREW_PREFIX}/include/openexr
BUILD_TESTING=OFF
CMAKE_INSTALL_PREFIX=../install
KDE_INSTALL_BUNDLEDIR=../install/bin
SIP_DIR=#{HOMEBREW_PREFIX}/share/sip
for CMake to find these modules.
For your convenience, this file has been downloaded to
#{prefix}.
EOS
end
test do
system "test", "#{prefix}/README.md"
end
end
You can’t perform that action at this time.