forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kf5-okteta.rb
57 lines (47 loc) · 1.55 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
require "formula"
class Kf5Okteta < Formula
homepage "http://www.kde.org/"
url "http://download.kde.org/stable/applications/15.08.1/src/okteta-15.08.1.tar.xz"
sha256 "32389deec8fbabd8c24b1d9b23b3358c0878d1680a40a8137a82e7601876ab92"
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
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 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 )