pkgsrc/audio/taglib/Makefile

33 lines
800 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2009/11/01 16:18:27 wiz Exp $
#
DISTNAME= taglib-1.6.1
CATEGORIES= audio
Update taglib to 1.2. Changes from 1.1 to 1.2 New Features: Add support for FLAC data in Ogg containers ("Ogg FLAC" files) Added support for relative volume adjustment (RVA2) ID3v2 frames Added support for attached picture (APIC) ID3v2 frames Return a bool on File::save() to indicate success or failure Implemented support for reading ID3v2 frame header flags Return false from isValid() for FLAC files that are not parsed properly Move the Vorbis classes into the Ogg namespace (binary and source compatibility preserved) Added a convenience function fo accessing a list of ID3v2 frames of a certain ID using ID3v2::Tag::frameList(const ByteVector &frameID) Add access to the ID3v1, ID3v2 and XiphComments of FLAC files to the public API ByteVector optimizations to speed up copying Add find() and erase() methods to Map Added iterators and index operators to the string class Plays nicely with ID3v2.4 tags generated by libid3tag Plus bug fixes Changes from 1.0 to 1.1 Added ID3v2.2 support (previous support was for ID3v2.3 and ID3v2.4) since iTunes seems to still use this very old version of the ID3v2 standard Fixed an API bug in MPEG::File that made it difficult to override the default frame factory Make it possible to override the default string handler for ID3v1 tags. This makes it possible for applications to provide decoders that work with something other than ISO-8859-1 ID3v1 tags Switch from passing around a bool indicating whether to use synch-safe ints or not and pass the ID3v2 revion number. This is more flexible and general purpose Optimizations in the toolkit that make several ByteVector operations faster (and speeds up tag parsing and rendering by about 20%) Fixed rendering of UTF-16 in ID3v2 tags Added FLAC support to the C API
2004-08-21 13:30:28 +02:00
MASTER_SITES= http://ktown.kde.org/~wheeler/files/src/
MAINTAINER= chris@NetBSD.org
Update to 1.5. pkgsrc change: Fix installed .pc file to include rpath. Changes from 1.4 to 1.5 * Support for Mac OS X and Microsoft Windows * Distributed under the MPL (in addition to the previous LGPL license) * Added support for Speex files * Added support for TrueAudio files * Added support for WavPack files * Added support for ID3v2 general encapsulated object frames * Added support for ID3v2 unsynchronized lyrics frames * Added support for ID3v2 URL frames * Propper exports of all public classes / functions * Updated the APE::Item API to work with value lists * Added support to the FileRef class for new Xiph (Ogg) extensions * Made the samples per frame for MPEG headers accessible * Made MP3 Xing headers accessible * Prevent invalid encodings from being written to ID3v1 tags * Non-Latin1 ID3v2 text frames are automatically converted to UTF-8 on write (if they are not explicitly set to UTF-16) * Added support for reading ID3v2.2/3 unsynchronized tags * Made it possible to search for ID3v2 comment frames by description * Fixed a number of bugs in ID3v2 relative volume adjustment reading and writing * Added work arounds for iTunes writing invalid ID3v2 frame lengths * Added work arounds for iTunes not being able to correctly parse numerical ID3v2 genres * Added work arounds for iTunes putting non-text information in ID3v2 comment frames * Added a function to export strings to std::wstring * Added a function to check ASCII compatibility of strings * Added a function to check Latin1 compatibility of strings
2008-03-04 11:31:01 +01:00
HOMEPAGE= http://developer.kde.org/~wheeler/taglib.html
Update to 1.6: 1.6: * New CMake option to build a static version - ENABLE_STATIC. * Added support for disabling dllimport/dllexport on Windows using the TAGLIB_STATIC macro. * Support for parsing the obsolete 'gnre' MP4 atom. * New cpp macros TAGLIB_WITH_MP4 and TAGLIB_WITH_ASF to determin if TagLib was built with MP4/ASF support. 1.6 RC1: * Split Ogg packets larger than 64k into multiple pages. (BUG:171957) * TagLib can now use FLAC padding block. (BUG:107659) * ID3v2.2 frames are now not incorrectly saved. (BUG:176373) * Support for ID3v2.2 PIC frames. (BUG:167786) * Fixed a bug in ByteVectorList::split(). * XiphComment::year() now falls back to YEAR if DATE doesn't exist and XiphComment::year() falls back to TRACKNUM if TRACKNUMBER doesn't exist. (BUG:144396) * Improved ID3v2.3 genre parsing. (BUG:188578) * Better checking of corrupted ID3v2 APIC data. (BUG:168382) * Bitrate calculating using the Xing header now uses floating point numbers. (BUG:172556) * New TagLib::String method rfind(). * Added support for MP4 file format with iTunes-style metadata [optional]. * Added support for ASF (WMA) file format [optional]. * Fixed crash when saving a Locator APEv2 tag. (BUG:169810) * Fixed a possible crash in the non-const version of String::operator[] and in String::operator+=. (BUG:169389) * Added support for PRIV ID3v2 frames. * Empty ID3v2 genres are no longer treated as numeric ID3v1 genres. * Added support for the POPM (rating/playcount) ID3v2 frame. * Generic RIFF file format support: * Support for AIFF files with ID3v2 tags. * Support for WAV files with ID3v2 tags. * Fixed crash on handling unsupported ID3v2 frames, e.g. on encrypted frames. (BUG:161721) * Fixed overflow while calculating bitrate of FLAC files with a very high bitrate.
2009-09-19 15:38:31 +02:00
COMMENT= Library for accessing id tags in various media files
LICENSE= gnu-lgpl-v2.1 OR mpl-1.1
2006-11-07 10:24:32 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-asf
CONFIGURE_ARGS+= --enable-mp4
USE_LIBTOOL= YES
Update to 1.5. pkgsrc change: Fix installed .pc file to include rpath. Changes from 1.4 to 1.5 * Support for Mac OS X and Microsoft Windows * Distributed under the MPL (in addition to the previous LGPL license) * Added support for Speex files * Added support for TrueAudio files * Added support for WavPack files * Added support for ID3v2 general encapsulated object frames * Added support for ID3v2 unsynchronized lyrics frames * Added support for ID3v2 URL frames * Propper exports of all public classes / functions * Updated the APE::Item API to work with value lists * Added support to the FileRef class for new Xiph (Ogg) extensions * Made the samples per frame for MPEG headers accessible * Made MP3 Xing headers accessible * Prevent invalid encodings from being written to ID3v1 tags * Non-Latin1 ID3v2 text frames are automatically converted to UTF-8 on write (if they are not explicitly set to UTF-16) * Added support for reading ID3v2.2/3 unsynchronized tags * Made it possible to search for ID3v2 comment frames by description * Fixed a number of bugs in ID3v2 relative volume adjustment reading and writing * Added work arounds for iTunes writing invalid ID3v2 frame lengths * Added work arounds for iTunes not being able to correctly parse numerical ID3v2 genres * Added work arounds for iTunes putting non-text information in ID3v2 comment frames * Added a function to export strings to std::wstring * Added a function to check ASCII compatibility of strings * Added a function to check Latin1 compatibility of strings
2008-03-04 11:31:01 +01:00
PKGCONFIG_OVERRIDE= bindings/c/taglib_c.pc.in taglib.pc.in
pre-build:
cp ${FILESDIR}/id3lib_strings.h ${WRKSRC}/taglib/toolkit/.
post-install:
2006-11-07 10:24:32 +01:00
${INSTALL_DATA} ${FILESDIR}/id3lib_strings.h ${DESTDIR}${PREFIX}/include/taglib/.
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"