From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 509CD138334 for ; Wed, 27 Nov 2019 15:18:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6310DE0907; Wed, 27 Nov 2019 15:18:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 397AAE091C for ; Wed, 27 Nov 2019 15:18:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3435434D4D3 for ; Wed, 27 Nov 2019 15:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E71A68C5 for ; Wed, 27 Nov 2019 15:18:48 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1574867909.48f026861983fbd3001c7515f87828b13c581e7a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-moh-opsound/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/asterisk-moh-opsound/asterisk-moh-opsound-2.03-r1.ebuild net-misc/asterisk-moh-opsound/metadata.xml X-VCS-Directories: net-misc/asterisk-moh-opsound/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 48f026861983fbd3001c7515f87828b13c581e7a X-VCS-Branch: master Date: Wed, 27 Nov 2019 15:18:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 46eca9f3-9eb8-4250-976a-44390d079c51 X-Archives-Hash: a76f2b4d9d018339490f036cf826c193 commit: 48f026861983fbd3001c7515f87828b13c581e7a Author: Jaco Kroon uls co za> AuthorDate: Thu Jun 13 10:39:05 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Nov 27 15:18:29 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f02686 net-misc/asterisk-moh-opsound: revbump + maintainership Take maintainership. Implement file permissions as per https://bugs.gentoo.org/507894 (but does not close). Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Jaco Kroon uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/13587 Signed-off-by: Joonas Niilola gentoo.org> .../asterisk-moh-opsound-2.03-r1.ebuild | 42 ++++++++++++++++++++++ net-misc/asterisk-moh-opsound/metadata.xml | 10 ++++-- 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/net-misc/asterisk-moh-opsound/asterisk-moh-opsound-2.03-r1.ebuild b/net-misc/asterisk-moh-opsound/asterisk-moh-opsound-2.03-r1.ebuild new file mode 100644 index 00000000000..010127bad37 --- /dev/null +++ b/net-misc/asterisk-moh-opsound/asterisk-moh-opsound-2.03-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="asterisk moh music" +HOMEPAGE="http://www.asterisk.org/" +CODECS="alaw g722 g729 +gsm siren7 siren14 sln16 ulaw wav" + +SRC_URI="" +for c in ${CODECS}; do + SRC_URI+=" ${c#+}? ( http://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${c#+}-${PV}.tar.gz )" +done + +IUSE="${CODECS}" +REQUIRED_USE="|| ( ${CODECS//+/} )" + +LICENSE="CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +S="${WORKDIR}" + +src_install() { + local c + + for c in ${CODECS}; do + if use ${c#+}; then + for pf in CREDITS LICENSE CHANGES; do + dodoc "$pf-$PN-${c#+}" + rm "$pf-$PN-${c#+}" + done + fi + done + + diropts -m 0755 -o root -g root + insopts -m 0644 -o root -g root + + dodir /var/lib/asterisk/moh + insinto /var/lib/asterisk/moh + doins -r . +} diff --git a/net-misc/asterisk-moh-opsound/metadata.xml b/net-misc/asterisk-moh-opsound/metadata.xml index 7413756723d..71b32add35e 100644 --- a/net-misc/asterisk-moh-opsound/metadata.xml +++ b/net-misc/asterisk-moh-opsound/metadata.xml @@ -2,14 +2,18 @@ - chainsaw@gentoo.org - Tony Vroon + jaco@uls.co.za + Jaco Kroon + + + proxy-maint@gentoo.org + Proxy Maintainers Install the sounds files for the alaw codec. Install the sounds files for the g722 codec. Install the sounds files for the g729 codec. - Install the sounds files for the +gsm codec. + Install the sounds files for the gsm codec. Install the sounds files for the siren7 codec. Install the sounds files for the siren14 codec. Install the sounds files for the sln16 codec.