Magellan Linux

Contents of /trunk/extras/kdebase-runtime/kdebase-runtime-4.9.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14310 - (show annotations) (download)
Wed Dec 12 10:40:07 2012 UTC (11 years, 6 months ago) by niro
File size: 1929 byte(s)
-added missing nepomuk-core dep
1 # $Id$
2
3 PNAME="kdebase-runtime"
4 PVER="4.9.4"
5 PBUILD="r1"
6
7 DESCRIPTION="KDE4 runtime environment."
8
9 DEPEND="== kde-base/kdelibs-${PVER}
10 == kde-base/kdepimlibs-${PVER}
11 == kde-base/nepomuk-core-${PVER}
12 == kde-base/oxygen-icons-${PVER}
13 >= kde-base/qimageblitz-0.0.6
14 >= kde-base/polkit-kde-kcmodules-0.99
15 >= kde-base/polkit-kde-agent-0.99
16 >= virtual/phonon
17 >= app-arch/bzip2-1.0.6
18 >= app-arch/xz-utils-5
19 >= app-crypt/qca-2
20 >= app-misc/strigi-0.7.7
21 >= dev-libs/libattica-0.4
22 >= dev-libs/soprano-2.8
23 >= dev-libs/shared-desktop-ontologies-0.10
24 >= media-gfx/exiv2-0.23
25 >= media-libs/alsa-lib-1.0.26
26 >= media-libs/libcanberra-0.30
27 >= media-libs/openexr-1.7
28 >= media-sound/libpulse-2.1
29 >= net-fs/samba-3.6
30 >= net-libs/libssh-0.5
31 >= net-libs/openslp-1.2.1
32 >= net-misc/networkmanager-0.9.6
33 >= virtual/eject
34 >= x11-apps/xauth-1
35 >= x11-themes/hicolor-icon-theme-0.12"
36
37 # knotify4 provides a notifcation daemon
38 PROVIDE="virtual/notification-daemon"
39
40 SRCFILE="kde-runtime-${PVER}.tar.xz"
41 SRCDIR="${BUILDDIR}/kde-runtime-${PVER}"
42
43 sminclude kde4
44
45 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
46
47 src_prepare()
48 {
49 kde4_src_prepare || die
50 cd ${SRCDIR}
51
52 # kdesu should reside in bindir not libexec
53 sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
54 kdesu/kdesu/CMakeLists.txt || die
55 }
56
57 src_compile()
58 {
59 cd ${SRCDIR}
60
61 # ntrack causes high cpu usage -> disabled atm
62 kde4_configure \
63 $(cmake_with ALSA) \
64 $(cmake_with BZip2) \
65 $(cmake_with Exiv2) \
66 $(cmake_with LibLZMA) \
67 $(cmake_with LibSSH) \
68 $(cmake_with Nepomuk) \
69 $(cmake_with NetworkManager) \
70 $(cmake_with OpenEXR) \
71 $(cmake_with PulseAudio) \
72 $(cmake_with QCA2) \
73 $(cmake_with SLP) \
74 $(cmake_with Samba) \
75 $(cmake_with SharedDesktopOntologies) \
76 $(cmake_with Soprano) \
77 $(cmake_without QNtrack) \
78 $(cmake_without Xine) \
79 || die
80
81 mmake || die
82 }