diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-07-19 16:40:37 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-07-19 16:40:37 +0000 |
commit | df447e861a6fc23a73e4dbbc29da5cb318b4b155 (patch) | |
tree | dab294a4435ea6cb6b14d86f432594b74d7e271d /multimedia/libmediainfo | |
parent | 7ccab39671865696aa2e48c6e777fd66fbc56ad9 (diff) | |
download | ports-df447e861a6fc23a73e4dbbc29da5cb318b4b155.tar.gz ports-df447e861a6fc23a73e4dbbc29da5cb318b4b155.zip |
Notes
Diffstat (limited to 'multimedia/libmediainfo')
-rw-r--r-- | multimedia/libmediainfo/Makefile | 56 | ||||
-rw-r--r-- | multimedia/libmediainfo/distinfo | 2 | ||||
-rw-r--r-- | multimedia/libmediainfo/pkg-descr | 6 | ||||
-rw-r--r-- | multimedia/libmediainfo/pkg-plist | 196 |
4 files changed, 260 insertions, 0 deletions
diff --git a/multimedia/libmediainfo/Makefile b/multimedia/libmediainfo/Makefile new file mode 100644 index 000000000000..8d46c3deff88 --- /dev/null +++ b/multimedia/libmediainfo/Makefile @@ -0,0 +1,56 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libmediainfo +PORTVERSION= 0.7.69 +CATEGORIES= multimedia +MASTER_SITES= http://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ +DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= MediaInfo library + +LICENSE= BSD2CLAUSE + +LIB_DEPENDS= libzen.so:${PORTSDIR}/multimedia/libzen + +CONFLICTS_INSTALL= mediainfo-0.[0-6]* mediainfo-0.7.[0-5]* + +OPTIONS_DEFINE= CURL MMS TINYXML2 +OPTIONS_DEFAULT=TINYXML2 +TINYXML2_DESC= Use textproc/tinyxml2 instead of bundled one + +CONFIGURE_ARGS= --enable-shared +CPPFLAGS+= -I${LOCALBASE}/include +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USES= libtool pathfix pkgconfig tar:bzip2 + +WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library + +CURL_CONFIGURE_ON= --with-libcurl=${LOCALBASE} +CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl +MMS_CONFIGURE_ON= --with-libmms=${LOCALBASE} +MMS_LIB_DEPENDS= libmms.so:${PORTSDIR}/net/libmms +TINYXML2_CONFIGURE_ENV= TINYXML2_CFLAGS=-I${LOCALBASE}/include TINYXML2_LIBS="-L${LOCALBASE}lib -ltinyxml2" +TINYXML2_CONFIGURE_ON= --with-libtinyxml2=yes +TINYXML2_LIB_DEPENDS= libtinyxml2.so:${PORTSDIR}/textproc/tinyxml2 + +post-patch: + @${REINPLACE_CMD} \ + -e 's|../../../../ZenLib/Project/GNU/Library/libzen-config|${LOCALBASE}/bin/libzen-config|' \ + -e 's|lib/pkgconfig/|libdata/pkgconfig/|g' \ + -e 's|-DMEDIAINFO_LIBMMS_FROMSOURCE||g' \ + -e 's|with_libmms/pkgconfig/|with_libmms/libdata/pkgconfig/|' \ + -e 's|src/.libs|lib|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/libmediainfo.pc.in + @${REINPLACE_CMD} -e '1 s|bin/bash|bin/sh|' ${WRKSRC}/libmediainfo-config.in + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/libmediainfo-config ${STAGEDIR}${PREFIX}/bin/libmediainfo-config + ${INSTALL_DATA} ${WRKSRC}/libmediainfo.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libmediainfo.pc + cd ${WRKSRC}/../../../Source/ && ${FIND} MediaInfo -type d | ${XARGS} -I % ${MKDIR} ${STAGEDIR}${PREFIX}/include/% + cd ${WRKSRC}/../../../Source/ && ${FIND} MediaInfo -name '*.h' | ${XARGS} -I % ${INSTALL_DATA} % ${STAGEDIR}${PREFIX}/include/% + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmediainfo.so.0.0.0 + +.include <bsd.port.mk> diff --git a/multimedia/libmediainfo/distinfo b/multimedia/libmediainfo/distinfo new file mode 100644 index 000000000000..038972cb27d0 --- /dev/null +++ b/multimedia/libmediainfo/distinfo @@ -0,0 +1,2 @@ +SHA256 (MediaInfo_CLI_0.7.69_GNU_FromSource.tar.bz2) = 145ca8e82334123558e98f973922781c947fcba3aacb1aa6137daaa3cde227d1 +SIZE (MediaInfo_CLI_0.7.69_GNU_FromSource.tar.bz2) = 1744328 diff --git a/multimedia/libmediainfo/pkg-descr b/multimedia/libmediainfo/pkg-descr new file mode 100644 index 000000000000..2dc95a2502e5 --- /dev/null +++ b/multimedia/libmediainfo/pkg-descr @@ -0,0 +1,6 @@ +MediaInfo is a convenient unified display of the most relevant technical and +tag data for video and audio files. + +Read http://mediaarea.net/en/MediaInfo/Support/Formats for supported formats. + +WWW: http://mediainfo.sourceforge.net/ diff --git a/multimedia/libmediainfo/pkg-plist b/multimedia/libmediainfo/pkg-plist new file mode 100644 index 000000000000..8245b51f114b --- /dev/null +++ b/multimedia/libmediainfo/pkg-plist @@ -0,0 +1,196 @@ +bin/libmediainfo-config +include/MediaInfo/Archive/File_7z.h +include/MediaInfo/Archive/File_Ace.h +include/MediaInfo/Archive/File_Bzip2.h +include/MediaInfo/Archive/File_Elf.h +include/MediaInfo/Archive/File_Gzip.h +include/MediaInfo/Archive/File_Iso9660.h +include/MediaInfo/Archive/File_Mz.h +include/MediaInfo/Archive/File_Rar.h +include/MediaInfo/Archive/File_Tar.h +include/MediaInfo/Archive/File_Zip.h +include/MediaInfo/Audio/File_Aac.h +include/MediaInfo/Audio/File_Aac_GeneralAudio.h +include/MediaInfo/Audio/File_Aac_GeneralAudio_Sbr.h +include/MediaInfo/Audio/File_Aac_GeneralAudio_Sbr_Ps.h +include/MediaInfo/Audio/File_Ac3.h +include/MediaInfo/Audio/File_Adpcm.h +include/MediaInfo/Audio/File_Als.h +include/MediaInfo/Audio/File_Amr.h +include/MediaInfo/Audio/File_Amv.h +include/MediaInfo/Audio/File_Ape.h +include/MediaInfo/Audio/File_Au.h +include/MediaInfo/Audio/File_Celt.h +include/MediaInfo/Audio/File_ChannelGrouping.h +include/MediaInfo/Audio/File_DolbyE.h +include/MediaInfo/Audio/File_Dts.h +include/MediaInfo/Audio/File_ExtendedModule.h +include/MediaInfo/Audio/File_Flac.h +include/MediaInfo/Audio/File_ImpulseTracker.h +include/MediaInfo/Audio/File_La.h +include/MediaInfo/Audio/File_Midi.h +include/MediaInfo/Audio/File_Module.h +include/MediaInfo/Audio/File_Mpc.h +include/MediaInfo/Audio/File_MpcSv8.h +include/MediaInfo/Audio/File_Mpega.h +include/MediaInfo/Audio/File_OpenMG.h +include/MediaInfo/Audio/File_Opus.h +include/MediaInfo/Audio/File_Pcm.h +include/MediaInfo/Audio/File_Pcm_M2ts.h +include/MediaInfo/Audio/File_Pcm_Vob.h +include/MediaInfo/Audio/File_Ps2Audio.h +include/MediaInfo/Audio/File_Rkau.h +include/MediaInfo/Audio/File_ScreamTracker3.h +include/MediaInfo/Audio/File_SmpteSt0302.h +include/MediaInfo/Audio/File_SmpteSt0331.h +include/MediaInfo/Audio/File_SmpteSt0337.h +include/MediaInfo/Audio/File_Speex.h +include/MediaInfo/Audio/File_Tak.h +include/MediaInfo/Audio/File_Tta.h +include/MediaInfo/Audio/File_TwinVQ.h +include/MediaInfo/Audio/File_Vorbis.h +include/MediaInfo/Audio/File_Wvpk.h +include/MediaInfo/Duplicate/File__Duplicate_MpegTs.h +include/MediaInfo/Duplicate/File__Duplicate__Base.h +include/MediaInfo/Duplicate/File__Duplicate__Writer.h +include/MediaInfo/Export/Export_EbuCore.h +include/MediaInfo/Export/Export_Mpeg7.h +include/MediaInfo/Export/Export_PBCore.h +include/MediaInfo/Export/Export_reVTMD.h +include/MediaInfo/File_Dummy.h +include/MediaInfo/File_Other.h +include/MediaInfo/File_Unknown.h +include/MediaInfo/File__Analyse_Automatic.h +include/MediaInfo/File__Analyze.h +include/MediaInfo/File__Analyze_MinimizeSize.h +include/MediaInfo/File__Base.h +include/MediaInfo/File__Duplicate.h +include/MediaInfo/File__MultipleParsing.h +include/MediaInfo/Image/File_ArriRaw.h +include/MediaInfo/Image/File_Bmp.h +include/MediaInfo/Image/File_Dds.h +include/MediaInfo/Image/File_Dpx.h +include/MediaInfo/Image/File_Exr.h +include/MediaInfo/Image/File_Gif.h +include/MediaInfo/Image/File_Ico.h +include/MediaInfo/Image/File_Jpeg.h +include/MediaInfo/Image/File_Pcx.h +include/MediaInfo/Image/File_Png.h +include/MediaInfo/Image/File_Psd.h +include/MediaInfo/Image/File_Rle.h +include/MediaInfo/Image/File_Tga.h +include/MediaInfo/Image/File_Tiff.h +include/MediaInfo/MediaInfo.h +include/MediaInfo/MediaInfoList.h +include/MediaInfo/MediaInfoList_Internal.h +include/MediaInfo/MediaInfo_Config.h +include/MediaInfo/MediaInfo_Config_MediaInfo.h +include/MediaInfo/MediaInfo_Config_PerPackage.h +include/MediaInfo/MediaInfo_Const.h +include/MediaInfo/MediaInfo_Events.h +include/MediaInfo/MediaInfo_Events_Internal.h +include/MediaInfo/MediaInfo_Internal.h +include/MediaInfo/MediaInfo_Internal_Const.h +include/MediaInfo/Multiple/File_Aaf.h +include/MediaInfo/Multiple/File_Ancillary.h +include/MediaInfo/Multiple/File_Bdmv.h +include/MediaInfo/Multiple/File_Cdxa.h +include/MediaInfo/Multiple/File_DashMpd.h +include/MediaInfo/Multiple/File_DcpAm.h +include/MediaInfo/Multiple/File_DcpCpl.h +include/MediaInfo/Multiple/File_DcpPkl.h +include/MediaInfo/Multiple/File_Dpg.h +include/MediaInfo/Multiple/File_DvDif.h +include/MediaInfo/Multiple/File_Dvdv.h +include/MediaInfo/Multiple/File_Dxw.h +include/MediaInfo/Multiple/File_Flv.h +include/MediaInfo/Multiple/File_Gxf.h +include/MediaInfo/Multiple/File_Gxf_TimeCode.h +include/MediaInfo/Multiple/File_HdsF4m.h +include/MediaInfo/Multiple/File_Hls.h +include/MediaInfo/Multiple/File_Ibi.h +include/MediaInfo/Multiple/File_Ibi_Creation.h +include/MediaInfo/Multiple/File_Ism.h +include/MediaInfo/Multiple/File_Ivf.h +include/MediaInfo/Multiple/File_Lxf.h +include/MediaInfo/Multiple/File_Mk.h +include/MediaInfo/Multiple/File_Mpeg4.h +include/MediaInfo/Multiple/File_Mpeg4_Descriptors.h +include/MediaInfo/Multiple/File_Mpeg4_TimeCode.h +include/MediaInfo/Multiple/File_MpegPs.h +include/MediaInfo/Multiple/File_MpegTs.h +include/MediaInfo/Multiple/File_Mpeg_Descriptors.h +include/MediaInfo/Multiple/File_Mpeg_Psi.h +include/MediaInfo/Multiple/File_Mxf.h +include/MediaInfo/Multiple/File_Nut.h +include/MediaInfo/Multiple/File_Ogg.h +include/MediaInfo/Multiple/File_Ogg_SubElement.h +include/MediaInfo/Multiple/File_P2_Clip.h +include/MediaInfo/Multiple/File_Pmp.h +include/MediaInfo/Multiple/File_Ptx.h +include/MediaInfo/Multiple/File_Riff.h +include/MediaInfo/Multiple/File_Rm.h +include/MediaInfo/Multiple/File_SequenceInfo.h +include/MediaInfo/Multiple/File_Skm.h +include/MediaInfo/Multiple/File_Swf.h +include/MediaInfo/Multiple/File_Umf.h +include/MediaInfo/Multiple/File_Wm.h +include/MediaInfo/Multiple/File_Xdcam_Clip.h +include/MediaInfo/Multiple/File__ReferenceFilesHelper.h +include/MediaInfo/PreComp.h +include/MediaInfo/Reader/Reader_Directory.h +include/MediaInfo/Reader/Reader_File.h +include/MediaInfo/Reader/Reader__Base.h +include/MediaInfo/Reader/Reader_libcurl.h +include/MediaInfo/Reader/Reader_libcurl_Include.h +include/MediaInfo/Reader/Reader_libmms.h +include/MediaInfo/Setup.h +include/MediaInfo/Tag/File_ApeTag.h +include/MediaInfo/Tag/File_Id3.h +include/MediaInfo/Tag/File_Id3v2.h +include/MediaInfo/Tag/File_Lyrics3.h +include/MediaInfo/Tag/File_Lyrics3v2.h +include/MediaInfo/Tag/File_VorbisCom.h +include/MediaInfo/Tag/File__Tags.h +include/MediaInfo/Text/File_AribStdB24B37.h +include/MediaInfo/Text/File_Cdp.h +include/MediaInfo/Text/File_Cmml.h +include/MediaInfo/Text/File_DtvccTransport.h +include/MediaInfo/Text/File_DvbSubtitle.h +include/MediaInfo/Text/File_Eia608.h +include/MediaInfo/Text/File_Eia708.h +include/MediaInfo/Text/File_Kate.h +include/MediaInfo/Text/File_N19.h +include/MediaInfo/Text/File_OtherText.h +include/MediaInfo/Text/File_Pgs.h +include/MediaInfo/Text/File_Scc.h +include/MediaInfo/Text/File_Scte20.h +include/MediaInfo/Text/File_SubRip.h +include/MediaInfo/Text/File_Teletext.h +include/MediaInfo/Text/File_TimedText.h +include/MediaInfo/Text/File_Ttml.h +include/MediaInfo/TimeCode.h +include/MediaInfo/Video/File_AfdBarData.h +include/MediaInfo/Video/File_Aic.h +include/MediaInfo/Video/File_Avc.h +include/MediaInfo/Video/File_AvsV.h +include/MediaInfo/Video/File_Canopus.h +include/MediaInfo/Video/File_Dirac.h +include/MediaInfo/Video/File_Flic.h +include/MediaInfo/Video/File_Fraps.h +include/MediaInfo/Video/File_H263.h +include/MediaInfo/Video/File_Hevc.h +include/MediaInfo/Video/File_Lagarith.h +include/MediaInfo/Video/File_Mpeg4v.h +include/MediaInfo/Video/File_Mpegv.h +include/MediaInfo/Video/File_ProRes.h +include/MediaInfo/Video/File_Theora.h +include/MediaInfo/Video/File_Vc1.h +include/MediaInfo/Video/File_Vc3.h +include/MediaInfo/Video/File_Vp8.h +include/MediaInfo/Video/File_Y4m.h +lib/libmediainfo.a +lib/libmediainfo.so +lib/libmediainfo.so.0 +lib/libmediainfo.so.0.0.0 +libdata/pkgconfig/libmediainfo.pc |