Contents of /trunk/todo/kdebase-runtime/kdebase-runtime-4.14.3-r2.smage2
Parent Directory | Revision Log
Revision 27770 -
(show annotations)
(download)
Wed Apr 6 10:39:57 2016 UTC (8 years, 5 months ago) by niro
File size: 2558 byte(s)
Wed Apr 6 10:39:57 2016 UTC (8 years, 5 months ago) by niro
File size: 2558 byte(s)
-moved to 'todo'
1 | # $Id$ |
2 | |
3 | PNAME="kdebase-runtime" |
4 | PVER="4.14.3" |
5 | PBUILD="r2" |
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/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.8 |
21 | >= dev-libs/libattica-0.4 |
22 | >= media-gfx/exiv2-0.24 |
23 | >= media-libs/alsa-lib-1.0.28 |
24 | >= media-libs/libcanberra-0.30 |
25 | >= media-libs/openexr-2.2 |
26 | >= media-sound/libpulse-6.0 |
27 | >= net-fs/samba-4.1 |
28 | >= net-libs/libssh-0.6 |
29 | >= net-libs/openslp-2.0 |
30 | >= net-misc/networkmanager-1.0 |
31 | >= virtual/eject |
32 | >= x11-apps/xauth-1 |
33 | >= x11-themes/hicolor-icon-theme-0.12" |
34 | |
35 | # todo |
36 | #libwebp |
37 | #libstreamanalyzer |
38 | |
39 | # QUiLoader include is required for javascriptengine plasmoid, |
40 | # which is provided by qt4-designer |
41 | SDEPEND=">= dev-libs/boost-1.57 |
42 | >= app-text/docbook-xml-dtd42-4.2 |
43 | >= app-text/docbook-xsl-stylesheets-1.76 |
44 | >= x11-apps/qt4-designer-4.8" |
45 | |
46 | # knotify4 provides a notifcation daemon |
47 | PROVIDE="virtual/notification-daemon" |
48 | |
49 | SRCFILE="kde-runtime-${PVER}.tar.xz" |
50 | SRCDIR="${BUILDDIR}/kde-runtime-${PVER}" |
51 | |
52 | sminclude kde4 fdo-mime xdg |
53 | |
54 | kde4_add_nepomuk_depend "DEPEND" "== kde-base/nepomuk-core-${PVER}" |
55 | kde4_add_nepomuk_depend "DEPEND" ">= dev-libs/soprano-2.9" |
56 | kde4_add_nepomuk_depend "DEPEND" ">= dev-libs/shared-desktop-ontologies-0.11" |
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 | } |