diff --git a/dev-perl/Audio-Musepack/Audio-Musepack-1.0.1-r1.ebuild b/dev-perl/Audio-Musepack/Audio-Musepack-1.0.1-r1.ebuild new file mode 100644 index 0000000000000..d48943c001d59 --- /dev/null +++ b/dev-perl/Audio-Musepack/Audio-Musepack-1.0.1-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +DIST_AUTHOR=DANIEL +inherit perl-module + +DESCRIPTION="An OO interface to Musepack file information and APE tag fields" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# License note: says perl 5.8.2 or later + +RDEPEND=" + >=dev-perl/Audio-Scan-0.850.0 +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.420.0 +" +PATCHES=( + "${FILESDIR}/${PN}-1.0.1-no-dot-inc.patch" +) +PERL_RM_FILES=( + "t/pod.t" + "t/pod-coverage.t" +) diff --git a/dev-perl/Audio-Musepack/files/Audio-Musepack-1.0.1-no-dot-inc.patch b/dev-perl/Audio-Musepack/files/Audio-Musepack-1.0.1-no-dot-inc.patch new file mode 100644 index 0000000000000..f7491838b140c --- /dev/null +++ b/dev-perl/Audio-Musepack/files/Audio-Musepack-1.0.1-no-dot-inc.patch @@ -0,0 +1,21 @@ +From 25eb918a143c78de972c4218f9fe5b0aefbe7e3e Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Wed, 29 Apr 2020 23:01:40 +1200 +Subject: Include '.' in @INC on 5.28+ + +--- + Makefile.PL | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.PL b/Makefile.PL +index de8142b..5c84f30 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,3 +1,4 @@ ++use lib '.'; + use inc::Module::Install; + + name('Audio-Musepack'); +-- +2.26.2 +