diff options
author | Jaco Kroon <jaco@uls.co.za> | 2019-06-13 12:39:05 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-11-27 17:18:29 +0200 |
commit | 48f026861983fbd3001c7515f87828b13c581e7a (patch) | |
tree | 8b8cc9bc4b1ab91f779d78b82baf3869a1eefd96 /net-misc/asterisk-moh-opsound | |
parent | net-misc/asterisk-core-sounds: version bump + maintainer (diff) | |
download | gentoo-48f026861983fbd3001c7515f87828b13c581e7a.tar.gz gentoo-48f026861983fbd3001c7515f87828b13c581e7a.tar.bz2 gentoo-48f026861983fbd3001c7515f87828b13c581e7a.zip |
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 <jaco@uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/13587
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/asterisk-moh-opsound')
-rw-r--r-- | net-misc/asterisk-moh-opsound/asterisk-moh-opsound-2.03-r1.ebuild | 42 | ||||
-rw-r--r-- | 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 000000000000..010127bad37c --- /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 7413756723d5..71b32add35e7 100644 --- a/net-misc/asterisk-moh-opsound/metadata.xml +++ b/net-misc/asterisk-moh-opsound/metadata.xml @@ -2,14 +2,18 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>chainsaw@gentoo.org</email> - <name>Tony Vroon</name> + <email>jaco@uls.co.za</email> + <name>Jaco Kroon</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> </maintainer> <use> <flag name="alaw">Install the sounds files for the alaw codec.</flag> <flag name="g722">Install the sounds files for the g722 codec.</flag> <flag name="g729">Install the sounds files for the g729 codec.</flag> - <flag name="gsm">Install the sounds files for the +gsm codec.</flag> + <flag name="gsm">Install the sounds files for the gsm codec.</flag> <flag name="siren7">Install the sounds files for the siren7 codec.</flag> <flag name="siren14">Install the sounds files for the siren14 codec.</flag> <flag name="sln16">Install the sounds files for the sln16 codec.</flag> |