diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2015-07-19 16:18:21 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2015-07-19 16:18:21 +0000 |
commit | 6d46075faa57285aa9649d04828c6c2094afe6a5 (patch) | |
tree | 763d12aee3101cc20c0f58f250c3d685c9333c39 /app-text/libwpd | |
parent | remove version 0.10.1-r1 (diff) | |
download | gentoo-2-6d46075faa57285aa9649d04828c6c2094afe6a5.tar.gz gentoo-2-6d46075faa57285aa9649d04828c6c2094afe6a5.tar.bz2 gentoo-2-6d46075faa57285aa9649d04828c6c2094afe6a5.zip |
Revision bump for bug 541882
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0B08240A96F66571)
Diffstat (limited to 'app-text/libwpd')
-rw-r--r-- | app-text/libwpd/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/libwpd/libwpd-0.10.0-r2.ebuild | 55 |
2 files changed, 62 insertions, 1 deletions
diff --git a/app-text/libwpd/ChangeLog b/app-text/libwpd/ChangeLog index 8ad9153031dd..ce7681043a70 100644 --- a/app-text/libwpd/ChangeLog +++ b/app-text/libwpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/libwpd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/ChangeLog,v 1.137 2015/06/09 12:28:29 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/ChangeLog,v 1.138 2015/07/19 16:18:21 dilfridge Exp $ + +*libwpd-0.10.0-r2 (19 Jul 2015) + + 19 Jul 2015; Andreas K. Huettel <dilfridge@gentoo.org> + +libwpd-0.10.0-r2.ebuild: + Revision bump for bug 541882 09 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Updating remote-id in metadata.xml diff --git a/app-text/libwpd/libwpd-0.10.0-r2.ebuild b/app-text/libwpd/libwpd-0.10.0-r2.ebuild new file mode 100644 index 000000000000..3de4b3c6c986 --- /dev/null +++ b/app-text/libwpd/libwpd-0.10.0-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 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-r2.ebuild,v 1.1 2015/07/19 16:18:21 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 +tools" + +COMMON_DEPEND="dev-libs/librevenge" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +RDEPEND="${COMMON_DEPEND} + !<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-9][0-9]" + alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9][0-9]" + alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9][0-9]" + fi +} + +pkg_postrm() { + if use tools; then + alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9][0-9]" + alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9][0-9]" + alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9][0-9]" + fi +} |