diff options
Diffstat (limited to 'dev-perl/Audio-DSP')
-rw-r--r-- | dev-perl/Audio-DSP/Audio-DSP-0.20.0-r4.ebuild | 42 | ||||
-rw-r--r-- | dev-perl/Audio-DSP/Manifest | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/Audio-DSP/Audio-DSP-0.20.0-r4.ebuild b/dev-perl/Audio-DSP/Audio-DSP-0.20.0-r4.ebuild new file mode 100644 index 000000000000..3ef3d8d47866 --- /dev/null +++ b/dev-perl/Audio-DSP/Audio-DSP-0.20.0-r4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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_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 983014fa8885..579f4d91764a 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-r3.ebuild 1137 BLAKE2B 40a510d1526fc0fffc78320529681847371d2310bd32436caa2c3603f1340388f003f42ded0626feabbae00379bfc3d94c6e16353ab851ff0e465b92121b416e SHA512 75e19238b347ce83ece7d20fd809560d63393b806f4f8677bf7c10a7facc3dcbfb1c8e6201973a4cb7941fc98fd1d5f2ae184fa58618f6c0381ea491fb2b2e4a +EBUILD Audio-DSP-0.20.0-r4.ebuild 1060 BLAKE2B b95e00926600a88772bca392d61ae69b7adacba0503ba64a9818a4997740e96ec2dca20cc57194c5e8f54590868e3842aada86c8357499a32ca292c067540b59 SHA512 b485b145fb779789587b075297108018a4feff3c73cdf9dabdde09d5e6bb7bbc6a4ae09c72a377b99441ad7b79be1626baca8c3c682372e168e9b7187627ab6d MISC metadata.xml 391 BLAKE2B 403a5b3ed26638acb10612a4449b940a7d8bdfff1ab260a6898bee24dc95a1398f3d6b271b469fdd0e006bb028ebd82814d6d45c176f81b1210c419644ec4f25 SHA512 59b5fa15668b1dd4658534b69c047a655fae5113b8d2d25878c908336260d164d28a070d393175d968f1a12a578ab6acbfd7762c42e6d7e7eb838dcda538ec63 |