commit:     d544aaf855ca943bfdeb7e38be7a84a0882cd103
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 23 17:26:28 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 23 17:27:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d544aaf8

net-misc/asterisk-g729: handle QA_PREBUILT with 13.0

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

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
index 8bd7baccb9d..56e63d3355f 100644
--- 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
@@ -30,11 +30,14 @@ RDEPEND="=net-misc/asterisk-$(ver_cut 1)*"
 
 RESTRICT="mirror strip"
 
-QA_FLAGS_IGNORED_amd64="usr/lib64/asterisk/modules/codec_g729a.so"
-QA_FLAGS_IGNORED_x86="usr/lib/asterisk/modules/codec_g729a.so"
-
 S="${WORKDIR}"
 
+pkg_setup() {
+       QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_g729a.so"
+       QA_PREBUILT="/usr/sbin/asthostid
+               /usr/sbin/astregister"
+}
+
 src_unpack() {
        local dfile
 

Reply via email to