forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kf5-kate.rb
41 lines (35 loc) · 1.31 KB
/
kf5-kate.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
class Kf5Kate < Formula
desc "Advanced KDE Text Editor"
homepage "http://kate-editor.org"
url "http://download.kde.org/stable/applications/15.12.2/src/kate-15.12.2.tar.xz"
sha256 "071b4fc36e052204379ae9b4670e458dbbccffde9564db8383347ab6e643e4b2"
head "git://anongit.kde.org/kate.git"
depends_on "cmake" => :build
depends_on "haraldf/kf5/kf5-extra-cmake-modules" => :build
depends_on "qt5" => "with-dbus"
depends_on "haraldf/kf5/kf5-kactivities"
depends_on "haraldf/kf5/kf5-kconfig"
depends_on "haraldf/kf5/kf5-kdoctools"
depends_on "haraldf/kf5/kf5-kguiaddons"
depends_on "haraldf/kf5/kf5-ki18n"
depends_on "haraldf/kf5/kf5-kiconthemes"
depends_on "haraldf/kf5/kf5-kinit"
depends_on "haraldf/kf5/kf5-kjobwidgets"
depends_on "haraldf/kf5/kf5-kio"
depends_on "haraldf/kf5/kf5-kparts"
depends_on "haraldf/kf5/kf5-ktexteditor"
depends_on "haraldf/kf5/kf5-kwindowsystem"
depends_on "haraldf/kf5/kf5-kxmlgui"
depends_on "haraldf/kf5/kf5-kitemmodels"
depends_on "haraldf/kf5/kf5-knewstuff"
depends_on "haraldf/kf5/kf5-kwallet"
def install
args = std_cmake_args
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
test do
assert `/Applications/KDE/kate.app/Contents/MacOS/kate --help | grep -- --help` =~ /--help/
end
end