commit:     e8f92525c9f0cc1366afa3676d6ee4e1619837e4
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Wed May 26 09:48:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 26 12:34:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f92525

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 <AT> uls.co.za>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...k-g729-13.0.3.1.9.ebuild => asterisk-g729-13.0.3.1.9-r1.ebuild} | 7 +++----
 ...k-g729-16.0.3.1.9.ebuild => asterisk-g729-16.0.3.1.9-r1.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
similarity index 94%
rename from net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild
rename to net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9-r1.ebuild
index 1a226c0eb77..01114a23c86 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
similarity index 93%
rename from net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9.ebuild
rename to net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9-r1.ebuild
index 317b5492640..01114a23c86 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"
 }
 

Reply via email to