summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-12-31 23:19:46 +0000
committerryoon <ryoon@pkgsrc.org>2013-12-31 23:19:46 +0000
commitee576431aa5d6b91a10bd140da48706588f32b59 (patch)
tree49366ee67a291bda5c76e6d143b67857523f5e98 /multimedia
parentda432242f170f14b30034ccbd5ea1b6d5b0ae488 (diff)
downloadpkgsrc-ee576431aa5d6b91a10bd140da48706588f32b59.tar.gz
Update multimedia/mediainfo to 0.7.65, and add libmultimedia 0.7.65
* Split mediaindo into devel/libzen, libmediainfo, and mediainfo. Changelog: Version 0.7.65, 2013-11-20 -------------- + MXF: forcing detection of MPEG Video in case EssenceCompression is not present but MPEG2VideoDescriptor is present + GXF: detection of some captions and time codes event if they are not present at the beginning of the file (testing middle of the file) + DASH MPD: basic support + HDS F4M (Flash Media Manifest): basic support + DCP AssetMap (AM), PackageList (PKL) and CompositionPlaylist (CPL): basic support + IMF AssetMap (AM), PackageList (PKL) and CompositionPlaylist (CPL): basic support + Mac dylib: looking for the dylib in @executable_path and CFBundleCopyExecutableURL dir + AAC: option for instantaneous bitrate in fast detect mode (MediaInfoLib only) + FTP (custom builds only): support of UTF-8 file names + Colour description: colour_description_present added, better separation between bitstream values and container values + MPEG-4: RLE, color space and bit depth + Law rating: support of CEA-608 XDS Content Advisory in MPEG-PS, MPEG-Ts, LXF, GXF + MPEG-4/MOV: Bug found in one file, sample size is 16 with a 32-bit CodecID ("fl32"), correcting the output of MediaInfo x #B775, AVI: AVI can use negative height for raw to signal that it's coded top-down, not bottom-up x #B780, MPEG-TS: crash with some files having PAT/PMT change between begin and end of the file x #B782, PBCore 1.2: some fields were not in the right order x #B784, some humain readable strings were not removed when the corresponding field is removed x #B787, MPEG-4/QuickTime: Erratic appereance of Bitrate Mode x #B798: setlocale() remove from DLL x #B785, DVCPRO HD: streams can be 8 or 10 bit, removing hard coded value from DV parser (MXF header value is used instead when applicable) x MPEG-4: wrong demux of some E-AC-3 streams x AAC: detection of HE-AACv2 was missing if the library is configured with fast detection x MPEG Video: wrong computing of duration of raw stream in case of drop frame time code x Automation, StreamKind type was set to integer, it is text x MPEG-4: was reading lot of useless bytes from disk when the raw stream format is not known x AVI: crash with some malformed text streams x Reference/playlist files were not supported from FTP (custom builds only) x MPEG-4/MOV: ScanOrder was using "stored" value instead of "displayed" value x MXF: Detection of Dolby E was not working in some cases (regression in 0.7.62) x MPEG-4/MOV: freeze with some files having mono 32-bit PCM Version 0.7.64, 2013-07-05 -------------- + New canonical URL of the website: http://MediaArea.net/MediaInfo + Portuguese, Basque and Russian translations updated + E-AC-3: support of streams having substreams (e.g. more than 6 channels) + JPEG: detection of YUVA, RGB, RGBA and YCCK color spaces + MPEG Audio: detection of Id3v1 inside an MPEG Audio frame + Matroska: support of HEVC/H.265 (based on specifications draft from DivX inc) + Canopus: detection of scan mode, scan order, pixel aspect ratio + MD5 generation option (work in progress) + Id3v2: reading of all Id3v2 blocks (no more only the first one) at the beginning of the file + MPEG-4: support of few additional iTunes tags, thanks to Kurtnoise + AVI: detection of Ut Video, thanks to Kurtnoise + MXF: detection of Dolby E even if EssenceCompression is not SMPTE 337 + AIFF: detection of Dolby E + AIFF: detection of not aligned Dolby E + ARIB B24/B37: Caption_conversion_type display (HD, SD, Mobile) + MPEG-TS: displaying CEA-708 service and CEA-608 presence if the corresponding ATSC descriptor is present + MPEG-TS: quicker analysis in the case of quick parsing option + #F412, Matroska: Handling of files having no DocType x #B761, MPEG-TS/ARIB: crash with some streams, thanks to maki x #B765, Matroska: was parsing the complete file if a stream indicated in the header is not present x #B763, MXF: detection of incoherency of channel count between bitstream and wrapper x #B762, Matroska: detecting 23.976 frame rate (instead of 23.962 fps due to imprecise timestamp) x #B759, QuickTime: detection of time codes having tcmi not embedded in tmcd box x #B766, RMVB: a/v delay is incorrect, currently disabling it x #B768, MPEG-4, crash with some MPEG-4 files x #B769, MPEG-4, crash with some MPEG-4 files x #B764, AVC: wrong parsing of some streams having pic_scaling_matrix x AVC, crash with some AVC streams x AAC, infinite loop with some AAC streams x FLV, infinite loop with some FLV files x Matroska: crash with some malformed files x MOV: crash/long parsing with some malformed files x AC-3: crashes and freezes fix x Java 64-bit: Count_Get(StreamKind) was always returning 0 x Python 64-bit: Count_Get(StreamKind) was always returning 0 x DTS: some streams were not detected x DTS: some memory leaks with 14-bit streams x SMPTE ST 302: memory leaks x SMPTE ST 337: memory leaks x Total failure if MEDIAINFO_REFERENCES_NO #define was used x QuickTime: Time code name is in "Title" field x MPEG-4/QuickTime: handling of weird "negative" frame duration is stts Version 0.7.63, 2013-05-13 -------------- + Switched to a BSD-2-Clause license + LXF: AFD (from ancillary stream) support + Detection of some side car files and showing them as a single package (optional) + MOV: more channel positions information + TTML: detection + SAMI: detection + ID3: updated list of genres, thanks to Mats + .so: search a local copy of the library before trying default path + AVI: Support of Adobe PARf (Aspect Ratio) chunk + VC-3: Scan order + #P65, Flac/Ogg DISCTOTAL metadata support, thanks to Kurtnoise + #P67, MOV, add Hap Video to the database, thanks to Kurtnoise + #P67, Matroska, add VP9 to the database, thanks to Kurtnoise + #P68, FLV, add HEVC detection in the FLV parser + #P66, MOV, tref/chap handling, with chapters information, thanks to Kurtnoise + #P72, MOV, HEVC/H265 detection and basic support, thanks to Kurtnoise + #F382/P75, PMP format detection + MPEG-TS, HEVC/H265 support + 16:10 DAR known value x #B742, MPEG-4/MOV, crash with some truncated/invalid files x #B746, MPEG-4/MOV: crash with files having moof atom and no moov atom x #B747, Inconsistent hang with buffer API x #B757, MediaInfoDLL.py MediaInfoList was not working, thanks to Elbenfreund x #B740, XML: dt:dt is replaced by dt (for binary data) x MXF: Dolby E streams starting only at the second or third frame were not well detected x MPEG-4/MOV: reducing analysis time for I-frame only video streams x CEA-708: weird behavior phantom streams are displayed) in case of buggy CEA-708 x AVI: crash with audio delay and AvgBytesPerSec of 0 x Wrong demuxing of the caption stream in the case of AVC streams without frame_mbs_only_flag but having 2 fields in one slarsing was very slow with a sequence of files. x MXF: Pre-charge duration was not read, time code of the first frame was wrong if "Origin" is not 0 x FLV: file was sometimes (e.g. most of the file padded with zeroes) fully parsed x VC-3: Using values from specifications (based on compression ID) instead of SBD/SST/SPL/APLF from bitstream x #738, mediainfo-qt doesn't build
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmediainfo/DESCR0
-rw-r--r--multimedia/libmediainfo/Makefile40
-rw-r--r--multimedia/libmediainfo/PLIST4
-rw-r--r--multimedia/libmediainfo/buildlink3.mk15
-rw-r--r--multimedia/mediainfo/Makefile31
-rw-r--r--multimedia/mediainfo/Makefile.common20
-rw-r--r--multimedia/mediainfo/distinfo9
-rw-r--r--multimedia/mediainfo/patches/patch-MediaInfoLib_Project_GNU_Library_Makefile.am12
8 files changed, 105 insertions, 26 deletions
diff --git a/multimedia/libmediainfo/DESCR b/multimedia/libmediainfo/DESCR
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/multimedia/libmediainfo/DESCR
diff --git a/multimedia/libmediainfo/Makefile b/multimedia/libmediainfo/Makefile
new file mode 100644
index 00000000000..172cb330586
--- /dev/null
+++ b/multimedia/libmediainfo/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2013/12/31 23:19:46 ryoon Exp $
+
+.include "../../multimedia/mediainfo/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/mediainfo_/libmediainfo-/S/_AllInclusive//}
+
+COMMENT= MediaInfoLib, support library for MediaInfo program
+LICENSE= zlib
+
+USE_TOOLS+= autoconf automake bash:run gmake pkg-config
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+
+CONFIG_SHELL= bash
+CONFIGURE_DIRS+= MediaInfoLib/Project/GNU/Library
+
+REPLACE_SH= MediaInfoLib/Project/GNU/Library/libmediainfo-config.in
+
+PKGCONFIG_OVERRIDE+= MediaInfoLib/Project/GNU/Library/libmediainfo.pc.in
+
+# Enable shared library
+.if empty(SHLIB_TYPE:Mnone)
+CONFIGURE_ARGS+= --enable-shared
+.endif
+
+INSTALLATION_DIRS+= bin lib/pkgconfig
+
+pre-configure:
+ cd ${WRKSRC}/${CONFIGURE_DIRS} && autoreconf -i
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${CONFIGURE_DIRS}/libmediainfo-config \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/${CONFIGURE_DIRS}/libmediainfo.pc \
+ ${DESTDIR}${PREFIX}/lib/pkgconfig
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../multimedia/libzen/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libmediainfo/PLIST b/multimedia/libmediainfo/PLIST
new file mode 100644
index 00000000000..0941caaec53
--- /dev/null
+++ b/multimedia/libmediainfo/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2013/12/31 23:19:46 ryoon Exp $
+bin/libmediainfo-config
+lib/libmediainfo.la
+lib/pkgconfig/libmediainfo.pc
diff --git a/multimedia/libmediainfo/buildlink3.mk b/multimedia/libmediainfo/buildlink3.mk
new file mode 100644
index 00000000000..87890da6ec3
--- /dev/null
+++ b/multimedia/libmediainfo/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/12/31 23:19:46 ryoon Exp $
+
+BUILDLINK_TREE+= libmediainfo
+
+.if !defined(LIBMEDIAINFO_BUILDLINK3_MK)
+LIBMEDIAINFO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libmediainfo+= libmediainfo>=0.7.65
+BUILDLINK_PKGSRCDIR.libmediainfo?= ../../multimedia/libmediainfo
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../multimedia/libzen/buildlink3.mk"
+.endif # LIBMEDIAINFO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libmediainfo
diff --git a/multimedia/mediainfo/Makefile b/multimedia/mediainfo/Makefile
index 9101b893e7b..cad514a9856 100644
--- a/multimedia/mediainfo/Makefile
+++ b/multimedia/mediainfo/Makefile
@@ -1,32 +1,19 @@
-# $NetBSD: Makefile,v 1.11 2013/03/24 16:51:34 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2013/12/31 23:19:46 ryoon Exp $
-DISTNAME= MediaInfo_CLI_0.7.62_GNU_FromSource
-PKGNAME= mediainfo-0.7.62
-CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mediainfo/}
-EXTRACT_SUFX= .tar.bz2
+.include "../../multimedia/mediainfo/Makefile.common"
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://mediainfo.sourceforge.net/
-COMMENT= Utility to supply technical info about audio and video
+PKGNAME= ${DISTNAME:S/mediainfo_/mediainfo-/S/_AllInclusive//}
LICENSE= gnu-lgpl-v3
-WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource
-USE_TOOLS+= pkg-config gmake
+USE_TOOLS+= autoconf automake gmake pkg-config
+USE_LIBTOOL= yes
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
-OVERRIDE_DIRDEPTH= 4
-INSTALLATION_DIRS= bin
+CONFIGURE_DIRS+= MediaInfo/Project/GNU/CLI
-NO_CONFIGURE= yes
+pre-configure:
+ cd ${WRKSRC}/${CONFIGURE_DIRS} && autoreconf -i
-do-build:
- ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./CLI_Compile.sh
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/mediainfo \
- ${DESTDIR}${PREFIX}/bin/mediainfo
-
-.include "../../devel/zlib/buildlink3.mk"
+.include "../../multimedia/libmediainfo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/mediainfo/Makefile.common b/multimedia/mediainfo/Makefile.common
new file mode 100644
index 00000000000..b9c9055375f
--- /dev/null
+++ b/multimedia/mediainfo/Makefile.common
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1 2013/12/31 23:19:46 ryoon Exp $
+# used by multimedia/libzen
+# used by multimedia/libmediainfo
+
+MIVER= 0.7.65
+
+DISTNAME= mediainfo_${MIVER}_AllInclusive
+CATEGORIES= multimedia
+MASTER_SITES= http://mediaarea.net/download/source/mediainfo/${MIVER}/
+EXTRACT_SUFX= .7z
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://mediaarea.net/en/MediaInfo
+COMMENT= Utility to supply technical info about audio and video
+
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/mediainfo/distinfo
+FILESDIR= ${.CURDIR}/../../multimedia/mediainfo/files
+PATCHDIR= ${.CURDIR}/../../multimedia/mediainfo/patches
+
+WRKSRC= ${WRKDIR}
diff --git a/multimedia/mediainfo/distinfo b/multimedia/mediainfo/distinfo
index d8132e2c16e..141575442f9 100644
--- a/multimedia/mediainfo/distinfo
+++ b/multimedia/mediainfo/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2013/02/23 02:33:46 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2013/12/31 23:19:46 ryoon Exp $
-SHA1 (MediaInfo_CLI_0.7.62_GNU_FromSource.tar.bz2) = 6b6cdd93dd526e5e70e1d556055a117a8cb8a9ca
-RMD160 (MediaInfo_CLI_0.7.62_GNU_FromSource.tar.bz2) = da83fbb9aef9e5ea2719fe66fa6bdff2e35eeb92
-Size (MediaInfo_CLI_0.7.62_GNU_FromSource.tar.bz2) = 1600592 bytes
+SHA1 (mediainfo_0.7.65_AllInclusive.7z) = 80d8b289e6ef9e11a68b960ccd709032452d9e1c
+RMD160 (mediainfo_0.7.65_AllInclusive.7z) = 35a6ad9ed28e15688597465640a427be4ea70651
+Size (mediainfo_0.7.65_AllInclusive.7z) = 2286326 bytes
+SHA1 (patch-MediaInfoLib_Project_GNU_Library_Makefile.am) = 358717fc6b0ee2f377f1c25db3abd04b3780864c
diff --git a/multimedia/mediainfo/patches/patch-MediaInfoLib_Project_GNU_Library_Makefile.am b/multimedia/mediainfo/patches/patch-MediaInfoLib_Project_GNU_Library_Makefile.am
new file mode 100644
index 00000000000..b9abd7ba136
--- /dev/null
+++ b/multimedia/mediainfo/patches/patch-MediaInfoLib_Project_GNU_Library_Makefile.am
@@ -0,0 +1,12 @@
+$NetBSD: patch-MediaInfoLib_Project_GNU_Library_Makefile.am,v 1.1 2013/12/31 23:19:46 ryoon Exp $
+
+--- MediaInfoLib/Project/GNU/Library/Makefile.am.orig 2013-10-11 14:18:27.000000000 +0000
++++ MediaInfoLib/Project/GNU/Library/Makefile.am
+@@ -202,6 +202,6 @@ lib@MediaInfoLib_LibName@_la_SOURCES +=
+ ../../../Source/ThirdParty/tinyxml2/tinyxml2.cpp
+ endif
+
+-lib@MediaInfoLib_LibName@_la_LDFLAGS = -no-undefined -version-info 0:0:0
++lib@MediaInfoLib_LibName@_la_LDFLAGS = -version-info 0:0:0
+
+ INCLUDES = -I../../../Source -I../../../../ZenLib/Source