Contents of /trunk/extras/kdelibs/kdelibs-3.5.10-r5.smage2
Parent Directory | Revision Log
Revision 5341 -
(show annotations)
(download)
Sun May 2 18:49:48 2010 UTC (14 years ago) by niro
File size: 2517 byte(s)
Sun May 2 18:49:48 2010 UTC (14 years ago) by niro
File size: 2517 byte(s)
-fixed dependencies
1 | # $Id$ |
2 | |
3 | PNAME="kdelibs" |
4 | PVER="3.5.10" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="kde-base" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="KDE core libraries." |
11 | HOMEPAGE="http://www.kde.org/" |
12 | |
13 | DEPEND=">= app-arch/bzip2-1.0.5 |
14 | >= dev-libs/libxslt-1.1.26 |
15 | >= dev-libs/libxml2-2.7 |
16 | >= dev-libs/libpcre-8.0 |
17 | >= dev-libs/openssl-0.9.8 |
18 | >= media-libs/alsa-lib-1.0.21 |
19 | >= net-print/cups-1.4 |
20 | >= media-libs/libtiff-3.9 |
21 | >= app-admin/fam-2.7.0 |
22 | >= app-text/ghostscript-gpl-8 |
23 | >= media-libs/libart_lgpl-2.3.20 |
24 | >= kde-base/arts-${PVER/3/1} |
25 | >= x11-libs/qt-3.3.8 |
26 | >= net-dns/libidn-1.15 |
27 | >= app-text/aspell-0.60 |
28 | >= net-dns/avahi-qt3-0.6.25 |
29 | >= net-libs/openslp-1.2 |
30 | >= kde-base/kde-env-${PVER}" |
31 | |
32 | SDEPEND=">= sys-dev/automake-4 |
33 | >= sys-dev/autoconf-5 |
34 | >= sys-dev/gettext-0.17" |
35 | |
36 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
37 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
38 | |
39 | sminclude kde3 |
40 | |
41 | SRC_URI=( |
42 | kde://${PVER}/src/${SRCFILE} |
43 | mirror://${PNAME}/${SRCFILE} |
44 | mirror://${PNAME}/${PNAME}-3.5.8-xinerama-improvements.patch |
45 | mirror://${PNAME}/${PNAME}-${PVER}-fix-flock-redefinition.patch |
46 | ) |
47 | |
48 | src_prepare() |
49 | { |
50 | munpack ${SRCFILE} || die |
51 | cd ${SRCDIR} |
52 | |
53 | # improved xinerama support (see http://ktown.kde.org/~seli/xinerama/) |
54 | mpatch ${PNAME}-3.5.8-xinerama-improvements.patch || die |
55 | |
56 | # fix compilation with gcc-4.3 and newer linux-headers |
57 | mpatch ${PNAME}-${PVER}-fix-flock-redefinition.patch || die |
58 | } |
59 | |
60 | src_compile() |
61 | { |
62 | cd ${SRCDIR} |
63 | |
64 | # enable fast-malloc only on i*86 |
65 | local my_opts="--disable-fast-malloc" |
66 | |
67 | # now always disabled; doesn't work with >=glib2-2.9.1 correctly |
68 | # http://linuxfromscratch.org/pipermail/blfs-support/2006-May/059637.html |
69 | # |
70 | #[[ ${ARCH} = i*86 ]] && my_opts=--enable-fast-malloc=full |
71 | |
72 | # --disable-dnssd to enable avahi |
73 | kde3_configure \ |
74 | --with-distribution=Magellan \ |
75 | --with-ssl-dir=/usr \ |
76 | --with-alsa \ |
77 | --with-arts \ |
78 | --enable-libfam \ |
79 | --enable-dnotify \ |
80 | --enable-cups \ |
81 | --enable-aspell \ |
82 | --enable-dnssd \ |
83 | ${my_opts} \ |
84 | || die |
85 | |
86 | mmake || die |
87 | } |
88 | |
89 | src_install() |
90 | { |
91 | cd ${SRCDIR} |
92 | |
93 | # needed directories |
94 | install -d ${BINDIR}/etc/xdg/kde || die |
95 | |
96 | mmake DESTDIR=${BINDIR} install || die |
97 | |
98 | # fix freedesktop menu structure |
99 | # move them to /etc/xdg/kde to prevent broken gnome-menus |
100 | mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die |
101 | } |
102 | |
103 | postinstall() |
104 | { |
105 | echo |
106 | echo "To have full zeroconf support with kde," |
107 | echo "make sure the avahi daemons are running." |
108 | echo "Also multicast dns host lookups should be" |
109 | echo "enabled in '/etc/nsswitch.conf'." |
110 | echo "e.g: ipv6 'hosts: files mdns dns'" |
111 | echo "or for ipv4 'hosts: files mdns4 dns'" |
112 | echo |
113 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |