commit: 6bf7f944ee8fc778bb46244b20bd5fd4a787583c Author: Jeffery Gazso <jeff.gazso <AT> gmail <DOT> com> AuthorDate: Tue Oct 18 00:05:50 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 29 21:34:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf7f944
app-office/scribus: antiword support optfeature Signed-off-by: Jeffery Gazso <jeff.gazso <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27826 Signed-off-by: Sam James <sam <AT> gentoo.org> app-office/scribus/scribus-1.5.8-r4.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-office/scribus/scribus-1.5.8-r4.ebuild b/app-office/scribus/scribus-1.5.8-r4.ebuild index b3a6630f39be..452fd4085ad9 100644 --- a/app-office/scribus/scribus-1.5.8-r4.ebuild +++ b/app-office/scribus/scribus-1.5.8-r4.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="tk?" -inherit cmake desktop flag-o-matic python-single-r1 xdg +inherit cmake desktop flag-o-matic optfeature python-single-r1 xdg DESCRIPTION="Desktop publishing (DTP) and layout program" HOMEPAGE="https://www.scribus.net/" @@ -162,3 +162,9 @@ src_install() { doicon resources/iconsets/*/scribus.png domenu scribus.desktop } + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "MS Word .doc file import filter support" app-text/antiword +}
