Annotation of /trunk/todo/kdeedu4/kdeedu4-4.3.3-r1.smage2
Parent Directory | Revision Log
Revision 4464 -
(hide annotations)
(download)
Wed Dec 23 16:40:28 2009 UTC (14 years, 9 months ago) by niro
File size: 1656 byte(s)
Wed Dec 23 16:40:28 2009 UTC (14 years, 9 months ago) by niro
File size: 1656 byte(s)
-moved to 'todo'
1 | niro | 4461 | # $Id$ |
2 | |||
3 | PNAME="kdeedu4" | ||
4 | PVER="4.3.3" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | STATE="unstable" | ||
8 | DESCRIPTION="Some educational KDE4 tools for kids." | ||
9 | |||
10 | DEPEND="== kde-base/kdebase4-runtime-${PVER} | ||
11 | >= virtual/opengl | ||
12 | >= sys-libs/readline-6 | ||
13 | >= sci-chemistry/openbabel-2.2 | ||
14 | >= dev-cpp/eigen-1.0.5 | ||
15 | >= dev-ml/facile | ||
16 | >= dev-libs/boost-1.37 | ||
17 | >= sci-libs/cfitsio-0.390 | ||
18 | >= sci-libs/indilib-0.6 | ||
19 | >= sci-geosciences/gpsd | ||
20 | python? ( | ||
21 | >=dev-python/PyQt4-4.4.4-r1[X,svg] | ||
22 | >=kde-base/pykde4-${PV}:${SLOT}[kdeprefix=] | ||
23 | ) | ||
24 | >= sci-libs/cln | ||
25 | >= sci-mathematics/gmm-3.0 | ||
26 | >= sci-libs/gsl-1.12 | ||
27 | >= sci-libs/libqalculate-0.9.1" | ||
28 | |||
29 | |||
30 | |||
31 | ----------------------------------------------- | ||
32 | |||
33 | SRC_URI=( mirror://${PNAME}/${PNAME}-${PVER}-include-order.patch ) | ||
34 | |||
35 | sminclude kde4 | ||
36 | |||
37 | UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" | ||
38 | |||
39 | src_prepare() | ||
40 | { | ||
41 | munpack ${SRCFILE} || die | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | mpatch ${PNAME}-${PVER}-include-order.patch || die | ||
45 | } | ||
46 | |||
47 | src_compile() | ||
48 | { | ||
49 | cd ${SRCDIR} | ||
50 | |||
51 | kde4_configure \ | ||
52 | $(cmake_with Readline) \ | ||
53 | $(cmake_with Plasma) \ | ||
54 | $(cmake_with OpenGL) \ | ||
55 | $(cmake_with Eigen) \ | ||
56 | $(cmake_with OpenBabel2) \ | ||
57 | $(cmake_with OCaml) \ | ||
58 | $(cmake_with Libfacile) \ | ||
59 | $(cmake_with BoostPython) \ | ||
60 | $(cmake_with CFitsio) \ | ||
61 | $(cmake_with INDI) \ | ||
62 | $(cmake_with DESIGNER_PLUGIN) \ | ||
63 | $(cmake_with PyKDE4) \ | ||
64 | $(cmake_with PyQt4) \ | ||
65 | $(cmake_with PythonLibrary) \ | ||
66 | $(cmake_with SIP) \ | ||
67 | $(cmake_with GSL) \ | ||
68 | $(cmake_with Qalculate) \ | ||
69 | if use gps; then | ||
70 | $(cmake_have LIBGPS) | ||
71 | else | ||
72 | sed -i -e 's:FIND_LIBRARY(libgps_LIBRARIES gps):# LIBGPS DISABLED &:' \ | ||
73 | marble/Findlibgps.cmake || die "sed to disable gpsd failed." | ||
74 | fi | ||
75 | || die | ||
76 | |||
77 | mmake || die | ||
78 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |