public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/aaphoto/
Date: Sat, 14 May 2022 21:30:36 +0000 (UTC)	[thread overview]
Message-ID: <1652563808.740814e3d0b1c589d7c715e53132df733401ab2e.soap@gentoo> (raw)

commit:     740814e3d0b1c589d7c715e53132df733401ab2e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:08 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740814e3

media-gfx/aaphoto: [QA] tc-has-openmp → tc-check-openmp

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../{aaphoto-0.45.ebuild => aaphoto-0.45-r1.ebuild}  | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/media-gfx/aaphoto/aaphoto-0.45.ebuild b/media-gfx/aaphoto/aaphoto-0.45-r1.ebuild
similarity index 50%
rename from media-gfx/aaphoto/aaphoto-0.45.ebuild
rename to media-gfx/aaphoto/aaphoto-0.45-r1.ebuild
index c9839cf9f3f4..f7310d13b0c0 100644
--- a/media-gfx/aaphoto/aaphoto-0.45.ebuild
+++ b/media-gfx/aaphoto/aaphoto-0.45-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit toolchain-funcs
 
@@ -14,16 +14,14 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 
 RDEPEND="
-	media-libs/libpng:0=
-	sys-libs/zlib
-	virtual/jpeg:0"
+	media-libs/libjpeg-turbo:=
+	media-libs/libpng:="
 DEPEND="${RDEPEND}"
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
 pkg_setup() {
-	if [[ ${MERGE_TYPE} != binary ]]; then
-		[[ $(gcc-major-version) -lt 4 ]] || \
-		( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 2 ]] ) \
-		&& die "Sorry, but gcc 4.2 or higher is required"
-		tc-has-openmp || die "Please switch to an openmp compatible compiler"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
 }


             reply	other threads:[~2022-05-14 21:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 21:30 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-29  6:00 [gentoo-commits] repo/gentoo:master commit in: media-gfx/aaphoto/ Joonas Niilola
2024-07-29  6:00 Joonas Niilola
2023-05-07  7:22 Joonas Niilola
2018-02-26 21:56 Patrice Clement
2018-02-21  3:01 Thomas Deutschmann
2017-07-08 15:56 Kristian Fiskerstrand
2016-11-12 23:37 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652563808.740814e3d0b1c589d7c715e53132df733401ab2e.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox