Magellan Linux

Annotation of /trunk/extras/kdelibs/kdelibs-3.5.10-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2810 - (hide annotations) (download)
Fri Jul 10 21:16:33 2009 UTC (14 years, 10 months ago) by niro
File size: 2495 byte(s)
-rebuild, fixed avahi - some small zapmost() issues
1 niro 2810 # $Id$
2    
3     PNAME="kdelibs"
4     PVER="3.5.10"
5     PBUILD="r3"
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.24
15     >= dev-libs/libxml2-2.7
16     >= dev-libs/libpcre-7.9
17     >= dev-libs/openssl-0.9.8
18     >= media-libs/alsa-lib-1.0.19
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.14
27     >= app-text/aspell-0.60
28     >= net-dns/avahi-qt3-0.6.25
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     mirror://${PNAME}/${PNAME}-${PVER}-fix-flock-redefinition.patch
45     )
46    
47     src_prepare()
48     {
49     munpack ${SRCFILE} || die
50     cd ${SRCDIR}
51    
52     # improved xinerama support (see http://ktown.kde.org/~seli/xinerama/)
53     mpatch ${PNAME}-3.5.8-xinerama-improvements.patch || die
54    
55     # fix compilation with gcc-4.3 and newer linux-headers
56     mpatch ${PNAME}-${PVER}-fix-flock-redefinition.patch || die
57     }
58    
59     src_compile()
60     {
61     cd ${SRCDIR}
62    
63     # enable fast-malloc only on i*86
64     local my_opts="--disable-fast-malloc"
65    
66     # now always disabled; doesn't work with >=glib2-2.9.1 correctly
67     # http://linuxfromscratch.org/pipermail/blfs-support/2006-May/059637.html
68     #
69     #[[ ${ARCH} = i*86 ]] && my_opts=--enable-fast-malloc=full
70    
71     # --disable-dnssd to enable avahi
72     kde3_configure \
73     --with-distribution=Magellan \
74     --with-ssl-dir=/usr \
75     --with-alsa \
76     --with-arts \
77     --enable-libfam \
78     --enable-dnotify \
79     --enable-cups \
80     --enable-aspell \
81     --enable-dnssd \
82     ${my_opts} \
83     || die
84    
85     mmake || die
86     }
87    
88     src_install()
89     {
90     cd ${SRCDIR}
91    
92     # needed directories
93     install -d ${BINDIR}/etc/xdg/kde || die
94    
95     mmake DESTDIR=${BINDIR} install || die
96    
97     # fix freedesktop menu structure
98     # move them to /etc/xdg/kde to prevent broken gnome-menus
99     mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die
100     }
101    
102     postinstall()
103     {
104     echo
105     echo "To have full zeroconf support with kde,"
106     echo "make sure the avahi daemons are running."
107     echo "Also multicast dns host lookups should be"
108     echo "enabled in '/etc/nsswitch.conf'."
109     echo "e.g: ipv6 'hosts: files mdns dns'"
110     echo "or for ipv4 'hosts: files mdns4 dns'"
111     echo
112     }

Properties

Name Value
svn:keywords Id