diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile index 059b0b0c7d6f..7ff5b8aad6c8 100644 --- a/audio/taglib/Makefile +++ b/audio/taglib/Makefile @@ -1,35 +1,34 @@ PORTNAME= taglib -DISTVERSION= 2.1.1 +DISTVERSION= 2.2 CATEGORIES= audio MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \ https://taglib.org/releases/ MAINTAINER= jhale@FreeBSD.org COMMENT= Library for manipulating ID3 tags and Ogg comments WWW= https://taglib.org/ LICENSE= LGPL21 MPL11 LICENSE_COMB= dual LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL LICENSE_FILE_MPL11= ${WRKSRC}/COPYING.MPL BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp TEST_DEPENDS= cppunit-config:devel/cppunit USES= cmake:testing compiler:c++17-lang cpe USE_LDCONFIG= yes -CMAKE_ARGS= -DCMAKE_CXX_VISIBILITY_PRESET=hidden CMAKE_ON= VISIBILITY_HIDDEN CMAKE_OFF= BUILD_TESTING CMAKE_TESTING_TARGET= check -PLIST_SUB= SHLIB_VERSION=${DISTVERSION} +PLIST_SUB= SHLIB_VERSION=${DISTVERSION}.0 OPTIONS_DEFINE= STATIC OPTIONS_SUB= yes STATIC_CMAKE_BOOL_OFF= BUILD_SHARED_LIBS .include diff --git a/audio/taglib/distinfo b/audio/taglib/distinfo index 74c22f313c79..77329e22076b 100644 --- a/audio/taglib/distinfo +++ b/audio/taglib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1751585437 -SHA256 (taglib-2.1.1.tar.gz) = 3716d31f7c83cbf17b67c8cf44dd82b2a2f17e6780472287a16823e70305ddba -SIZE (taglib-2.1.1.tar.gz) = 1522929 +TIMESTAMP = 1771707747 +SHA256 (taglib-2.2.tar.gz) = c89e7ebd450535e77c9230fac3985fcdce7bee05e06c9cd0bc36d50184e9c9dd +SIZE (taglib-2.2.tar.gz) = 1582619 diff --git a/audio/taglib/files/patch-CMakeLists.txt b/audio/taglib/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6076b7af245a --- /dev/null +++ b/audio/taglib/files/patch-CMakeLists.txt @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2026-02-21 21:26:06 UTC ++++ CMakeLists.txt +@@ -4,6 +4,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cma + + set(CMAKE_CXX_STANDARD 17) + set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") ++cmake_policy(SET CMP0153 OLD) + + include(CTest) + include(FeatureSummary) diff --git a/audio/taglib/pkg-plist b/audio/taglib/pkg-plist index 74e34aabe288..c6e7f9c27271 100644 --- a/audio/taglib/pkg-plist +++ b/audio/taglib/pkg-plist @@ -1,132 +1,143 @@ bin/taglib-config include/taglib/aifffile.h include/taglib/aiffproperties.h include/taglib/apefile.h include/taglib/apefooter.h include/taglib/apeitem.h include/taglib/apeproperties.h include/taglib/apetag.h include/taglib/asfattribute.h include/taglib/asffile.h include/taglib/asfpicture.h include/taglib/asfproperties.h include/taglib/asftag.h include/taglib/attachedpictureframe.h include/taglib/audioproperties.h include/taglib/chapterframe.h include/taglib/commentsframe.h include/taglib/dsdiffdiintag.h include/taglib/dsdifffile.h include/taglib/dsdiffproperties.h include/taglib/dsffile.h include/taglib/dsfproperties.h include/taglib/eventtimingcodesframe.h include/taglib/fileref.h include/taglib/flacfile.h include/taglib/flacmetadatablock.h include/taglib/flacpicture.h include/taglib/flacproperties.h include/taglib/generalencapsulatedobjectframe.h include/taglib/id3v1genres.h include/taglib/id3v1tag.h include/taglib/id3v2.h include/taglib/id3v2extendedheader.h include/taglib/id3v2footer.h include/taglib/id3v2frame.h include/taglib/id3v2framefactory.h include/taglib/id3v2header.h include/taglib/id3v2synchdata.h include/taglib/id3v2tag.h include/taglib/infotag.h include/taglib/itfile.h include/taglib/itproperties.h +include/taglib/matroskaattachedfile.h +include/taglib/matroskaattachments.h +include/taglib/matroskachapter.h +include/taglib/matroskachapteredition.h +include/taglib/matroskachapters.h +include/taglib/matroskaelement.h +include/taglib/matroskafile.h +include/taglib/matroskaproperties.h +include/taglib/matroskasimpletag.h +include/taglib/matroskatag.h include/taglib/modfile.h include/taglib/modfilebase.h include/taglib/modproperties.h include/taglib/modtag.h include/taglib/mp4atom.h include/taglib/mp4coverart.h include/taglib/mp4file.h include/taglib/mp4item.h include/taglib/mp4itemfactory.h include/taglib/mp4properties.h +include/taglib/mp4stem.h include/taglib/mp4tag.h include/taglib/mpcfile.h include/taglib/mpcproperties.h include/taglib/mpegfile.h include/taglib/mpegheader.h include/taglib/mpegproperties.h include/taglib/oggfile.h include/taglib/oggflacfile.h include/taglib/oggpage.h include/taglib/oggpageheader.h include/taglib/opusfile.h include/taglib/opusproperties.h include/taglib/ownershipframe.h include/taglib/podcastframe.h include/taglib/popularimeterframe.h include/taglib/privateframe.h include/taglib/relativevolumeframe.h include/taglib/rifffile.h include/taglib/s3mfile.h include/taglib/s3mproperties.h include/taglib/shortenfile.h include/taglib/shortenproperties.h include/taglib/shortentag.h include/taglib/speexfile.h include/taglib/speexproperties.h include/taglib/synchronizedlyricsframe.h include/taglib/tableofcontentsframe.h include/taglib/tag.h include/taglib/tag_c.h include/taglib/taglib.h include/taglib/taglib_config.h include/taglib/taglib_export.h include/taglib/tbytevector.h include/taglib/tbytevectorlist.h include/taglib/tbytevectorstream.h include/taglib/tdebuglistener.h include/taglib/textidentificationframe.h include/taglib/tfile.h include/taglib/tfilestream.h include/taglib/tiostream.h include/taglib/tlist.h include/taglib/tlist.tcc include/taglib/tmap.h include/taglib/tmap.tcc include/taglib/tpicturetype.h include/taglib/tpropertymap.h include/taglib/trueaudiofile.h include/taglib/trueaudioproperties.h include/taglib/tstring.h include/taglib/tstringlist.h include/taglib/tvariant.h include/taglib/tversionnumber.h include/taglib/uniquefileidentifierframe.h include/taglib/unknownframe.h include/taglib/unsynchronizedlyricsframe.h include/taglib/urllinkframe.h include/taglib/vorbisfile.h include/taglib/vorbisproperties.h include/taglib/wavfile.h include/taglib/wavpackfile.h include/taglib/wavpackproperties.h include/taglib/wavproperties.h include/taglib/xingheader.h include/taglib/xiphcomment.h include/taglib/xmfile.h include/taglib/xmproperties.h lib/cmake/taglib/taglib-config-version.cmake lib/cmake/taglib/taglib-config.cmake lib/cmake/taglib/taglib-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/taglib/taglib-targets.cmake %%STATIC%%lib/libtag.a %%NO_STATIC%%lib/libtag.so %%NO_STATIC%%lib/libtag.so.2 %%NO_STATIC%%lib/libtag.so.%%SHLIB_VERSION%% %%STATIC%%lib/libtag_c.a %%NO_STATIC%%lib/libtag_c.so %%NO_STATIC%%lib/libtag_c.so.2 %%NO_STATIC%%lib/libtag_c.so.%%SHLIB_VERSION%% libdata/pkgconfig/taglib.pc libdata/pkgconfig/taglib_c.pc