Contents of /trunk/extras/kde4plasma-addons/kde4plasma-addons-4.2.4-r1.smage2
Parent Directory | Revision Log
Revision 2025 -
(show annotations)
(download)
Fri Jun 12 08:50:43 2009 UTC (15 years, 3 months ago) by niro
File size: 1513 byte(s)
Fri Jun 12 08:50:43 2009 UTC (15 years, 3 months ago) by niro
File size: 1513 byte(s)
-fixed dbus installation -only a hack, check me on the next release
1 | # $Id$ |
2 | |
3 | PNAME="kde4plasma-addons" |
4 | PVER="4.2.4" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="kde-base" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Some toy tools for KDE4." |
11 | |
12 | DEPEND=">= kde-base/kdelibs4-${PVER} |
13 | >= kde-base/kdepimlibs4-${PVER} |
14 | >= kde-base/kdebase4-workspace-${PVER} |
15 | >= kde-base/kdegraphics4-${PVER} |
16 | >= x11-misc/shared-mime-info-0.60" |
17 | |
18 | SRC_URI=( mirror://${PNAME}/${PNAME}-${PVER}-lancelot-qt45.patch ) |
19 | |
20 | sminclude kde4 |
21 | |
22 | UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" |
23 | |
24 | src_prepare() |
25 | { |
26 | munpack ${SRCFILE} || die |
27 | cd ${SRCDIR} |
28 | |
29 | # fix issues with lancelot and qt-4.5 |
30 | # see: https://bugs.kde.org/show_bug.cgi?id=182818 |
31 | mpatch ${PNAME}-${PVER}-lancelot-qt45.patch || die |
32 | } |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | # install dbus interfaces to /usr prefix not to /opt/kde4 |
39 | # |
40 | # !!check me on the next release!! |
41 | # mhm build seems to fail, if we change the prefix for dbus - no make target found |
42 | # so, we install it to ${KDEDIR} and move it later on to the right location |
43 | kde4_configure \ |
44 | -DDBUS_INTERFACES_INSTALL_DIR=${KDEDIR}/share/dbus-1/interfaces/ \ |
45 | $(cmake_with Kexiv2) \ |
46 | $(cmake_with OpenGL) \ |
47 | || die |
48 | |
49 | mmake || die |
50 | } |
51 | |
52 | src_install() |
53 | { |
54 | kde4_src_install || die |
55 | |
56 | # !!check me on the next release!! |
57 | # mhm build seems to fail, if we change the prefix for dbus - no make target found |
58 | # so, we install it to ${KDEDIR} and move it later on to the right location |
59 | minstalldir /usr/share || die |
60 | mv ${BINDIR}/${KDEDIR}/share/dbus-1 ${BINDIR}/usr/share || die |
61 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |