forked from adymo/homebrew-kde
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kde-runtime.rb
48 lines (41 loc) · 1.14 KB
/
kde-runtime.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
require File.join(File.dirname(__FILE__), 'base_kde_formula')
class KdeRuntime < BaseKdeFormula
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kde-runtime-4.11.4.tar.xz'
sha1 '66e34b4fa464866d37379b3c78ea6415941db5c0'
depends_on 'oxygen-icons'
depends_on 'kde-phonon'
depends_on 'kdelibs'
depends_on 'nepomuk-core'
depends_on 'kdepimlibs'
depends_on 'kactivities'
kde_build_deps
def patches
DATA
end
def extra_cmake_args
phonon = Formula.factory 'kde-phonon'
"-DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib"
end
end
__END__
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,7 +79,7 @@
# Background processes
add_subdirectory(kpasswdserver)
add_subdirectory(kdontchangethehostname)
-add_subdirectory(kglobalaccel)
+# add_subdirectory(kglobalaccel)
add_subdirectory(knotify)
add_subdirectory(ktimezoned)
--- a/kwalletd/kwalletd.h
+++ b/kwalletd/kwalletd.h
@@ -184,7 +184,7 @@
void processTransactions();
void activatePasswordDialog();
#ifdef Q_WS_X11
- void connectToScreenSaver();
+# void connectToScreenSaver();
#endif
private: