Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-g729/
Date: Wed, 26 May 2021 12:37:27
Message-Id: 1622032485.e8f92525c9f0cc1366afa3676d6ee4e1619837e4.sam@gentoo
1 commit: e8f92525c9f0cc1366afa3676d6ee4e1619837e4
2 Author: Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
3 AuthorDate: Wed May 26 09:48:52 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed May 26 12:34:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f92525
7
8 net-misc/asterisk-g729: QA issues (existing versions).
9
10 The pre-built .so file should be listed as such in the QA variables.
11
12 Additionally introduce subslot as per net-misc/asterisk and other
13 related modules.
14
15 Revbump due to SUBSLOT introduction, no change to actual installation.
16
17 Closes: https://bugs.gentoo.org/792183
18 Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 ...k-g729-13.0.3.1.9.ebuild => asterisk-g729-13.0.3.1.9-r1.ebuild} | 7 +++----
22 ...k-g729-16.0.3.1.9.ebuild => asterisk-g729-16.0.3.1.9-r1.ebuild} | 7 ++++---
23 2 files changed, 7 insertions(+), 7 deletions(-)
24
25 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
26 similarity index 94%
27 rename from net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild
28 rename to net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9-r1.ebuild
29 index 1a226c0eb77..01114a23c86 100644
30 --- a/net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9.ebuild
31 +++ b/net-misc/asterisk-g729/asterisk-g729-13.0.3.1.9-r1.ebuild
32 @@ -21,7 +21,7 @@ amd64? (
33 )"
34
35 LICENSE="Digium"
36 -SLOT="0"
37 +SLOT="0/${AST_PV}"
38 KEYWORDS="-* ~amd64 ~x86"
39
40 RDEPEND="=net-misc/asterisk-$(ver_cut 1)*"
41 @@ -32,7 +32,8 @@ S="${WORKDIR}"
42
43 pkg_setup() {
44 QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_g729a.so"
45 - QA_PREBUILT="/usr/sbin/asthostid
46 + QA_PREBUILT="${QA_FLAGS_IGNORED}
47 + /usr/sbin/asthostid
48 /usr/sbin/astregister"
49 }
50
51 @@ -52,8 +53,6 @@ src_install() {
52 binsuffix=x86_32
53 elif use amd64; then
54 binsuffix=x86_64
55 - else
56 - die "Ebuild only functions for x86 and amd64."
57 fi
58
59 newsbin astregister-${binsuffix} astregister
60
61 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
62 similarity index 93%
63 rename from net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9.ebuild
64 rename to net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9-r1.ebuild
65 index 317b5492640..01114a23c86 100644
66 --- a/net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9.ebuild
67 +++ b/net-misc/asterisk-g729/asterisk-g729-16.0.3.1.9-r1.ebuild
68 @@ -1,4 +1,4 @@
69 -# Copyright 1999-2020 Gentoo Authors
70 +# Copyright 1999-2021 Gentoo Authors
71 # Distributed under the terms of the GNU General Public License v2
72
73 EAPI="7"
74 @@ -21,7 +21,7 @@ amd64? (
75 )"
76
77 LICENSE="Digium"
78 -SLOT="0"
79 +SLOT="0/${AST_PV}"
80 KEYWORDS="-* ~amd64 ~x86"
81
82 RDEPEND="=net-misc/asterisk-$(ver_cut 1)*"
83 @@ -32,7 +32,8 @@ S="${WORKDIR}"
84
85 pkg_setup() {
86 QA_FLAGS_IGNORED="/usr/$(get_libdir)/asterisk/modules/codec_g729a.so"
87 - QA_PREBUILT="/usr/sbin/asthostid
88 + QA_PREBUILT="${QA_FLAGS_IGNORED}
89 + /usr/sbin/asthostid
90 /usr/sbin/astregister"
91 }