From a752bb08e24bf0eec9464fd460076c1d2e9f648f Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 4 Oct 2022 12:44:39 +0100 Subject: app-text/atril: simplify postscript logic Bug: https://bugs.gentoo.org/809062 Signed-off-by: Sam James --- app-text/atril/atril-1.26.0.ebuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app-text/atril/atril-1.26.0.ebuild b/app-text/atril/atril-1.26.0.ebuild index 826cb339dedf..a48310245ed7 100644 --- a/app-text/atril/atril-1.26.0.ebuild +++ b/app-text/atril/atril-1.26.0.ebuild @@ -85,12 +85,6 @@ pkg_setup() { src_configure() { # Passing --disable-help would drop offline help, that would be inconsistent # with helps of the most of GNOME apps that doesn't require network for that. - local use_ps; - if use postscript ; then - use_ps="--enable-ps" - else - use_ps="--disable-ps" - fi mate_src_configure \ --enable-comics \ --enable-pdf \ @@ -106,12 +100,12 @@ src_configure() { $(use_enable epub) \ $(use_enable introspection) \ $(use_enable nls) \ + $(use_enable postscript ps) \ $(use_enable synctex) \ $(use_enable t1lib) \ $(use_enable test tests) \ $(use_enable tiff) \ - $(use_enable xps) \ - ${use_ps} + $(use_enable xps) } src_test() { -- cgit v1.2.3-18-g5258