From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 59A85158095 for ; Tue, 4 Oct 2022 11:46:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43939E0A4A; Tue, 4 Oct 2022 11:46:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C383E0A4A for ; Tue, 4 Oct 2022 11:46:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAA1B33FE74 for ; Tue, 4 Oct 2022 11:46:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C16C605 for ; Tue, 4 Oct 2022 11:46:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1664883963.a752bb08e24bf0eec9464fd460076c1d2e9f648f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/atril/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/atril/atril-1.26.0.ebuild X-VCS-Directories: app-text/atril/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a752bb08e24bf0eec9464fd460076c1d2e9f648f X-VCS-Branch: master Date: Tue, 4 Oct 2022 11:46:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0c58b558-2eae-4959-bb57-effe9aafc311 X-Archives-Hash: 5b49da105542b3e8d5ec5d7ea383a6db commit: a752bb08e24bf0eec9464fd460076c1d2e9f648f Author: Sam James gentoo org> AuthorDate: Tue Oct 4 11:44:39 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Oct 4 11:46:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a752bb08 app-text/atril: simplify postscript logic Bug: https://bugs.gentoo.org/809062 Signed-off-by: Sam James gentoo.org> 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() {