summaryrefslogtreecommitdiff
path: root/dev-perl/Audio-Mixer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
commit05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch)
tree43b0410e62aba677b4b256bc3ffe3fd333d28dbe /dev-perl/Audio-Mixer
parent90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff)
gentoo resync : 04.07.2020
Diffstat (limited to 'dev-perl/Audio-Mixer')
-rw-r--r--dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild59
-rw-r--r--dev-perl/Audio-Mixer/Manifest1
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild
new file mode 100644
index 000000000000..6ea27eecd666
--- /dev/null
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=SERGEY
+DIST_VERSION=0.7
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for Sound Mixer control"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+# License note: Ambiguous
+# https://rt.cpan.org/Ticket/Display.html?id=132448
+LICENSE="GPL-1"
+
+PATCHES=(
+ "${FILESDIR}/${P}-volumepl.patch"
+ "${FILESDIR}/${P}-clang.patch"
+ "${FILESDIR}/${P}-testsuite.patch"
+)
+
+src_compile() {
+ mymake=(
+ "OPTIMIZE=${CFLAGS}"
+ )
+ perl-module_src_compile
+}
+
+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 8e11078564fd..9eb12755e972 100644
--- a/dev-perl/Audio-Mixer/Manifest
+++ b/dev-perl/Audio-Mixer/Manifest
@@ -4,4 +4,5 @@ AUX Audio-Mixer-0.700.0-volumepl.patch 840 BLAKE2B 691267d2723039b1c714ccbe60a30
DIST Audio-Mixer-0.7.tar.gz 6709 BLAKE2B fd7f07bf007a49b84a138a631205527c7a6e2ff841e3d6b49ee07478ba348352ec9238bdc5f1b35bee4ef0d720f7a766c3f7ffc0c8e640bb088e6bab92203fd8 SHA512 a2adacf34c4bfbe4e436cf399a8585689f680f90a362931fd09e0f62f08e2ab59615361daae3a65c4fbf00946196e1dbc0207a7973c3c5a875f73f673f167568
EBUILD Audio-Mixer-0.700.0-r2.ebuild 1224 BLAKE2B d32b68d8a352218b8247eaf60717380bb48d9d86c3fcfb891d4650e085ead13ab3c73bcbd20b208b8a35c61be5d305a39b430b3ccf036fd10b03e059b4c58b5a SHA512 05f2df8e2faff2e7f2651aea6c471f37aa69d1c5eea1a6e76be1d1634a96c7c756eac384f73fd00cebc49526d479e7c058102f2b7eae16dd83a41e993d71ba11
EBUILD Audio-Mixer-0.700.0-r3.ebuild 1307 BLAKE2B 430f765aad066b38424be91a9f01c872d4291d640dab946521345936843bb572c4757b8a85b6421f4cff8b4a19931937e24f1932bf9eea77e0cbbdbb3a743ae8 SHA512 516fe214a2d940b28ca2e537c068b5590cc1a3d50591658efbe6b69b865006bd78b9b968d97b4a265afaad7fa1d7d0c48b69fc7b5a5d71792af092ed3fde77b2
+EBUILD Audio-Mixer-0.700.0-r4.ebuild 1387 BLAKE2B ddfae5953b4007175822b7fc0bdea637b8bb72cc648ad7d027504a363f48aa806a093d6296ce0b0056024b8d119c682a68d89119c0fd330470eab38e8889e44c SHA512 9cd13032656b99551b2e01f7bbe07e3ad60495d3de89bcb5ed5545aac873ed7c87caa72283c54e7d048f849cba26cc6bca1ad19756d189b94f674142023d84b9
MISC metadata.xml 394 BLAKE2B af33f381dd2c50b59d393ff9c806797b863dd82078edde7e690f4b57c2b611324fb9f9991326ca805ab22fbb8adde0c74162e8575e5bbba1b458e5c886e795d5 SHA512 14fe7ac889669e2908f310cb8364c41406c75f733c6c63fd7379af09be87670be642454adb87bd190064dd4aee4459d6d1c4e9aac376b33ae24b4e186c392745