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