From: Jaco Kroon Date: Sat, 21 Mar 2020 17:53:38 +0000 (+0200) Subject: net-misc/asterisk-extra-sounds: enforce at least one codec. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d70d1289c400498a75c364b1078b9ed12fc6861;p=gentoo.git net-misc/asterisk-extra-sounds: enforce at least one codec. REQUIRED_USE was misspelt, resulting in the enforcement not happening. http => https where possible. Closes: https://bugs.gentoo.org/713642 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jaco Kroon Closes: https://github.com/gentoo/gentoo/pull/15042 Signed-off-by: Joonas Niilola --- diff --git a/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild b/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild index 6f762733bdc8..84c1aca7e5ee 100644 --- a/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild +++ b/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" DESCRIPTION="Extra sounds for asterisk" -HOMEPAGE="http://www.asterisk.org/" +HOMEPAGE="https://www.asterisk.org/" MY_L10N="^en en_GB fr" # ^ is used to indicate to the loops below to NOT set this as an optional CODECS="alaw g722 g729 +gsm siren7 siren14 sln16 ulaw wav" @@ -13,12 +13,12 @@ IUSE="${CODECS}" for l in ${MY_L10N}; do [[ "${l}" != ^* ]] && IUSE+=" l10n_${l//_/-}" && SRC_URI+=" l10n_${l//_/-}? (" for c in ${CODECS}; do - SRC_URI+=" ${c#+}? ( http://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${l#^}-${c#+}-${PV}.tar.gz )" + SRC_URI+=" ${c#+}? ( https://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${l#^}-${c#+}-${PV}.tar.gz )" done [[ "${l}" = ^* ]] || SRC_URI+=" )" done -REQUIRE_USE="|| ( ${CODECS//+/} )" +REQUIRED_USE="|| ( ${CODECS//+/} )" LICENSE="CC-BY-SA-3.0" SLOT="0" @@ -66,7 +66,6 @@ src_install() { diropts -m 0755 -o root -g root insopts -m 0644 -o root -g root - dodir /var/lib/asterisk/sounds insinto /var/lib/asterisk/sounds doins -r . }