Magellan Linux

Contents of /trunk/extras/kdebindings4/kdebindings4-4.3.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4441 - (show annotations) (download)
Fri Dec 18 11:08:17 2009 UTC (14 years, 4 months ago) by niro
File size: 2641 byte(s)
auto added: ver bump to 4.3.4-r1
1 # $Id$
2
3 PNAME="kdebindings4"
4 PVER="4.3.4"
5 PBUILD="r1"
6
7 STATE="unstable"
8
9 # DESCRIPTION="KDE4 bindings for various programming languages."
10
11 SDEPEND="== kde-base/kdelibs4-${PVER}
12 == kde-base/kdepimlibs4-${PVER}
13 == kde-base/kdebase4-workspace-${PVER}
14 == kde-base/kdegraphics4-${PVER}
15 >= virtual/phonon
16 >= dev-lang/python-2.6
17 >= dev-python/pyqt4-4.6.1
18 >= dev-python/qscintilla-qt4-2.4
19 >= dev-libs/soprano-2.3.1
20 >= app-office/akonadi-1.2.1"
21 #>= dev-lang/ruby-1.9
22 #>= dev-lang/perl-5.10
23 #>= virtual/java-jdk
24
25 SPLIT_PACKAGES="${PNAME}-python"
26 # ${PNAME}-ruby
27 # ${PNAME}-smoke
28 # ${PNAME}-csharp
29
30 # pull in kde4 as last to get kde's {pre,post}install {pre,post}remove
31 sminclude python perl kde4-split
32
33 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
34
35 # split_info_kdebindings4-csharp()
36 # {
37 # DESCRIPTION="KDE4 bindings for mono."
38 # DEPEND=">= dev-lang/mono-1
39 # == kde-base/kdebindings4-mono-${PVER}"
40 # }
41
42 split_info_kdebindings4-python()
43 {
44 DESCRIPTION="KDE4 Kross scripting framework: Python interpreter."
45 DEPEND="== kde-base/kdepimlibs4-${PVER}
46 >= dev-lang/python-2.6
47 >= dev-python/pyqt4-4.6.1"
48 }
49
50 # split_info_kdebindings4-ruby()
51 # {
52 # DESCRIPTION="KDE4 bindings for ruby"
53 # DEPEND="== kde-base/kdebindings4-smoke-${PVER}
54 # >= dev-lang/ruby-1.9"
55 # }
56
57 # split_info_kdebindings4-smoke()
58 # {
59 # DESCRIPTION="Language independent library for Qt4 and KDE4 bindings."
60 # DEPEND="== kde-base/kdelibs4-${PVER}
61 # == kde-base/kdepimlibs4-${PVER}
62 # >= kde-base/qimageblitz-0.0.4
63 # >= dev-python/qscintilla-qt4-2.4
64 # >= app-office/akonadi-1.2.1
65 # >= virtual/phonon
66 # >= dev-libs/soprano-2.3.1
67 # >= virtual/java-jdk"
68 # }
69
70 src_prepare()
71 {
72 munpack ${SRCFILE} || die
73 cd ${SRCDIR}
74
75 local rubyver=$(ruby --version | cut -d' ' -f2 | sed 's:\(.*\)p.*:\1:')
76 local rubyarch=$(ruby --version | cut -d' ' -f6 | sed 's:\[::;s:\]::')
77 local rubypath="/usr/include/ruby-${rubyver}/${rubyarch}"
78
79 # fix ruby includes
80 find ${SRCDIR}/ruby -name CMakeLists.txt | xargs \
81 sed -i "s|\${RUBY_INCLUDE_PATH}|\${RUBY_INCLUDE_PATH} ${rubypath}|"\
82 || die
83 }
84
85 src_compile()
86 {
87 cd ${SRCDIR}
88
89 # sip/pyqt/pykde built separately, not here
90 kde4_configure \
91 $(cmake_with OpenGL) \
92 $(cmake_with KdepimLibs) \
93 $(cmake_with Nepomuk) \
94 $(cmake_with Phonon) \
95 $(cmake_with QScintilla) \
96 $(cmake_with Soprano) \
97 \
98 $(cmake_build_not csharp) \
99 $(cmake_build_not java) \
100 $(cmake_build_not php) \
101 $(cmake_build_not falcon) \
102 $(cmake_build_not smoke) \
103 $(cmake_build_not ruby) \
104 $(cmake_disable KROSSRUBY) \
105 || die
106
107 # not parallel make safe
108 make || die
109 }

Properties

Name Value
svn:keywords Id