From 6bf7f944ee8fc778bb46244b20bd5fd4a787583c Mon Sep 17 00:00:00 2001 From: Jeffery Gazso Date: Mon, 17 Oct 2022 20:05:50 -0400 Subject: [PATCH] app-office/scribus: antiword support optfeature Signed-off-by: Jeffery Gazso Closes: https://github.com/gentoo/gentoo/pull/27826 Signed-off-by: Sam James --- 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 b3a6630f39bef..452fd4085ad97 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 +}