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