Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23317 - (show annotations) (download)
Mon Nov 10 11:39:25 2014 UTC (9 years, 7 months ago) by niro
File size: 2331 byte(s)
-boost is required to build gpgme-addons
1 # $Id$
2
3 PNAME="kdebase-runtime"
4 PVER="4.14.2"
5 PBUILD="r1"
6
7 DESCRIPTION="KDE4 runtime environment."
8
9 DEPEND="
10 == kde-base/kdelibs-${PVER}
11 == kde-base/kdepimlibs-${PVER}
12 == kde-base/kactivities-${PVER}
13 == kde-base/nepomuk-core-${PVER}
14 == kde-base/oxygen-icons-${PVER}
15 >= kde-base/qimageblitz-0.0.6
16 >= kde-base/polkit-kde-kcmodules-0.99
17 >= kde-base/polkit-kde-agent-0.99
18 >= virtual/phonon
19 >= app-arch/bzip2-1.0.6
20 >= app-arch/xz-utils-5
21 >= app-crypt/qca-2
22 >= app-misc/strigi-0.7.8
23 >= dev-libs/libattica-0.4
24 >= dev-libs/soprano-2.9
25 >= dev-libs/shared-desktop-ontologies-0.11
26 >= media-gfx/exiv2-0.24
27 >= media-libs/alsa-lib-1.0.28
28 >= media-libs/libcanberra-0.30
29 >= media-libs/openexr-2.2
30 >= media-sound/libpulse-5.0
31 >= net-fs/samba-3.6
32 >= net-libs/libssh-0.6
33 >= net-libs/openslp-2.0
34 >= net-misc/networkmanager-0.9.10
35 >= virtual/eject
36 >= x11-apps/xauth-1
37 >= x11-themes/hicolor-icon-theme-0.12"
38
39 # todo
40 #libwebp
41 #libstreamanalyzer
42
43 SDEPEND=">= dev-libs/boost-1.56
44 >= app-text/docbook-xml-dtd42-4.2
45 >= app-text/docbook-xsl-stylesheets-1.76"
46
47 # knotify4 provides a notifcation daemon
48 PROVIDE="virtual/notification-daemon"
49
50 SRCFILE="kde-runtime-${PVER}.tar.xz"
51 SRCDIR="${BUILDDIR}/kde-runtime-${PVER}"
52
53 sminclude kde4 fdo-mime xdg
54
55 src_prepare()
56 {
57 kde4_src_prepare || die
58 cd ${SRCDIR}
59
60 # kdesu should reside in bindir not libexec
61 sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
62 kdesu/kdesu/CMakeLists.txt || die
63 }
64
65 src_compile()
66 {
67 cd ${SRCDIR}
68
69 # ntrack causes high cpu usage -> disabled atm
70 kde4_configure \
71 $(cmake_with ALSA) \
72 $(cmake_with BZip2) \
73 $(cmake_with Exiv2) \
74 $(cmake_with LibLZMA) \
75 $(cmake_with LibSSH) \
76 $(cmake_with NetworkManager) \
77 $(cmake_with OpenEXR) \
78 $(cmake_with PulseAudio) \
79 $(cmake_with QCA2) \
80 $(cmake_with SLP) \
81 $(cmake_with Samba) \
82 $(cmake_without QNtrack) \
83 || die
84
85 mmake || die
86 }
87
88 src_install()
89 {
90 kde4_src_install || die
91
92 # remove the hicolor icon theme index.theme so it doesn't clobber the real one
93 if [ -f ${BINDIR}/usr/share/icons/hicolor/index.theme ]
94 then
95 mdelete /usr/share/icons/hicolor/index.theme || die
96 fi
97 }
98
99 postinstall()
100 {
101 xdg_update_icon_resource
102 fdo-mime_update_mime_db
103 fdo-mime_update_desktop_db
104 }
105
106 postremove()
107 {
108 xdg_update_icon_resource
109 fdo-mime_update_mime_db
110 fdo-mime_update_desktop_db
111 }