Magellan Linux

Contents of /branches/magellan-next/extras/kdebindings4/kdebindings4-4.6.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8616 - (show annotations) (download)
Mon Jul 25 13:20:00 2011 UTC (12 years, 9 months ago) by niro
File size: 2292 byte(s)
-fxed CMAKE configure opts
1 # $Id$
2
3 PNAME="kdebindings4"
4 PVER="4.6.5"
5 PBUILD="r1"
6
7 SDEPEND="== kde-base/kdelibs4-${PVER}
8 == kde-base/kdepimlibs4-${PVER}
9 == kde-base/kdebase4-workspace-${PVER}
10 == kde-base/kdepim4-runtime-${PVER}
11 >= kde-base/qimageblitz-0.0.6
12 >= virtual/phonon
13 >= dev-lang/python-2.7
14 >= dev-lang/ruby-1.9
15 >= dev-python/pyqt4-4.8
16 >= dev-python/qscintilla-qt4-2.5
17 >= dev-libs/soprano-2.6
18 >= dev-libs/shared-desktop-ontologies-0.7
19 >= app-office/akonadi-1.4
20 == kde-base/kdegraphics4-okular-${PVER}"
21 #>= dev-lang/perl-5.12
22 #>= virtual/java-jdk
23
24 SPLIT_PACKAGES="${PNAME}-python
25 ${PNAME}-smoke
26 ${PNAME}-ruby"
27 # ${PNAME}-csharp
28
29 # pull in kde4 as last to get kde's {pre,post}install {pre,post}remove
30 sminclude python perl kde4-split
31
32 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
33
34 # split_info_kdebindings4-csharp()
35 # {
36 # DESCRIPTION="KDE4 bindings for mono."
37 # DEPEND=">= dev-lang/mono-1
38 # == kde-base/kdebindings4-mono-${PVER}"
39 # }
40
41 split_info_kdebindings4-python()
42 {
43 DESCRIPTION="KDE4 Kross scripting framework: Python interpreter."
44 DEPEND="== kde-base/kdepimlibs4-${PVER}
45 >= dev-lang/python-2.6
46 >= dev-python/pyqt4-4.7.7"
47 }
48
49 split_info_kdebindings4-ruby()
50 {
51 DESCRIPTION="KDE4 bindings for ruby"
52 DEPEND="== kde-base/kdebindings4-smoke-${PVER}
53 >= dev-lang/ruby-1.9"
54 }
55
56 split_info_kdebindings4-smoke()
57 {
58 DESCRIPTION="Language independent library for Qt4 and KDE4 bindings."
59 DEPEND="== kde-base/kdelibs4-${PVER}
60 == kde-base/kdepimlibs4-${PVER}
61 == kde-base/kdepim4-runtime-${PVER}
62 >= kde-base/qimageblitz-0.0.6
63 >= dev-python/qscintilla-qt4-2.4
64 >= app-office/akonadi-1.4
65 >= virtual/phonon
66 >= dev-libs/soprano-2.5
67 >= dev-libs/shared-desktop-ontologies-0.5
68 == kde-base/kdegraphics4-okular-${PVER}"
69 # no java support atm
70 #>= virtual/java-jdk
71 }
72
73 src_compile()
74 {
75 cd ${SRCDIR}
76
77 # sip/pyqt4 built separately, not here
78 kde4_configure \
79 $(cmake_with KdepimLibs) \
80 $(cmake_with Nepomuk) \
81 $(cmake_with Phonon) \
82 $(cmake_with QScintilla) \
83 $(cmake_with Soprano) \
84 \
85 $(cmake_build_not csharp) \
86 $(cmake_build_not java) \
87 $(cmake_build_not php) \
88 $(cmake_build_not falcon) \
89 || die
90
91 # not needed anymore?
92 # $(cmake_disable KROSSRUBY) \
93
94 # not parallel make safe
95 make || die
96 }