diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2014-08-23 13:22:41 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2014-08-23 13:22:41 +0000 |
commit | 3657a699920e30061f031b77be64bff11ace37d7 (patch) | |
tree | 4bccb206b5505e0d93e0efdee461a971e462e843 /app-text/libwpd | |
parent | RDEPEND on sec-policy/selinux-vde if USE=selinux (diff) | |
download | gentoo-2-3657a699920e30061f031b77be64bff11ace37d7.tar.gz gentoo-2-3657a699920e30061f031b77be64bff11ace37d7.tar.bz2 gentoo-2-3657a699920e30061f031b77be64bff11ace37d7.zip |
Add 0.10 series wpd using revenge for lo4.3. Drops keywords.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'app-text/libwpd')
-rw-r--r-- | app-text/libwpd/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/libwpd/libwpd-0.10.0.ebuild | 56 |
2 files changed, 62 insertions, 1 deletions
diff --git a/app-text/libwpd/ChangeLog b/app-text/libwpd/ChangeLog index ee34fecbc2d6..cf989bac7ec4 100644 --- a/app-text/libwpd/ChangeLog +++ b/app-text/libwpd/ChangeLog @@ -1,6 +1,11 @@ # 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.126 2014/04/23 20:57:34 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/ChangeLog,v 1.127 2014/08/23 13:22:41 scarabeus Exp $ + +*libwpd-0.10.0 (23 Aug 2014) + + 23 Aug 2014; Tomáš Chvátal <scarabeus@gentoo.org> +libwpd-0.10.0.ebuild: + Add 0.10 series wpd using revenge for lo4.3. Drops keywords. 23 Apr 2014; Pacho Ramos <pacho@gentoo.org> -libwpd-0.9.7.ebuild, -libwpd-0.9.8.ebuild: diff --git a/app-text/libwpd/libwpd-0.10.0.ebuild b/app-text/libwpd/libwpd-0.10.0.ebuild new file mode 100644 index 000000000000..9970b10c52ed --- /dev/null +++ b/app-text/libwpd/libwpd-0.10.0.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.ebuild,v 1.1 2014/08/23 13:22:41 scarabeus 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="~amd64 ~x86" +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_with tools stream) \ + --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 +} |