Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnustep-base/gnustep-base: ChangeLog gnustep-base-1.22.1.ebuild
Date: Thu, 29 Sep 2011 22:05:43
Message-Id: 20110929220529.21C2A20036@flycatcher.gentoo.org
1 voyageur 11/09/29 22:05:29
2
3 Modified: ChangeLog
4 Added: gnustep-base-1.22.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.106 gnustep-base/gnustep-base/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/ChangeLog?rev=1.106&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/ChangeLog?rev=1.106&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/ChangeLog?r1=1.105&r2=1.106
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v
20 retrieving revision 1.105
21 retrieving revision 1.106
22 diff -u -r1.105 -r1.106
23 --- ChangeLog 28 Sep 2011 10:57:01 -0000 1.105
24 +++ ChangeLog 29 Sep 2011 22:05:28 -0000 1.106
25 @@ -1,6 +1,12 @@
26 # ChangeLog for gnustep-base/gnustep-base
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.105 2011/09/28 10:57:01 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.106 2011/09/29 22:05:28 voyageur Exp $
30 +
31 +*gnustep-base-1.22.1 (29 Sep 2011)
32 +
33 + 29 Sep 2011; Bernard Cafarelli <voyageur@g.o>
34 + +gnustep-base-1.22.1.ebuild:
35 + Version bump
36
37 28 Sep 2011; Samuli Suominen <ssuominen@g.o> metadata.xml:
38 USE="libffi" is now global USE flag.
39
40
41
42 1.1 gnustep-base/gnustep-base/gnustep-base-1.22.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.22.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.22.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnustep-base-1.22.1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.22.1.ebuild,v 1.1 2011/09/29 22:05:28 voyageur Exp $
52
53 EAPI="3"
54
55 inherit gnustep-base
56
57 DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."
58
59 HOMEPAGE="http://www.gnustep.org"
60 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
62 SLOT="0"
63 LICENSE="GPL-2 LGPL-2.1"
64
65 IUSE="gnutls +icu +libffi zeroconf"
66
67 RDEPEND="${GNUSTEP_CORE_DEPEND}
68 >=gnustep-base/gnustep-make-2.6.0
69 gnutls? ( net-libs/gnutls )
70 icu? ( >=dev-libs/icu-4.0 )
71 !libffi? ( dev-libs/ffcall
72 gnustep-base/gnustep-make[-native-exceptions] )
73 libffi? ( virtual/libffi )
74 >=dev-libs/libxml2-2.6
75 >=dev-libs/libxslt-1.1
76 >=dev-libs/gmp-4.1
77 >=dev-libs/openssl-0.9.7
78 >=sys-libs/zlib-1.2
79 zeroconf? ( || (
80 net-dns/avahi[mdnsresponder-compat]
81 net-misc/mDNSResponder ) )"
82 DEPEND="${RDEPEND}
83 dev-util/pkgconfig"
84
85 src_configure() {
86 egnustep_env
87
88 local myconf
89 if use libffi;
90 then
91 myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
92 else
93 myconf="--disable-libffi --enable-ffcall"
94 fi
95
96 myconf="$myconf $(use_enable icu)"
97 myconf="$myconf $(use_enable gnutls tls)"
98 myconf="$myconf $(use_enable zeroconf)"
99 myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
100 myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
101 myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
102
103 econf $myconf || die "configure failed"
104 }
105
106 src_install() {
107 # We need to set LD_LIBRARY_PATH because the doc generation program
108 # uses the gnustep-base libraries. Since egnustep_env "cleans the
109 # environment" including our LD_LIBRARY_PATH, we're left no choice
110 # but doing it like this.
111
112 egnustep_env
113 egnustep_install
114
115 if use doc ; then
116 export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
117 egnustep_doc
118 fi
119 egnustep_install_config
120 }
121
122 pkg_postinst() {
123 ewarn "The shared library version has changed in this release."
124 ewarn "You will need to recompile all Applications/Tools/etc in order"
125 ewarn "to use this library. Please run revdep-rebuild to do so"
126 }