multimedia/musikcube: update 3.0.2 → 3.0.4

This commit is contained in:
Yuri Victorovich 2024-07-14 15:29:11 -07:00
parent dba80a4c6c
commit e65776ce37
3 changed files with 4 additions and 22 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= musikcube PORTNAME= musikcube
DISTVERSION= 3.0.2 DISTVERSION= 3.0.4
PORTREVISION= 3
CATEGORIES= multimedia audio CATEGORIES= multimedia audio
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1694884592 TIMESTAMP = 1720992316
SHA256 (clangen-musikcube-3.0.2_GH0.tar.gz) = 65f82db36d635bdbfd99f67d1d68c9e1aedf8e38efa627f303cf7971c306d063 SHA256 (clangen-musikcube-3.0.4_GH0.tar.gz) = 25bb95b8705d8c79bde447e7c7019372eea7eaed9d0268510278e7fcdb1378a5
SIZE (clangen-musikcube-3.0.2_GH0.tar.gz) = 4800648 SIZE (clangen-musikcube-3.0.4_GH0.tar.gz) = 4827124

View file

@ -1,17 +0,0 @@
Fix build with Taglib 2.x.
Deprecated member function MP4::Tag::itemListMap() was removed.
https://github.com/clangen/musikcube/issues/670
--- src/plugins/taglib_plugin/TaglibMetadataReader.cpp.orig 2023-09-11 02:03:12 UTC
+++ src/plugins/taglib_plugin/TaglibMetadataReader.cpp
@@ -320,7 +320,7 @@ bool TaglibMetadataReader::ReadGeneric(
if (!handled) {
const auto mp4File = dynamic_cast<TagLib::MP4::File*>(file.file());
if (mp4File && mp4File->hasMP4Tag()) {
- auto mp4TagMap = static_cast<TagLib::MP4::Tag*>(tag)->itemListMap();
+ auto mp4TagMap = static_cast<TagLib::MP4::Tag*>(tag)->itemMap();
this->ExtractValueForKey(mp4TagMap, "aART", "album_artist", target);
this->ExtractValueForKey(mp4TagMap, "disk", "disc", target);
this->ExtractReplayGain(mp4TagMap, target);