Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/obby/
Date: Wed, 23 Dec 2015 10:59:45
Message-Id: 1450868315.79c65eedbb50312ae5e6bea68e455a10560b342e.pacho@gentoo
1 commit: 79c65eedbb50312ae5e6bea68e455a10560b342e
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 10:21:58 2015 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 10:58:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c65eed
7
8 net-libs/obby: Fix building with latest glibmm/libsigc++, use USE zeroconf instead of avahi (#477620)
9
10 Package-Manager: portage-2.2.26
11
12 net-libs/obby/obby-0.4.8-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/net-libs/obby/obby-0.4.8-r1.ebuild b/net-libs/obby/obby-0.4.8-r1.ebuild
16 new file mode 100644
17 index 0000000..64a3530
18 --- /dev/null
19 +++ b/net-libs/obby/obby-0.4.8-r1.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +inherit flag-o-matic multilib
27 +
28 +DESCRIPTION="Library for collaborative text editing"
29 +HOMEPAGE="http://gobby.0x539.de/"
30 +SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~arm ~ppc ~x86"
34 +IUSE="ipv6 nls static-libs zeroconf"
35 +
36 +RDEPEND="
37 + net-libs/net6
38 + dev-libs/libsigc++:2
39 + zeroconf? ( net-dns/avahi[dbus] )
40 +"
41 +DEPEND="${RDEPEND}
42 + nls? ( sys-devel/gettext )
43 +"
44 +
45 +src_configure() {
46 + append-cxxflags -std=c++11
47 + econf \
48 + $(use_enable ipv6) \
49 + $(use_enable nls) \
50 + $(use_enable static-libs static) \
51 + $(use_with zeroconf)
52 +}
53 +
54 +src_install() {
55 + default
56 + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib${PN}.la
57 +}