forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kf5-okteta.rb
68 lines (54 loc) · 1.79 KB
/
kf5-okteta.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
59
60
61
62
63
64
65
66
67
68
require "formula"
class Kf5Okteta < Formula
homepage "http://www.kde.org/"
url "http://download.kde.org/stable/applications/15.08.2/src/okteta-15.08.2.tar.xz"
sha256 "8bda40030b2c853cb5c78e40088af654bd0193a123b3e018e80dc5636da44930"
head "git://anongit.kde.org/okteta.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-kbookmarks"
depends_on "haraldf/kf5/kf5-kcodecs"
depends_on "haraldf/kf5/kf5-kcompletion"
depends_on "haraldf/kf5/kf5-kconfigwidgets"
depends_on "haraldf/kf5/kf5-kdbusaddons"
depends_on "haraldf/kf5/kf5-kdoctools"
depends_on "haraldf/kf5/kf5-ki18n"
depends_on "haraldf/kf5/kf5-kcmutils"
depends_on "haraldf/kf5/kf5-kio"
depends_on "haraldf/kf5/kf5-knewstuff"
depends_on "haraldf/kf5/kf5-kparts"
depends_on "haraldf/kf5/kf5-kservice"
depends_on "haraldf/kf5/kf5-solid"
depends_on "haraldf/kf5/kf5-kwidgetsaddons"
depends_on "haraldf/kf5/kf5-kxmlgui"
def patches
DATA
end
def install
# don't create mime-databae in Keg -- do this later
inreplace "mimetypes/CMakeLists.txt",
'update_xdg_mimetypes(',
'#update_xdg_mimetypes('
args = std_cmake_args
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
def post_install
#update mime-database in homebrew system
system "update-mime-database", HOMEBREW_PREFIX/"share/mime"
end
end
__END__
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e25a4b7..98258c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,7 +91,7 @@ add_definitions(
# helper libs
add_subdirectory( libs )
-add_subdirectory( doc )
+#add_subdirectory( doc )
set( OKTETALIBS_MAJOR_VERSION 0 )
set( OKTETALIBS_MINOR_VERSION 9 )