Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21161 - (show annotations) (download)
Thu Mar 13 14:11:44 2014 UTC (10 years, 3 months ago) by niro
File size: 2095 byte(s)
auto added: ver bump to 4.12.3-r1
1 # $Id$
2
3 PNAME="kdebase-runtime"
4 PVER="4.12.3"
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.24
26 >= media-libs/alsa-lib-1.0.27
27 >= media-libs/libcanberra-0.30
28 >= media-libs/openexr-2.1
29 >= media-sound/libpulse-4.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 src_prepare()
47 {
48 kde4_src_prepare || die
49 cd ${SRCDIR}
50
51 # kdesu should reside in bindir not libexec
52 sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
53 kdesu/kdesu/CMakeLists.txt || die
54 }
55
56 src_compile()
57 {
58 cd ${SRCDIR}
59
60 # ntrack causes high cpu usage -> disabled atm
61 kde4_configure \
62 $(cmake_with ALSA) \
63 $(cmake_with BZip2) \
64 $(cmake_with Exiv2) \
65 $(cmake_with LibLZMA) \
66 $(cmake_with LibSSH) \
67 $(cmake_with Nepomuk) \
68 $(cmake_with NetworkManager) \
69 $(cmake_with OpenEXR) \
70 $(cmake_with PulseAudio) \
71 $(cmake_with QCA2) \
72 $(cmake_with SLP) \
73 $(cmake_with Samba) \
74 $(cmake_with SharedDesktopOntologies) \
75 $(cmake_with Soprano) \
76 $(cmake_without QNtrack) \
77 $(cmake_without Xine) \
78 || die
79
80 mmake || die
81 }
82
83 src_install()
84 {
85 kde4_src_install || die
86
87 # remove the hicolor icon theme index.theme so it doesn't clobber the real one
88 if [ -f ${BINDIR}/usr/share/icons/hicolor/index.theme ]
89 then
90 mdelete /usr/share/icons/hicolor/index.theme || die
91 fi
92 }