libmime-types-perl: upgrade 2.17 -> 2.22
PATCH 1/1 libmime-types-perl: upgrade 2.17 -> 2.22
Fix RDEPENDS, in particular perl-module-perlio-encoding and perl-module-encode-encoding were needed to be able to open the database in /usr/lib/perl5/5.36.0/vendor_perl/MIME/types.db... even though no warnings or errors were reported.
bin/collect-types was dropped in 2.18
Upstream release notes:
version 2.22: Wed 27 Oct 16:54:38 CEST 2021
Changes:
- webm keeps on producting unexpected results [issue #11, Даша Федорова]
- iana updates
version 2.21: Fri 28 May 12:01:00 CEST 2021
Changes:
- application/octet-stream is better for .dat [issue #11, Даша Федорова]
- add video/webm which Google forgot to register [issue #12, Brent Laabs]
- add image/webp which Google registered too late [issue #12, Brent Laabs]
version 2.20: Thu 22 Apr 12:48:35 CEST 2021
Fixes:
- problems with PAUSE cause the previous release to show-up in the wrong location. Let's hope this release solves it.
Changes:
- heif/heic/heifs/heics/hif fix [issue #9, Даша Федорова]
- no 'and' and 'or' extensions [issue #9, Даша Федорова]
- application/octet-stream is better for .bin [issue #10, Даша Федорова]
version 2.19: Fri 16 Apr 11:47:10 CEST 2021
Improvements:
- update with the newest data from IANA and Apache httpd
Changes:
- mp4 preference is video/mp4 [issue #5, Даша Федорова]
- yt preference is video/vnd.youtube.yt [issue #6, Даша Федорова]
- 3gp and 3gpp preference is video/3gpp [issue #7, Даша Федорова]
version 2.18: Wed 9 Dec 10:29:46 CET 2020
Improvements:
- update with newest data
Changes:
- Mojo 6.0 changed types() into mapping() [Dmitry Latin]
- Mojo 7.94 adds experimental file_type()
- Mojo 7.94 adds experimental content_type()
---
...erl_2.17.bb => libmime-types-perl_2.22.bb} | 22 +++++++++++--------
1 file changed, 13 insertions(+), 9 deletions(-)
rename meta-perl/recipes-perl/libmime/{libmime-types-perl_2.17.bb => libmime-types-perl_2.22.bb} (74%)meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb renamed from meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb +13 -9
@@ -14,8 +14,7 @@ LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875 SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ file://run-ptest \ " -SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3" -SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6" +SRC_URI[sha256sum] = "c2545eb30b094e942860ff8444f0f6cb54641caa8f7d386aaa2d925da4b02400" S = "${WORKDIR}/MIME-Types-${PV}"
@@ -23,19 +22,24 @@ inherit cpan ptest RDEPENDS:${PN} = "\ perl-module-base \ + perl-module-carp \ + perl-module-constant \ + perl-module-cwd \ + perl-module-encode-encoding \ perl-module-file-basename \ perl-module-file-spec \ + perl-module-list-util \ perl-module-overload \ + perl-module-perlio \ + perl-module-perlio-encoding \ " -RDEPENDS:${PN}-ptest = "perl-module-lib perl-module-test-more" -#RSUGGESTS:${PN}-ptest = "libmojo-base-perl" +RDEPENDS:${PN}-ptest = "\ + perl-module-lib \ + perl-module-test-more \ +" -do_install () { - cpan_do_install - install -d ${D}${bindir} - install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types -} +#RSUGGESTS:${PN}-ptest = "libmojo-base-perl" do_install_ptest () { cp -r ${B}/t ${D}${PTEST_PATH}
Signature · 1 line
2.34.1