forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 3
/
kdevelop.rb
55 lines (47 loc) · 2.01 KB
/
kdevelop.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
class Kdevelop < Formula
desc "Integrated Development Environment for KDE"
homepage "http://kdevelop.org"
url "https://download.kde.org/stable/kdevelop/5.1.1/src/kdevelop-5.1.1.tar.xz"
sha256 "0a01a4ffb2f01802cf4945521a3149a8f82c21fa8a97935991f1854b7db5d754"
head "git://anongit.kde.org/kdevelop.git"
depends_on "cmake" => :build
depends_on "chigraph/kf5/kf5-extra-cmake-modules" => :build
depends_on "qt"
depends_on "llvm"
depends_on "chigraph/kf5/kdevplatform"
depends_on "chigraph/kf5/kdevelop-pg-qt"
depends_on "chigraph/kf5/kf5-karchive"
depends_on "chigraph/kf5/kf5-kconfig"
depends_on "chigraph/kf5/kf5-kguiaddons"
depends_on "chigraph/kf5/kf5-ki18n"
depends_on "chigraph/kf5/kf5-kiconthemes"
depends_on "chigraph/kf5/kf5-kinit"
depends_on "chigraph/kf5/kf5-kio"
depends_on "chigraph/kf5/kf5-kitemmodels"
depends_on "chigraph/kf5/kf5-kitemviews"
depends_on "chigraph/kf5/kf5-kjobwidgets"
depends_on "chigraph/kf5/kf5-knewstuff"
depends_on "chigraph/kf5/kf5-kparts"
depends_on "chigraph/kf5/kf5-kservice"
depends_on "chigraph/kf5/kf5-ktexteditor"
depends_on "chigraph/kf5/kf5-kwallet"
depends_on "chigraph/kf5/kf5-kwidgetsaddons"
depends_on "chigraph/kf5/kf5-kwindowsystem"
depends_on "chigraph/kf5/kf5-kxmlgui"
depends_on "chigraph/kf5/kf5-sonnet"
depends_on "chigraph/kf5/kf5-breeze-icons"
def install
args = std_cmake_args
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
# mkdir_p "#{Etc.getpwuid.dir}/Library/Application Support/kdevelop"
# system "ln", "-sf", "#{HOMEBREW_PREFIX}/share/icons/breeze/breeze-icons.rcc", "#{Etc.getpwuid.dir}/Library/Application Support/kdevelop/icontheme.rcc"
end
def caveats; <<-EOS.undent
You need to make sime manual steps in order to make this formula work:
mkdir -p "~/Library/Application Support/kdevelop"
ln -sf "#{HOMEBREW_PREFIX}/share/icons/breeze/breeze-icons.rcc" "~/Library/Application Support/kdevelop/icontheme.rcc"
EOS
end
end