summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-01-23 19:26:28 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-01-23 19:27:02 +0200
commitd544aaf855ca943bfdeb7e38be7a84a0882cd103 (patch)
tree5698555b8eacf50ffdd63ebece1cba9bae3ab054 /net-misc
parentnet-misc/asterisk-g729: version bump to accomodate asterisk 13. (diff)
downloadgentoo-d544aaf855ca943bfdeb7e38be7a84a0882cd103.tar.gz
gentoo-d544aaf855ca943bfdeb7e38be7a84a0882cd103.tar.bz2
gentoo-d544aaf855ca943bfdeb7e38be7a84a0882cd103.zip
net-misc/asterisk-g729: handle QA_PREBUILT with 13.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild9
1 files 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 8bd7baccb9d6..56e63d3355f5 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