summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-26 00:04:01 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-12-17 16:55:41 +0100
commit188b033eb5992113dcba6c2f6dac9c9fe705244e (patch)
tree2c69f085d0b3680adc2eef4831779dbcd76a4519 /app-text/libwpd
parentapp-office/libreoffice: Add 5.3 stable branch (diff)
downloadgentoo-188b033eb5992113dcba6c2f6dac9c9fe705244e.tar.gz
gentoo-188b033eb5992113dcba6c2f6dac9c9fe705244e.tar.bz2
gentoo-188b033eb5992113dcba6c2f6dac9c9fe705244e.zip
app-text/libwpd: EAPI 6, drop eutils.eclass, improve metadata
Gentoo-bug: 600716 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/libwpd')
-rw-r--r--app-text/libwpd/libwpd-0.10.1.ebuild13
-rw-r--r--app-text/libwpd/metadata.xml2
2 files changed, 6 insertions, 9 deletions
diff --git a/app-text/libwpd/libwpd-0.10.1.ebuild b/app-text/libwpd/libwpd-0.10.1.ebuild
index 43b61098ab25..d1631de9271c 100644
--- a/app-text/libwpd/libwpd-0.10.1.ebuild
+++ b/app-text/libwpd/libwpd-0.10.1.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit alternatives eutils
+inherit alternatives
DESCRIPTION="WordPerfect Document import/export library"
HOMEPAGE="http://libwpd.sf.net"
@@ -15,13 +15,11 @@ SLOT="0.10"
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips x86 ~x86-fbsd"
IUSE="doc +tools"
-COMMON_DEPEND="dev-libs/librevenge"
-DEPEND="${COMMON_DEPEND}
+RDEPEND="dev-libs/librevenge"
+DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
-RDEPEND="${COMMON_DEPEND}
- !<app-text/libwpd-0.8.14-r1"
src_configure() {
econf \
@@ -29,13 +27,12 @@ src_configure() {
--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
+ find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
diff --git a/app-text/libwpd/metadata.xml b/app-text/libwpd/metadata.xml
index 6965195d15db..19419ec1fa6e 100644
--- a/app-text/libwpd/metadata.xml
+++ b/app-text/libwpd/metadata.xml
@@ -6,7 +6,7 @@
<name>Gentoo Office project</name>
</maintainer>
<use>
- <flag name="tools">Build miscellaneous tools</flag>
+ <flag name="tools">Build file conversion tools</flag>
</use>
<upstream>
<remote-id type="sourceforge">libwpd</remote-id>