Magellan Linux

Contents of /branches/R11-stable/extras/kdebase-runtime/kdebase-runtime-4.10.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18820 - (show annotations) (download)
Wed Aug 14 13:01:49 2013 UTC (10 years, 9 months ago) by niro
File size: 2217 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="kdebase-runtime"
4 PVER="4.10.5"
5 PBUILD="r1"
6
7 DESCRIPTION="KDE4 runtime environment."
8
9 DEPEND="== kde-base/kdelibs-${PVER}
10 == kde-base/kdepimlibs-${PVER}
11 == kde-base/kactivities-${PVER}
12 == kde-base/nepomuk-core-${PVER}
13 == kde-base/oxygen-icons-${PVER}
14 >= kde-base/qimageblitz-0.0.6
15 >= kde-base/polkit-kde-kcmodules-0.99
16 >= kde-base/polkit-kde-agent-0.99
17 >= virtual/phonon
18 >= app-arch/bzip2-1.0.6
19 >= app-arch/xz-utils-5
20 >= app-crypt/qca-2
21 >= app-misc/strigi-0.7.8
22 >= dev-libs/libattica-0.4
23 >= dev-libs/soprano-2.9
24 >= dev-libs/shared-desktop-ontologies-0.11
25 >= media-gfx/exiv2-0.23
26 >= media-libs/alsa-lib-1.0.27
27 >= media-libs/libcanberra-0.30
28 >= media-libs/openexr-2.0
29 >= media-sound/libpulse-3.0
30 >= net-fs/samba-3.6
31 >= net-libs/libssh-0.5
32 >= net-libs/openslp-1.2.1
33 >= net-misc/networkmanager-0.9.8
34 >= virtual/eject
35 >= x11-apps/xauth-1
36 >= x11-themes/hicolor-icon-theme-0.12"
37
38 # knotify4 provides a notifcation daemon
39 PROVIDE="virtual/notification-daemon"
40
41 SRCFILE="kde-runtime-${PVER}.tar.xz"
42 SRCDIR="${BUILDDIR}/kde-runtime-${PVER}"
43
44 sminclude kde4
45
46 UP2DATE="updatecmd -listonly http://download.kde.org/stable/ | grep 'stable/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'"
47
48 src_prepare()
49 {
50 kde4_src_prepare || die
51 cd ${SRCDIR}
52
53 # kdesu should reside in bindir not libexec
54 sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
55 kdesu/kdesu/CMakeLists.txt || die
56 }
57
58 src_compile()
59 {
60 cd ${SRCDIR}
61
62 # ntrack causes high cpu usage -> disabled atm
63 kde4_configure \
64 $(cmake_with ALSA) \
65 $(cmake_with BZip2) \
66 $(cmake_with Exiv2) \
67 $(cmake_with LibLZMA) \
68 $(cmake_with LibSSH) \
69 $(cmake_with Nepomuk) \
70 $(cmake_with NetworkManager) \
71 $(cmake_with OpenEXR) \
72 $(cmake_with PulseAudio) \
73 $(cmake_with QCA2) \
74 $(cmake_with SLP) \
75 $(cmake_with Samba) \
76 $(cmake_with SharedDesktopOntologies) \
77 $(cmake_with Soprano) \
78 $(cmake_without QNtrack) \
79 $(cmake_without Xine) \
80 || die
81
82 mmake || die
83 }
84
85 src_install()
86 {
87 kde4_src_install || die
88
89 # remove the hicolor icon theme index.theme so it doesn't clobber the real one
90 if [ -f ${BINDIR}/usr/share/icons/hicolor/index.theme ]
91 then
92 mdelete /usr/share/icons/hicolor/index.theme || die
93 fi
94 }