12 |
>= kde-base/kdepimlibs4-${PVER} |
>= kde-base/kdepimlibs4-${PVER} |
13 |
>= kde-base/phonon-4.3.1 |
>= kde-base/phonon-4.3.1 |
14 |
>= dev-lang/python-2.6 |
>= dev-lang/python-2.6 |
|
>= dev-lang/perl-5.10 |
|
|
>= virtual/java-jdk |
|
15 |
>= dev-python/pyqt4-4.5 |
>= dev-python/pyqt4-4.5 |
16 |
>= dev-python/qscintilla-qt4-2.4 |
>= dev-python/qscintilla-qt4-2.4 |
17 |
>= dev-libs/soprano-2.2.3 |
>= dev-libs/soprano-2.2.3 |
18 |
>= app-office/akonadi-1.1.2 |
>= app-office/akonadi-1.1.2" |
19 |
>= dev-lang/ruby-1.9" |
# >= dev-lang/perl-5.10 |
20 |
|
# >= virtual/java-jdk |
21 |
|
# >= dev-lang/ruby-1.9" |
22 |
|
|
23 |
|
SRC_URI=( mirror://${PNAME}/${PNAME/4/}-${PVER}-pykde4-sip-4.8.patch ) |
24 |
|
|
25 |
# pull in perl as last to get perl's {pre,post}install {pre,post}remove |
# pull in perl as last to get perl's {pre,post}install {pre,post}remove |
26 |
sminclude kde4 python perl |
sminclude kde4 python perl |
27 |
|
|
28 |
UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" |
UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" |
29 |
|
|
30 |
|
src_prepare() |
31 |
|
{ |
32 |
|
munpack ${SRCFILE} || die |
33 |
|
cd ${SRCDIR} |
34 |
|
|
35 |
|
# fixes build issues with sip-4.8 and pyqt-4.5 |
36 |
|
# see: http://websvn.kde.org/?view=rev&revision=976474 |
37 |
|
# && http://websvn.kde.org/?view=rev&revision=959021 |
38 |
|
mpatch ${PNAME/4/}-${PVER}-pykde4-sip-4.8.patch || die |
39 |
|
} |
40 |
|
|
41 |
src_compile() |
src_compile() |
42 |
{ |
{ |
43 |
cd ${SRCDIR} |
cd ${SRCDIR} |
44 |
|
|
45 |
# sip/pyqt/pykde built separately, not here |
# sip/pyqt/pykde built separately, not here |
46 |
kde4_configure \ |
kde4_configure \ |
47 |
$(cmake_with OpenGL) \ |
$(cmake_with OpenGL) \ |
|
$(cmake_with RUBY) \ |
|
|
$(cmake_with Akonadi) \ |
|
48 |
$(cmake_with KdepimLibs) \ |
$(cmake_with KdepimLibs) \ |
49 |
$(cmake_with Nepomuk) \ |
$(cmake_with Nepomuk) \ |
50 |
$(cmake_with Phonon) \ |
$(cmake_with Phonon) \ |
51 |
$(cmake_with QScintilla) \ |
$(cmake_with QScintilla) \ |
52 |
$(cmake_with Soprano) \ |
$(cmake_with Soprano) \ |
53 |
$(cmake_without Mono) \ |
\ |
54 |
|
$(cmake_build_not csharp) \ |
55 |
|
$(cmake_build_not java) \ |
56 |
|
$(cmake_build_not php) \ |
57 |
|
$(cmake_build_not ruby) \ |
58 |
|
$(cmake_build_not falcon) \ |
59 |
|
$(cmake_build_not smoke) \ |
60 |
|| die |
|| die |
61 |
|
|
62 |
mmake || die |
# not parallel make safe |
63 |
|
make || die |
64 |
} |
} |