Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsoundtouch/
Date: Sat, 14 May 2022 21:30:44
Message-Id: 1652563818.9541659459b9d450048e8ca669a621a245c2014e.soap@gentoo
1 commit: 9541659459b9d450048e8ca669a621a245c2014e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 14 21:30:18 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 14 21:30:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95416594
7
8 media-libs/libsoundtouch: [QA] tc-has-openmp → tc-check-openmp
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 media-libs/libsoundtouch/libsoundtouch-2.3.1.ebuild | 13 +++++++++----
13 1 file changed, 9 insertions(+), 4 deletions(-)
14
15 diff --git a/media-libs/libsoundtouch/libsoundtouch-2.3.1.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.3.1.ebuild
16 index fd181f34ded2..04978df25d43 100644
17 --- a/media-libs/libsoundtouch/libsoundtouch-2.3.1.ebuild
18 +++ b/media-libs/libsoundtouch/libsoundtouch-2.3.1.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25 @@ -21,11 +21,16 @@ BDEPEND="virtual/pkgconfig"
26
27 S="${WORKDIR}/${MY_P}"
28
29 +pkg_pretend() {
30 + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
31 +}
32 +
33 +pkg_setup() {
34 + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
35 +}
36 +
37 src_prepare() {
38 default
39 - if use openmp ; then
40 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
41 - fi
42 sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die
43 sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die
44 eautoreconf