Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-g729/
Date: Thu, 23 Jan 2020 17:27:13
Message-Id: 1579800422.d544aaf855ca943bfdeb7e38be7a84a0882cd103.juippis@gentoo
1 commit: d544aaf855ca943bfdeb7e38be7a84a0882cd103
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 23 17:26:28 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 17:27:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d544aaf8
7
8 net-misc/asterisk-g729: handle QA_PREBUILT with 13.0
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-)
14
15 diff --git a/net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild b/net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild
16 index 8bd7baccb9d..56e63d3355f 100644
17 --- a/net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild
18 +++ b/net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild
19 @@ -30,11 +30,14 @@ RDEPEND="=net-misc/asterisk-$(ver_cut 1)*"
20
21 RESTRICT="mirror strip"
22
23 -QA_FLAGS_IGNORED_amd64="usr/lib64/asterisk/modules/codec_g729a.so"
24 -QA_FLAGS_IGNORED_x86="usr/lib/asterisk/modules/codec_g729a.so"
25 -
26 S="${WORKDIR}"
27
28 +pkg_setup() {
29 + QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_g729a.so"
30 + QA_PREBUILT="/usr/sbin/asthostid
31 + /usr/sbin/astregister"
32 +}
33 +
34 src_unpack() {
35 local dfile