diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2014-12-27 22:01:47 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2014-12-27 22:01:47 +0000 |
commit | a3dec7e0b1416d881ff9ec9900e1c1f0ac98e255 (patch) | |
tree | e2e2e3bdc7332f23cfbd3903387b647fd409cdee /app-text | |
parent | Version bump, bug 530504 (diff) | |
download | gentoo-2-a3dec7e0b1416d881ff9ec9900e1c1f0ac98e255.tar.gz gentoo-2-a3dec7e0b1416d881ff9ec9900e1c1f0ac98e255.tar.bz2 gentoo-2-a3dec7e0b1416d881ff9ec9900e1c1f0ac98e255.zip |
Fix tools useflag, bug 525692
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/libwpd/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/libwpd/libwpd-0.10.0-r1.ebuild | 56 |
2 files changed, 63 insertions, 1 deletions
diff --git a/app-text/libwpd/ChangeLog b/app-text/libwpd/ChangeLog index a6a4903804f3..20f325d7aae0 100644 --- a/app-text/libwpd/ChangeLog +++ b/app-text/libwpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/libwpd # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/ChangeLog,v 1.133 2014/11/21 11:43:21 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/ChangeLog,v 1.134 2014/12/27 22:01:47 dilfridge Exp $ + +*libwpd-0.10.0-r1 (27 Dec 2014) + + 27 Dec 2014; Andreas K. Huettel <dilfridge@gentoo.org> + +libwpd-0.10.0-r1.ebuild: + Fix tools useflag, bug 525692 21 Nov 2014; Tobias Klausmann <klausman@gentoo.org> libwpd-0.10.0.ebuild: Keyworded on alpha, bug 520692 diff --git a/app-text/libwpd/libwpd-0.10.0-r1.ebuild b/app-text/libwpd/libwpd-0.10.0-r1.ebuild new file mode 100644 index 000000000000..735bb03063e6 --- /dev/null +++ b/app-text/libwpd/libwpd-0.10.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/libwpd-0.10.0-r1.ebuild,v 1.1 2014/12/27 22:01:47 dilfridge Exp $ + +EAPI=5 + +inherit alternatives eutils + +DESCRIPTION="WordPerfect Document import/export library" +HOMEPAGE="http://libwpd.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="|| ( LGPL-2.1 MPL-2.0 )" +SLOT="0.10" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~x86 ~x86-fbsd" +IUSE="doc test +tools" + +RDEPEND="dev-libs/librevenge" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" +RDEPEND="${RDEPEND} + !<app-text/libwpd-0.8.14-r1" + +src_configure() { + econf \ + --disable-static \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable tools) \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --program-suffix=-${SLOT} +} + +src_install() { + default + prune_libtool_files --all +} + +pkg_postinst() { + if use tools; then + alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-10]" + alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-10]" + alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-10]" + fi +} + +pkg_postrm() { + if use tools; then + alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-10]" + alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-10]" + alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-10]" + fi +} |