From: | "Gilles Dartiguelongue (eva)" <eva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/gupnp-igd: ChangeLog gupnp-igd-0.2.0.ebuild gupnp-igd-0.1.10.ebuild |
Date: | Sun, 13 Nov 2011 21:34:36 |
Message-Id: | 20111113213427.381DA2004B@flycatcher.gentoo.org |
1 | eva 11/11/13 21:34:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gupnp-igd-0.2.0.ebuild |
5 | Removed: gupnp-igd-0.1.10.ebuild |
6 | Log: |
7 | Version bump. Make it work with gupnp-0.18. Clean up old revision. |
8 | |
9 | (Portage version: 2.2.0_alpha73/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.31 net-libs/gupnp-igd/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?rev=1.31&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?rev=1.31&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/ChangeLog?r1=1.30&r2=1.31 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v |
21 | retrieving revision 1.30 |
22 | retrieving revision 1.31 |
23 | diff -u -r1.30 -r1.31 |
24 | --- ChangeLog 24 Oct 2011 06:08:54 -0000 1.30 |
25 | +++ ChangeLog 13 Nov 2011 21:34:27 -0000 1.31 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for net-libs/gupnp-igd |
28 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v 1.30 2011/10/24 06:08:54 tetromino Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/ChangeLog,v 1.31 2011/11/13 21:34:27 eva Exp $ |
31 | + |
32 | +*gupnp-igd-0.2.0 (13 Nov 2011) |
33 | + |
34 | + 13 Nov 2011; Gilles Dartiguelongue <eva@g.o> -gupnp-igd-0.1.10.ebuild, |
35 | + +gupnp-igd-0.2.0.ebuild: |
36 | + Version bump. Make it work with gupnp-0.18. Clean up old revision. |
37 | |
38 | 24 Oct 2011; Alexandre Rostovtsev <tetromino@g.o> |
39 | gupnp-igd-0.1.7.ebuild, gupnp-igd-0.1.10.ebuild, gupnp-igd-0.1.11.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 net-libs/gupnp-igd/gupnp-igd-0.2.0.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.2.0.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.2.0.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: gupnp-igd-0.2.0.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.2.0.ebuild,v 1.1 2011/11/13 21:34:27 eva Exp $ |
53 | |
54 | EAPI="3" |
55 | PYTHON_DEPEND="python? 2:2.5" |
56 | SUPPORT_PYTHON_ABIS="1" |
57 | RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" |
58 | |
59 | inherit autotools eutils python |
60 | |
61 | DESCRIPTION="This is a library to handle UPnP IGD port mapping for GUPnP." |
62 | HOMEPAGE="http://gupnp.org" |
63 | SRC_URI="http://www.gupnp.org/sites/all/files/sources/${P}.tar.gz" |
64 | |
65 | LICENSE="LGPL-2" |
66 | SLOT="0" |
67 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
68 | IUSE="+introspection python" |
69 | |
70 | RDEPEND=">=net-libs/gupnp-0.18 |
71 | >=dev-libs/glib-2.16:2 |
72 | introspection? ( >=dev-libs/gobject-introspection-0.10 ) |
73 | python? ( >=dev-python/pygobject-2.16:2 )" |
74 | DEPEND="${RDEPEND} |
75 | dev-util/pkgconfig |
76 | sys-devel/gettext |
77 | dev-util/gtk-doc-am" |
78 | |
79 | # The only existing test is broken |
80 | RESTRICT="test" |
81 | |
82 | pkg_setup() { |
83 | if use python; then |
84 | python_pkg_setup |
85 | fi |
86 | } |
87 | |
88 | src_prepare() { |
89 | epatch "${FILESDIR}"/${PN}-0.1.11-disable_static_modules.patch |
90 | |
91 | # Disable byte-compilation of Python modules. |
92 | echo "#!/bin/sh" > py-compile |
93 | |
94 | # Python bindings are built/installed manually. |
95 | sed -e "/PYTHON_SUBDIR =/s/ python//" -i Makefile.am |
96 | |
97 | eautoreconf |
98 | } |
99 | |
100 | src_configure() { |
101 | econf \ |
102 | --disable-dependency-tracking \ |
103 | --disable-static \ |
104 | --disable-gtk-doc \ |
105 | $(use_enable introspection) \ |
106 | $(use_enable python) |
107 | } |
108 | |
109 | src_compile() { |
110 | # introspection is built in the same directory and libtool does not handle |
111 | # well dependency like this |
112 | MAKEOPTS="${MAKEOPTS} -j1" default |
113 | |
114 | if use python; then |
115 | python_copy_sources python |
116 | |
117 | building() { |
118 | emake \ |
119 | PYTHON_INCLUDES="-I$(python_get_includedir)" \ |
120 | pyexecdir="$(python_get_sitedir)" |
121 | } |
122 | python_execute_function -s --source-dir python building |
123 | fi |
124 | } |
125 | |
126 | src_install() { |
127 | emake DESTDIR="${D}" install || die |
128 | |
129 | if use python; then |
130 | installation() { |
131 | emake \ |
132 | DESTDIR="${D}" \ |
133 | pyexecdir="$(python_get_sitedir)" \ |
134 | install |
135 | } |
136 | python_execute_function -s --source-dir python installation |
137 | |
138 | python_clean_installation_image |
139 | fi |
140 | |
141 | dodoc AUTHORS NEWS README TODO || die |
142 | find "${D}" -name "*.la" -delete |
143 | } |
144 | |
145 | pkg_postinst() { |
146 | if use python; then |
147 | python_mod_optimize gupnp |
148 | fi |
149 | } |
150 | |
151 | pkg_postrm() { |
152 | if use python; then |
153 | python_mod_cleanup gupnp |
154 | fi |
155 | } |