Contents of /trunk/extras/kdelibs/kdelibs-3.5.9-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 2321 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 2321 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/kdelibs/kdelibs-3.5.9-r1.smage2,v 1.2 2008/03/27 20:51:48 niro Exp $ |
2 | |
3 | PNAME="kdelibs" |
4 | PVER="3.5.9" |
5 | PBUILD="r1" |
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.4 |
14 | >= dev-libs/libxslt-1.1.22 |
15 | >= dev-libs/libxml2-2.6.31 |
16 | >= dev-libs/libpcre-7.6 |
17 | >= dev-libs/openssl-0.9.8 |
18 | >= media-libs/alsa-lib-1.0.16 |
19 | >= net-print/cups-1.3 |
20 | >= media-libs/libtiff-3.8 |
21 | >= app-admin/fam-2.7.0 |
22 | >= app-text/ghostscript-esp-8.15 |
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.4 |
27 | >= app-text/aspell-0.60 |
28 | >= net-misc/mdnsresponder-108 |
29 | >= kde-base/kde-env-${PVER}" |
30 | |
31 | SDEPEND=">= sys-dev/automake-3 |
32 | >= sys-dev/autoconf-4 |
33 | >= sys-dev/gettext-0.17" |
34 | |
35 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
36 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
37 | |
38 | sminclude kde3 |
39 | |
40 | SRC_URI=( |
41 | kde://${PVER}/src/${SRCFILE} |
42 | mirror://${PNAME}/${SRCFILE} |
43 | mirror://${PNAME}/${PNAME}-3.5.8-xinerama-improvements.patch |
44 | ) |
45 | |
46 | src_prepare() |
47 | { |
48 | munpack ${SRCFILE} || die |
49 | cd ${SRCDIR} |
50 | |
51 | # improved xinerama support (see http://ktown.kde.org/~seli/xinerama/) |
52 | mpatch ${PNAME}-3.5.8-xinerama-improvements.patch || die |
53 | } |
54 | |
55 | src_compile() |
56 | { |
57 | cd ${SRCDIR} |
58 | |
59 | # enable fast-malloc only on i*86 |
60 | local my_opts="--disable-fast-malloc" |
61 | |
62 | # now always disabled; doesn't work with >=glib2-2.9.1 correctly |
63 | # http://linuxfromscratch.org/pipermail/blfs-support/2006-May/059637.html |
64 | # |
65 | #[[ ${ARCH} = i*86 ]] && my_opts=--enable-fast-malloc=full |
66 | |
67 | kde3_configure \ |
68 | --with-distribution=Magellan \ |
69 | --with-ssl-dir=/usr \ |
70 | --with-alsa \ |
71 | --with-arts \ |
72 | --enable-libfam \ |
73 | --enable-dnotify \ |
74 | --enable-cups \ |
75 | --enable-aspell \ |
76 | --enable-dnssd \ |
77 | ${my_opts} \ |
78 | || die |
79 | |
80 | mmake || die |
81 | } |
82 | |
83 | src_install() |
84 | { |
85 | cd ${SRCDIR} |
86 | |
87 | # needed directories |
88 | install -d ${BINDIR}/etc/xdg/kde || die |
89 | |
90 | mmake DESTDIR=${BINDIR} install || die |
91 | |
92 | # fix freedesktop menu structure |
93 | # move them to /etc/xdg/kde to prevent broken gnome-menus |
94 | mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die |
95 | } |
96 | |
97 | postinstall() |
98 | { |
99 | echo |
100 | echo "To have full zeroconf support with kde," |
101 | echo "make sure the mdnsd daemon is running." |
102 | echo "Also multicast dns host lookups should be" |
103 | echo "enabled in '/etc/nsswitch.conf'." |
104 | echo "e.g: 'hosts: files mdns dns'" |
105 | echo |
106 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |