Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12347 - (show annotations) (download)
Wed May 16 21:30:12 2012 UTC (12 years ago) by niro
File size: 1794 byte(s)
-fixed PNAME
1 # $Id$
2
3 PNAME="kdebase-runtime"
4 PVER="4.8.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/oxygen-icons-${PVER}
12 >= kde-base/qimageblitz-0.0.6
13 >= kde-base/polkit-kde-kcmodules-0.99
14 >= kde-base/polkit-kde-agent-0.99
15 >= virtual/phonon
16 >= app-arch/bzip2-1.0.6
17 >= app-arch/xz-utils-5
18 >= app-crypt/qca-2
19 >= app-misc/strigi-0.7.7
20 >= dev-libs/libattica-0.3
21 >= dev-libs/soprano-2.7
22 >= dev-libs/shared-desktop-ontologies-0.9
23 >= media-gfx/exiv2-0.23
24 >= media-libs/alsa-lib-1.0.25
25 >= media-libs/libcanberra-0.28
26 >= media-libs/openexr-1.7
27 >= media-sound/libpulse-1.1
28 >= net-fs/samba-3.5
29 >= net-libs/libssh-0.5
30 >= net-libs/ntrack-016
31 >= net-libs/openslp-1.2.1
32 >= net-misc/networkmanager-0.9.4
33 >= sys-apps/eject-2.1.5
34 >= x11-apps/xauth-1
35 >= x11-themes/hicolor-icon-theme-0.12"
36
37 SRCFILE="kde-runtime-${PVER}.tar.xz"
38 SRCDIR="${BUILDDIR}/kde-runtime-${PVER}"
39
40 sminclude kde4
41
42 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
43
44 src_prepare()
45 {
46 kde4_src_prepare || die
47 cd ${SRCDIR}
48
49 # kdesu should reside in bindir not libexec
50 sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
51 kdesu/kdesu/CMakeLists.txt || die
52 }
53
54 src_compile()
55 {
56 cd ${SRCDIR}
57
58 kde4_configure \
59 $(cmake_with ALSA) \
60 $(cmake_with BZip2) \
61 $(cmake_with Exiv2) \
62 $(cmake_with LibLZMA) \
63 $(cmake_with LibSSH) \
64 $(cmake_with Nepomuk) \
65 $(cmake_with NetworkManager) \
66 $(cmake_with OpenEXR) \
67 $(cmake_with PulseAudio) \
68 $(cmake_with QCA2) \
69 $(cmake_with QNtrack) \
70 $(cmake_with SLP) \
71 $(cmake_with Samba) \
72 $(cmake_with SharedDesktopOntologies) \
73 $(cmake_with Soprano) \
74 $(cmake_without Xine) \
75 || die
76
77 mmake || die
78 }