Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23318 - (show annotations) (download)
Mon Nov 10 13:26:06 2014 UTC (9 years, 7 months ago) by niro
File size: 2460 byte(s)
-added qt4-designer sdep, which is required to build javascriptengine plasmoid
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 # QUiLoader include is required for javascriptengine plasmoid,
44 # which is provided by qt4-designer
45 SDEPEND=">= dev-libs/boost-1.56
46 >= app-text/docbook-xml-dtd42-4.2
47 >= app-text/docbook-xsl-stylesheets-1.76
48 >= x11-apps/qt4-designer-4.8"
49
50 # knotify4 provides a notifcation daemon
51 PROVIDE="virtual/notification-daemon"
52
53 SRCFILE="kde-runtime-${PVER}.tar.xz"
54 SRCDIR="${BUILDDIR}/kde-runtime-${PVER}"
55
56 sminclude kde4 fdo-mime xdg
57
58 src_prepare()
59 {
60 kde4_src_prepare || die
61 cd ${SRCDIR}
62
63 # kdesu should reside in bindir not libexec
64 sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
65 kdesu/kdesu/CMakeLists.txt || die
66 }
67
68 src_compile()
69 {
70 cd ${SRCDIR}
71
72 # ntrack causes high cpu usage -> disabled atm
73 kde4_configure \
74 $(cmake_with ALSA) \
75 $(cmake_with BZip2) \
76 $(cmake_with Exiv2) \
77 $(cmake_with LibLZMA) \
78 $(cmake_with LibSSH) \
79 $(cmake_with NetworkManager) \
80 $(cmake_with OpenEXR) \
81 $(cmake_with PulseAudio) \
82 $(cmake_with QCA2) \
83 $(cmake_with SLP) \
84 $(cmake_with Samba) \
85 $(cmake_without QNtrack) \
86 || die
87
88 mmake || die
89 }
90
91 src_install()
92 {
93 kde4_src_install || die
94
95 # remove the hicolor icon theme index.theme so it doesn't clobber the real one
96 if [ -f ${BINDIR}/usr/share/icons/hicolor/index.theme ]
97 then
98 mdelete /usr/share/icons/hicolor/index.theme || die
99 fi
100 }
101
102 postinstall()
103 {
104 xdg_update_icon_resource
105 fdo-mime_update_mime_db
106 fdo-mime_update_desktop_db
107 }
108
109 postremove()
110 {
111 xdg_update_icon_resource
112 fdo-mime_update_mime_db
113 fdo-mime_update_desktop_db
114 }