diff options
Diffstat (limited to 'dev-perl/Ogg-Vorbis-Header-PurePerl')
6 files changed, 124 insertions, 0 deletions
diff --git a/dev-perl/Ogg-Vorbis-Header-PurePerl/Manifest b/dev-perl/Ogg-Vorbis-Header-PurePerl/Manifest new file mode 100644 index 000000000000..8abed94b45ea --- /dev/null +++ b/dev-perl/Ogg-Vorbis-Header-PurePerl/Manifest @@ -0,0 +1,6 @@ +AUX Ogg-Vorbis-Header-PurePerl-1.0-example-ogginfo.patch 798 BLAKE2B 93d5fb7fcc5b8a8ba20f55585c5f009c6960a4d80d6bc49c259cfeafa1321e76c47a98bab85a0f9e742ab2bc8053b444894ae5eede58f2c33ba3d79d00975299 SHA512 c91c373794cba4e959007ccffd24ba91da8e8ce7b2902bae17b6919496f54af95f0940fec8befb72c102d77de9693c515652ba888e43e311a117799afa4099fe +AUX Ogg-Vorbis-Header-PurePerl-1.0-test-array-ref.patch 1186 BLAKE2B 3f3529aeab5b1175eaf104f664e3bb1bbeecd043dc7a0e25c9a6b3ab5e127400ad716bd1c8e732b381e0489fd9d151329408aa79d1d2a1827347fd470c46a751 SHA512 81d13330f3f94b127d0db21b5d5145de3263b0fc6f0f7732a292e5da71b4b9908a655997bb19bc1c20940500b89ce375ae915db31c3fc9d476621d3327d7a474 +DIST Ogg-Vorbis-Header-PurePerl-1.0.tar.gz 16370 BLAKE2B 2b3f09e5875104fe1509b748eb4777a6f41545162f52e1a95c4da149e08efc4d8c518db4030c30edd14aa1c25068552f22c511a4db6f58f5e9fe0175c44cce93 SHA512 897cf8033f38219b1292cbf68e4a84a709d69aa76fd513c72a471c042c7b14aff0ab7c23ca780492e3735450d00b37eec28f62a3f65ffe916710b8d1f224e612 +EBUILD Ogg-Vorbis-Header-PurePerl-1.0.0-r1.ebuild 379 BLAKE2B 795df33dd802b0c053fa234320a2e9b77dc65b760caa4cb6c61e5f76eebc863fbe8299796518defb56db713be6f34dc8880bd925cc4badbefd2f835fac451a97 SHA512 0ff3428245b83ba0b8707f74f718312b3f14991fa8865c7dc6b1c19a3120310a46e43ad8a250f6182c572ba14fdce2c27cf0afca37e620b5583b4e106983a828 +EBUILD Ogg-Vorbis-Header-PurePerl-1.0.0-r2.ebuild 497 BLAKE2B f5c72ada6842b1443867ba68e0cdd28c3ec74d64d9419f7da62df90a16e49aaf52f81599e4d9cd7d2afc01dc9404087d19fa2966ad8951bce97fb13fc96c5eab SHA512 d271eb0c35c03f8374d8fca8602d31508a4bae6f2518d453ee56ffc23472815168d76e6f11fec7b941d3330b74f52d42c8f4f054e25c6e50ff1243871f8e59d2 +MISC metadata.xml 426 BLAKE2B 9b49f90aa0fe959864ebf29365e7296281f9ae33bc7444780d59ec16bd2db7be80dcfc4721df1e791323522d38d016dbdbf69779eb9b6279388ecf643821ae71 SHA512 c30b9598bcb384713325273aca00cb513224ec8b674a99419b44629d40b4e99b32830225ca86b3aed3584641bcda38229a79c29d61b62388f7e2fca4c7c5814a diff --git a/dev-perl/Ogg-Vorbis-Header-PurePerl/Ogg-Vorbis-Header-PurePerl-1.0.0-r1.ebuild b/dev-perl/Ogg-Vorbis-Header-PurePerl/Ogg-Vorbis-Header-PurePerl-1.0.0-r1.ebuild new file mode 100644 index 000000000000..5f2ff79b67c6 --- /dev/null +++ b/dev-perl/Ogg-Vorbis-Header-PurePerl/Ogg-Vorbis-Header-PurePerl-1.0.0-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=DANIEL +MODULE_VERSION=1.0 +inherit perl-module + +DESCRIPTION="Object-oriented interface to Ogg Vorbis information and comment fields" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +SRC_TEST="do" diff --git a/dev-perl/Ogg-Vorbis-Header-PurePerl/Ogg-Vorbis-Header-PurePerl-1.0.0-r2.ebuild b/dev-perl/Ogg-Vorbis-Header-PurePerl/Ogg-Vorbis-Header-PurePerl-1.0.0-r2.ebuild new file mode 100644 index 000000000000..c084d11b44a5 --- /dev/null +++ b/dev-perl/Ogg-Vorbis-Header-PurePerl/Ogg-Vorbis-Header-PurePerl-1.0.0-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=DANIEL +DIST_VERSION=1.0 +DIST_EXAMPLES=( "examples/*" ) +inherit perl-module + +DESCRIPTION="Object-oriented interface to Ogg Vorbis information and comment fields" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +PATCHES=( + "${FILESDIR}/${PN}-1.0-test-array-ref.patch" + "${FILESDIR}/${PN}-1.0-example-ogginfo.patch" +) diff --git a/dev-perl/Ogg-Vorbis-Header-PurePerl/files/Ogg-Vorbis-Header-PurePerl-1.0-example-ogginfo.patch b/dev-perl/Ogg-Vorbis-Header-PurePerl/files/Ogg-Vorbis-Header-PurePerl-1.0-example-ogginfo.patch new file mode 100644 index 000000000000..c7517a5fa1db --- /dev/null +++ b/dev-perl/Ogg-Vorbis-Header-PurePerl/files/Ogg-Vorbis-Header-PurePerl-1.0-example-ogginfo.patch @@ -0,0 +1,30 @@ +From 51fb5b08f1a5a12d1de0c87921c0eb9f1fad6aa5 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Wed, 20 Dec 2017 19:46:31 +1300 +Subject: Move ogginfo.pl to examples, not standard install + +--- + MANIFEST | 2 +- + ogginfo.pl => examples/ogginfo.pl | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + rename ogginfo.pl => examples/ogginfo.pl (100%) + +diff --git a/MANIFEST b/MANIFEST +index f2d38fe..b87398a 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -5,6 +5,6 @@ PurePerl.pm + README + test.pl + test.ogg +-ogginfo.pl ++examples/ogginfo.pl + LICENSE.GPL + META.yml Module meta-data (added by MakeMaker) +diff --git a/ogginfo.pl b/examples/ogginfo.pl +similarity index 100% +rename from ogginfo.pl +rename to examples/ogginfo.pl +-- +2.15.1 + diff --git a/dev-perl/Ogg-Vorbis-Header-PurePerl/files/Ogg-Vorbis-Header-PurePerl-1.0-test-array-ref.patch b/dev-perl/Ogg-Vorbis-Header-PurePerl/files/Ogg-Vorbis-Header-PurePerl-1.0-test-array-ref.patch new file mode 100644 index 000000000000..637def07f70f --- /dev/null +++ b/dev-perl/Ogg-Vorbis-Header-PurePerl/files/Ogg-Vorbis-Header-PurePerl-1.0-test-array-ref.patch @@ -0,0 +1,38 @@ +From e7c90043efe460ce33d980482b383ef095576247 Mon Sep 17 00:00:00 2001 +From: James E Keenan <jkeenan@cpan.org> +Date: Mon, 6 Apr 2015 21:44:12 -0400 +Subject: Eliminate deprecated use of array as reference + +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=96578 +Bug: https://bugs.gentoo.org/623060 +--- + test.pl | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/test.pl b/test.pl +index 365bef9..867e05e 100755 +--- a/test.pl ++++ b/test.pl +@@ -19,16 +19,16 @@ ok(my $ogg = Ogg::Vorbis::Header::PurePerl->new('test.ogg')); + # Try all the routines + ok($ogg->info->{'rate'} == 44100); + ok($ogg->comment_tags); +-ok(@{$ogg->comment('artist')}->[0] == 'maloi'); ++ok($ogg->comment('artist')->[0] == 'maloi'); + + $ogg = 0; + + # See if full load works + ok(my $ogg = Ogg::Vorbis::Header::PurePerl->new('test.ogg')); +-ok(@{$ogg->comment('artist')}->[0] == 'maloi'); ++ok($ogg->comment('artist')->[0] == 'maloi'); + + # and see if we can get comments including the '=' character +-ok(@{$ogg->comment('album')}->[0] == 'this=that'); ++ok($ogg->comment('album')->[0] == 'this=that'); + + # Make sure we're getting the right track length + ok($ogg->info->{'length'} == 0); +-- +2.15.1 + diff --git a/dev-perl/Ogg-Vorbis-Header-PurePerl/metadata.xml b/dev-perl/Ogg-Vorbis-Header-PurePerl/metadata.xml new file mode 100644 index 000000000000..480ec431279d --- /dev/null +++ b/dev-perl/Ogg-Vorbis-Header-PurePerl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Ogg-Vorbis-Header-PurePerl</remote-id> + <remote-id type="cpan-module">Ogg::Vorbis::Header::PurePerl</remote-id> + </upstream> +</pkgmetadata> |