forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kf5-kate.rb
58 lines (49 loc) · 1.51 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
require "formula"
class Kf5Kate < Formula
url "http://download.kde.org/stable/applications/15.08.1/src/kate-15.08.1.tar.xz"
sha256 "3f96756f7f4c6d178d2310a9fd1b63e816348d49cb4d53907e10fc6a29c92b43"
homepage "http://www.kde.org/"
head "git://anongit.kde.org/kate.git"
depends_on "cmake" => :build
depends_on "haraldf/kf5/kf5-extra-cmake-modules" => :build
depends_on "qt5" => "with-d-bus"
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 patches
DATA
end
def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
end
__END__
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e8f47ed..8de15f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,6 +38,7 @@ find_package(KF5 REQUIRED COMPONENTS
DocTools
GuiAddons
I18n
+ IconThemes
Init
JobWidgets
KIO