Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/libnih: libnih-1.0.3-r2.ebuild ChangeLog
Date: Thu, 05 Mar 2015 21:18:38
Message-Id: 20150305211832.961F9131E5@oystercatcher.gentoo.org
1 vapier 15/03/05 21:18:32
2
3 Modified: ChangeLog
4 Added: libnih-1.0.3-r2.ebuild
5 Log:
6 Build with LFS for 32bit systems.
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.6 sys-libs/libnih/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 30 Oct 2014 18:45:56 -0000 1.5
24 +++ ChangeLog 5 Mar 2015 21:18:32 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-libs/libnih
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v 1.5 2014/10/30 18:45:56 vapier Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v 1.6 2015/03/05 21:18:32 vapier Exp $
31 +
32 +*libnih-1.0.3-r2 (05 Mar 2015)
33 +
34 + 05 Mar 2015; Mike Frysinger <vapier@g.o> +libnih-1.0.3-r2.ebuild:
35 + Build with LFS for 32bit systems.
36
37 *libnih-1.0.3-r1 (30 Oct 2014)
38
39
40
41
42 1.1 sys-libs/libnih/libnih-1.0.3-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libnih-1.0.3-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r2.ebuild,v 1.1 2015/03/05 21:18:32 vapier Exp $
52
53 EAPI="4"
54
55 inherit versionator eutils autotools toolchain-funcs multilib flag-o-matic
56
57 DESCRIPTION="Light-weight 'standard library' of C functions"
58 HOMEPAGE="https://launchpad.net/libnih"
59 SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~x86"
64 IUSE="+dbus nls static-libs test +threads"
65
66 RDEPEND="dbus? ( dev-libs/expat >=sys-apps/dbus-1.2.16 )"
67 DEPEND="${RDEPEND}
68 sys-devel/gettext
69 virtual/pkgconfig
70 test? ( dev-util/valgrind )"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${PN}-1.0.3-optional-dbus.patch
74 epatch "${FILESDIR}"/${PN}-1.0.3-pkg-config.patch
75 eautoreconf
76 }
77
78 src_configure() {
79 append-lfs-flags
80 econf \
81 $(use_with dbus) \
82 $(use_enable nls) \
83 $(use_enable static-libs static) \
84 $(use_enable threads) \
85 $(use_enable threads threading)
86 }
87
88 src_install() {
89 default
90
91 # we need to be in / because upstart needs libnih
92 gen_usr_ldscript -a nih $(use dbus && echo nih-dbus)
93 use static-libs || rm "${ED}"/usr/$(get_libdir)/*.la
94 }