/[gentoo-alt]/trunk/kde-base/kdelibs/kdelibs-3.4.0-r2.ebuild
Gentoo

Contents of /trunk/kde-base/kdelibs/kdelibs-3.4.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 381 - (show annotations) (download)
Sun May 22 15:43:41 2005 UTC (9 years, 6 months ago) by flameeyes
File size: 3171 byte(s)
Added kde-base ebuild needed to satisfy dependency for kde. Still trouble with qt for now.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit kde eutils flag-o-matic
6 set-qtdir 3
7 set-kdedir 3.4
8
9 DESCRIPTION="KDE libraries needed by all kde programs"
10 HOMEPAGE="http://www.kde.org/"
11 SRC_URI="mirror://kde/stable/3.4/src/${P}.tar.bz2"
12
13 LICENSE="GPL-2 LGPL-2"
14 SLOT="3.4"
15 KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~ppc64"
16 IUSE="alsa arts cups doc jpeg2k kerberos openexr spell ssl tiff zeroconf fam"
17
18 # kde.eclass has kdelibs in DEPEND, and we can't have that in here.
19 # so we recreate the entire DEPEND from scratch.
20 RDEPEND="arts? ( ~kde-base/arts-${PV} )
21 >=x11-libs/qt-3.3.3
22 app-arch/bzip2
23 >=dev-libs/libxslt-1.1.4
24 >=dev-libs/libxml2-2.6.6
25 >=dev-libs/libpcre-4.2
26 media-libs/libart_lgpl
27 net-dns/libidn
28 ssl? ( >=dev-libs/openssl-0.9.7d )
29 alsa? ( media-libs/alsa-lib )
30 cups? ( >=net-print/cups-1.1.19 )
31 tiff? ( media-libs/tiff )
32 kerberos? ( virtual/krb5 )
33 jpeg2k? ( media-libs/jasper )
34 openexr? ( >=media-libs/openexr-1.2 )
35 spell? ( || ( app-text/aspell
36 app-text/ispell ) )
37 zeroconf? ( net-misc/mDNSResponder )
38 fam? ( virtual/fam )
39 virtual/ghostscript"
40
41 DEPEND="${RDEPEND}
42 >=sys-devel/autoconf-2.58
43 >=sys-devel/automake-1.8
44 doc? ( app-doc/doxygen )
45 sys-devel/gettext"
46
47 # No longer needed; the bindings that required this (kdejava?) may need a patch
48 # from branch to work without this patch
49 #PATCHES="${FILESDIR}/${PN}-3.4.0_beta2-export-kio-symbols.diff"
50
51 src_unpack() {
52 kde_src_unpack
53
54 # Fix freezing in web forms (kde bug 100963). Applied for 3.4.1.
55 epatch "${FILESDIR}/${P}-form-freeze.patch"
56
57 # Fix forms with images (kde bug 59701). Applied for 3.4.1.
58 epatch "${FILESDIR}/${P}-imagemap.patch"
59
60 # see bug #63529.
61 epatch ${FILESDIR}/${PN}-3.3.2-ppc64.patch
62
63 # kimgio input validation errors, bug 88862
64 cd ${S}/kimgio && patch -p0 < "${FILESDIR}/post-3.4.0-kdelibs-kimgio-2.diff"
65 }
66
67 src_compile() {
68 myconf="--with-distribution=Gentoo $(use_enable fam libfam) $(use_enable kernel_linux dnotify)"
69 myconf="${myconf} $(use_with alsa) $(use_with arts)"
70 myconf="${myconf} $(use_with tiff) $(use_with jpeg2k jasper) $(use_with openexr)"
71 myconf="${myconf} $(use_enable cups) $(use_enable zeroconf dnssd)"
72
73 use ssl && myconf="${myconf} --with-ssl-dir=/usr" || myconf="${myconf} --without-ssl"
74
75 use kerberos || myconf="${myconf} --with-gssapi=no"
76
77 use x86 && myconf="${myconf} --enable-fast-malloc=full"
78
79 # fix bug 58179, 85593
80 use ppc64 && append-flags "-fno-gcse"
81
82 kde_src_compile
83
84 use doc && make apidox
85 }
86
87 src_install() {
88 kde_src_install
89
90 use doc && make DESTDIR=${D} install-apidox
91
92 # needed to fix lib64 issues on amd64, see bug #45669
93 use amd64 && ln -s ${KDEDIR}/lib ${D}/${KDEDIR}/lib64
94
95 # Needed to create lib -> lib64 symlink for amd64 2005.0 profile
96 if [ "${SYMLINK_LIB}" = "yes" ]; then
97 dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) ${KDEDIR}/lib
98 fi
99
100 if ! use arts ; then
101 dodir /etc/env.d
102
103 cat <<EOF > ${D}/etc/env.d/46kdepaths-${SLOT} # number goes down with version upgrade
104 PATH=${PREFIX}/bin
105 ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
106 LDPATH=${PREFIX}/lib
107 CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown"
108 EOF
109 fi
110
111 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20