summaryrefslogtreecommitdiff
path: root/dev-perl/Audio-Mixer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-23 00:06:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-23 00:06:40 +0100
commitb3b92de25c3fc5f6bddc5e513027140591a0b2a5 (patch)
treef2ce6d7e747abea3e8fa7d99e32ad5d98cf33988 /dev-perl/Audio-Mixer
parent236e75597883501f8700d9ba1a5c8276f578a17f (diff)
gentoo auto-resync : 23:05:2024 - 00:06:39
Diffstat (limited to 'dev-perl/Audio-Mixer')
-rw-r--r--dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild52
-rw-r--r--dev-perl/Audio-Mixer/Manifest1
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
new file mode 100644
index 000000000000..d13e204020fb
--- /dev/null
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=SERGEY
+DIST_VERSION=0.7
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for Sound Mixer control"
+
+# License note: Ambiguous
+# https://rt.cpan.org/Ticket/Display.html?id=132448
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${P}-volumepl.patch"
+ "${FILESDIR}/${P}-clang.patch"
+ "${FILESDIR}/${P}-testsuite.patch"
+)
+
+src_test() {
+ local MODULES=(
+ "Audio::Mixer ${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_MIXER_HW_TEST:-0}" == 0 ]]; then
+ ewarn "Comprehensive testing of this module needs hardware access to mixing"
+ ewarn "devices. Set AUDIO_MIXER_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/${CATEGORY}/${PN}"
+ else
+ perl-module_src_test
+ fi
+}
diff --git a/dev-perl/Audio-Mixer/Manifest b/dev-perl/Audio-Mixer/Manifest
index 2ab9451d3f64..30bd1891ce6f 100644
--- a/dev-perl/Audio-Mixer/Manifest
+++ b/dev-perl/Audio-Mixer/Manifest
@@ -3,4 +3,5 @@ AUX Audio-Mixer-0.700.0-testsuite.patch 3550 BLAKE2B bc92e394e8296c11d909544391e
AUX Audio-Mixer-0.700.0-volumepl.patch 840 BLAKE2B 691267d2723039b1c714ccbe60a30ff5c80dd569cd943d0a075b0c01ee1c0a2508a8ddd516a1597ac1048602af6ce9e7b2ed030ba27da7c743a17f1af2156a58 SHA512 74ca5e1d053dce6f3c5220c6f1c67dc5180a7ab70cbd5f09c0cce1a5338281dac7f97db24814579e2831c92203262d7c85e2a5a66b0847a795d9768445b5634c
DIST Audio-Mixer-0.7.tar.gz 6709 BLAKE2B fd7f07bf007a49b84a138a631205527c7a6e2ff841e3d6b49ee07478ba348352ec9238bdc5f1b35bee4ef0d720f7a766c3f7ffc0c8e640bb088e6bab92203fd8 SHA512 a2adacf34c4bfbe4e436cf399a8585689f680f90a362931fd09e0f62f08e2ab59615361daae3a65c4fbf00946196e1dbc0207a7973c3c5a875f73f673f167568
EBUILD Audio-Mixer-0.700.0-r4.ebuild 1384 BLAKE2B 394d8a9190c4091e65257d65b4ba0c0a5a960deb0d54568a5daac330f755312374ac6f849b6dfdce83d72af92280b4077e36bba1aa39ba6c55f1f89fcb5f81d4 SHA512 38735f8515fb2f9b07c5ad5a8456159bd974c3a170374f90b258701e79ca76083dc85599077b0b4f5cae0474d5e5ba2359b31490be46c14ca65ce1f5196c8a66
+EBUILD Audio-Mixer-0.700.0-r5.ebuild 1307 BLAKE2B fcb440d9a45185a19804b22d30cf357626f533af5736a0d86042d8d3a29b61350f2d1707fb9a552ab47e2c9a8d05b22a07b6d788c5367934a52e756eab7c436d SHA512 98207d14515d37fd1efda9dc5532dc71ec0be06dcf9b4337a603c4e0c8ef50401e088bd3e4b24a08908d9f0ed467d5f1c29fe6c12a2f099b38d90547b04f94ff
MISC metadata.xml 395 BLAKE2B 7d2881b3974b83426d76b63c3efe4b8983123acd004383ca4792fbaa2252f14db0e06d28049464f99803005b9abc0fc473cc5c96a6d715722b3dc7d07e751d00 SHA512 dcea15c67c4fd98e6c3dd82de29cbe43883cf89e99eb6f1ab1ecd754f2787fbabb1d768d5fdcba0b7d640174fe88b390977bbf178eb1cb5a897511c905b9603b