Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/libwpg: ChangeLog libwpg-0.2.1.ebuild libwpg-0.2.0-r1.ebuild
Date: Tue, 04 Oct 2011 15:21:52
Message-Id: 20111004152142.D3D972004B@flycatcher.gentoo.org
1 scarabeus 11/10/04 15:21:42
2
3 Modified: ChangeLog
4 Added: libwpg-0.2.1.ebuild
5 Removed: libwpg-0.2.0-r1.ebuild
6 Log:
7 Bump libwpg to latest. Drop older 0.2.
8
9 (Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.4 app-text/libwpg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libwpg/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libwpg/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libwpg/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/libwpg/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 3 Sep 2011 09:59:07 -0000 1.3
25 +++ ChangeLog 4 Oct 2011 15:21:42 -0000 1.4
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-text/libwpg
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/libwpg/ChangeLog,v 1.3 2011/09/03 09:59:07 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/libwpg/ChangeLog,v 1.4 2011/10/04 15:21:42 scarabeus Exp $
31 +
32 +*libwpg-0.2.1 (04 Oct 2011)
33 +
34 + 04 Oct 2011; Tomáš Chvátal <scarabeus@g.o> -libwpg-0.2.0-r1.ebuild,
35 + +libwpg-0.2.1.ebuild:
36 + Bump libwpg to latest. Drop older 0.2.
37
38 03 Sep 2011; Tomáš Chvátal <scarabeus@g.o> -libwpg-0.1.3-r1.ebuild,
39 -libwpg-0.2.0.ebuild:
40
41
42
43 1.1 app-text/libwpg/libwpg-0.2.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libwpg/libwpg-0.2.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libwpg/libwpg-0.2.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libwpg-0.2.1.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/app-text/libwpg/libwpg-0.2.1.ebuild,v 1.1 2011/10/04 15:21:42 scarabeus Exp $
53
54 EAPI=4
55
56 inherit alternatives
57
58 DESCRIPTION="C++ library to read and parse graphics in WPG"
59 HOMEPAGE="http://libwpg.sourceforge.net/libwpg.htm"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0.2"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
65 IUSE="doc static-libs"
66
67 RDEPEND="app-text/libwpd:0.9[tools]"
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig
70 doc? ( app-doc/doxygen )"
71 RDEPEND="${RDEPEND}
72 !<app-text/libwpd-0.1.3-r1"
73
74 src_configure() {
75 econf \
76 --disable-werror \
77 --program-suffix=-${SLOT} \
78 --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
79 $(use_with doc docs) \
80 $(use_enable static-libs static)
81 }
82
83 src_install() {
84 default
85 find "${ED}" -name '*.la' -delete
86 }
87
88 pkg_postinst() {
89 alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl "/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]"
90 alternatives_auto_makesym /usr/bin/wpg2svg "/usr/bin/wpg2svg-[0-9].[0-9]"
91 alternatives_auto_makesym /usr/bin/wpg2raw "/usr/bin/wpg2raw-[0-9].[0-9]" fi
92 }
93
94 pkg_postrm() {
95 alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl "/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]"
96 alternatives_auto_makesym /usr/bin/wpg2svg "/usr/bin/wpg2svg-[0-9].[0-9]"
97 alternatives_auto_makesym /usr/bin/wpg2raw "/usr/bin/wpg2raw-[0-9].[0-9]"
98 }