summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2021-05-26 11:48:52 +0200
committerSam James <sam@gentoo.org>2021-05-26 12:34:45 +0000
commite8f92525c9f0cc1366afa3676d6ee4e1619837e4 (patch)
tree5b7e9909017a42294cb38ce2ad149095a640399a /net-misc/asterisk-g729
parentnet-misc/asterisk-opus: New version for net-misc/asterisk-18.* (diff)
downloadgentoo-e8f92525c9f0cc1366afa3676d6ee4e1619837e4.tar.gz
gentoo-e8f92525c9f0cc1366afa3676d6ee4e1619837e4.tar.bz2
gentoo-e8f92525c9f0cc1366afa3676d6ee4e1619837e4.zip
net-misc/asterisk-g729: QA issues (existing versions).
The pre-built .so file should be listed as such in the QA variables. Additionally introduce subslot as per net-misc/asterisk and other related modules. Revbump due to SUBSLOT introduction, no change to actual installation. Closes: https://bugs.gentoo.org/792183 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/asterisk-g729')
-rw-r--r--net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9-r1.ebuild (renamed from net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild)7
-rw-r--r--net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9-r1.ebuild (renamed from net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9.ebuild)7
2 files changed, 7 insertions, 7 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-r1.ebuild
index 1a226c0eb772..01114a23c866 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-r1.ebuild
@@ -21,7 +21,7 @@ amd64? (
)"
LICENSE="Digium"
-SLOT="0"
+SLOT="0/${AST_PV}"
KEYWORDS="-* ~amd64 ~x86"
RDEPEND="=net-misc/asterisk-$(ver_cut 1)*"
@@ -32,7 +32,8 @@ S="${WORKDIR}"
pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_g729a.so"
- QA_PREBUILT="/usr/sbin/asthostid
+ QA_PREBUILT="${QA_FLAGS_IGNORED}
+ /usr/sbin/asthostid
/usr/sbin/astregister"
}
@@ -52,8 +53,6 @@ src_install() {
binsuffix=x86_32
elif use amd64; then
binsuffix=x86_64
- else
- die "Ebuild only functions for x86 and amd64."
fi
newsbin astregister-${binsuffix} astregister
diff --git a/net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9.ebuild b/net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9-r1.ebuild
index 317b54926409..01114a23c866 100644
--- a/net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9.ebuild
+++ b/net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -21,7 +21,7 @@ amd64? (
)"
LICENSE="Digium"
-SLOT="0"
+SLOT="0/${AST_PV}"
KEYWORDS="-* ~amd64 ~x86"
RDEPEND="=net-misc/asterisk-$(ver_cut 1)*"
@@ -32,7 +32,8 @@ S="${WORKDIR}"
pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_g729a.so"
- QA_PREBUILT="/usr/sbin/asthostid
+ QA_PREBUILT="${QA_FLAGS_IGNORED}
+ /usr/sbin/asthostid
/usr/sbin/astregister"
}