diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-07-04 14:05:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-07-04 14:05:23 +0100 |
commit | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch) | |
tree | 43b0410e62aba677b4b256bc3ffe3fd333d28dbe /dev-perl/Audio-DSP | |
parent | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff) |
gentoo resync : 04.07.2020
Diffstat (limited to 'dev-perl/Audio-DSP')
-rw-r--r-- | dev-perl/Audio-DSP/Audio-DSP-0.20.0-r3.ebuild | 48 | ||||
-rw-r--r-- | dev-perl/Audio-DSP/Manifest | 1 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-perl/Audio-DSP/Audio-DSP-0.20.0-r3.ebuild b/dev-perl/Audio-DSP/Audio-DSP-0.20.0-r3.ebuild new file mode 100644 index 000000000000..1996d7d88343 --- /dev/null +++ b/dev-perl/Audio-DSP/Audio-DSP-0.20.0-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=SETHJ +DIST_VERSION=0.02 +inherit perl-module + +DESCRIPTION="Perl interface to *NIX digital audio device" + +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" + +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} +src_test() { + local MODULES=( + "Audio::DSP ${DIST_VERSION}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + if [[ "${AUDIO_DSP_HW_TEST:-0}" == 0 ]]; then + ewarn "Comprehensive testing of this module needs hardware access to dsp" + ewarn "devices. Set AUDIO_DSP_HW_TEST=1 in your environment if you want full" + ewarn "coverage" + ewarn "For details, see:" + ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Audio-DSP" + else + perl-module_src_test + fi +} diff --git a/dev-perl/Audio-DSP/Manifest b/dev-perl/Audio-DSP/Manifest index 4252190271a8..378967486df8 100644 --- a/dev-perl/Audio-DSP/Manifest +++ b/dev-perl/Audio-DSP/Manifest @@ -1,3 +1,4 @@ DIST Audio-DSP-0.02.tar.gz 28446 BLAKE2B 6c330c551afc411c26347feaa667c9d7ae8a2b029a52d79e3e2f259e46a35fc02d869b901abdb3b71b8ac814c6cefd8601d51e388e7f0451aca0764c5fcb676d SHA512 19b4526962ac2f229f9fca4490e2542e4c259e35aea626f684a225a673666b632f6c69cf33d0940f97bfa7b3c8a2ba86674dc1efe8efb432be9bc0a371d61fa2 EBUILD Audio-DSP-0.20.0-r2.ebuild 1069 BLAKE2B 2012558e7aa44019a7ac6f59911813717a54b402100eb39ac2c831110a567522092a995316faad7a2ef6c427dca2e8a8f96e0a794a309fe7cb62af4595171047 SHA512 50591d8c97ba29e568896b6fd51c38946f53d05c3b455db47a04cddb45a6c163cbae1fc4073a5ace344d7324b5f9e064b6646dce996cf05b09674e5ad7d23fb1 +EBUILD Audio-DSP-0.20.0-r3.ebuild 1139 BLAKE2B a7e020fddb9d252caef5916d7f3c68cb546cbe1e1859d167b069d9b796ebec03c98b93f7f3598e2f5a22e951048e1130e6304f5d19f431fb936c11c440b794f0 SHA512 737e02a4739b808bc16908820ec70171eb2cc596df4faa101f0245ba09b264ea46515be8747c4a849b4ac00b35a15e3a490d84a05190af692b5a8916eb09ae38 MISC metadata.xml 390 BLAKE2B 9c3b343851dacd52c417bc4adf157f524a3b8f504781396dd987f3958c8d0d17403aeed4c47f0983ed3cc92ec938693116f2ca864c7867b9a7ebfbbfbfce6efe SHA512 032307a9f84a0bb4bb227f943095a3aad819900fe79244bfd4bebe7454dc72859ddabf0426fae148f9ac3d0138d158522e0de94c072a71ce7820798d24d96aab |