[Midnightbsd-cvs] mports [18151] trunk/multimedia: add mp4v2
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 14 23:45:10 EDT 2015
Revision: 18151
http://svnweb.midnightbsd.org/mports/?rev=18151
Author: laffer1
Date: 2015-03-14 23:45:09 -0400 (Sat, 14 Mar 2015)
Log Message:
-----------
add mp4v2
Modified Paths:
--------------
trunk/multimedia/Makefile
Added Paths:
-----------
trunk/multimedia/mp4v2/
trunk/multimedia/mp4v2/Makefile
trunk/multimedia/mp4v2/distinfo
trunk/multimedia/mp4v2/files/
trunk/multimedia/mp4v2/files/patch-GNUmakefile.in
trunk/multimedia/mp4v2/files/patch-include__mp4v2__itmf_tags.h
trunk/multimedia/mp4v2/files/patch-src__bmff__typebmff.cpp
trunk/multimedia/mp4v2/files/patch-src__itmf__type.cpp
trunk/multimedia/mp4v2/pkg-descr
trunk/multimedia/mp4v2/pkg-plist
Modified: trunk/multimedia/Makefile
===================================================================
--- trunk/multimedia/Makefile 2015-03-15 03:43:24 UTC (rev 18150)
+++ trunk/multimedia/Makefile 2015-03-15 03:45:09 UTC (rev 18151)
@@ -49,6 +49,7 @@
SUBDIR += linux-helixplayer
SUBDIR += linux-libtheora
SUBDIR += linux-realplayer
+SUBDIR += mp4v2
SUBDIR += mpeg2codec
SUBDIR += mpeg4ip-libmp4v2
SUBDIR += mplayer
Added: trunk/multimedia/mp4v2/Makefile
===================================================================
--- trunk/multimedia/mp4v2/Makefile (rev 0)
+++ trunk/multimedia/mp4v2/Makefile 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,20 @@
+# $MidnightBSD$
+
+PORTNAME= mp4v2
+PORTVERSION= 1.9.1
+CATEGORIES= multimedia
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Library and tools to read, create, and modify mp4 files
+
+LICENSE= lgpl
+
+CONFLICTS= mpeg4ip-libmp4v2-[0-9.]*
+USES= gmake libtool tar:bzip2
+MAKEFILE= GNUmakefile
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= "FOUND_HELP2MAN=no"
+
+.include <bsd.port.mk>
Property changes on: trunk/multimedia/mp4v2/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/distinfo
===================================================================
--- trunk/multimedia/mp4v2/distinfo (rev 0)
+++ trunk/multimedia/mp4v2/distinfo 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,2 @@
+SHA256 (mp4v2-1.9.1.tar.bz2) = 5c381caeab2326fc48cfda0fe202bdb8ba0ae624d9c97ad7680a2b07e2c2e3b4
+SIZE (mp4v2-1.9.1.tar.bz2) = 432943
Property changes on: trunk/multimedia/mp4v2/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/files/patch-GNUmakefile.in
===================================================================
--- trunk/multimedia/mp4v2/files/patch-GNUmakefile.in (rev 0)
+++ trunk/multimedia/mp4v2/files/patch-GNUmakefile.in 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,11 @@
+--- ./GNUmakefile.in.orig 2010-07-12 21:25:25.000000000 +0100
++++ ./GNUmakefile.in 2010-07-12 21:26:04.000000000 +0100
+@@ -443,7 +443,7 @@
+ lib_LTLIBRARIES = libmp4v2.la
+
+ ###############################################################################
+-libmp4v2_la_LDFLAGS = -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point) $(X_libmp4v2_la_LDFLAGS)
++libmp4v2_la_LDFLAGS = -version-info 10:1:9
+ libmp4v2_la_SOURCES = src/3gp.cpp src/atom_ac3.cpp src/atom_amr.cpp \
+ src/atom_avc1.cpp src/atom_avcC.cpp src/atom_chpl.cpp \
+ src/atom_colr.cpp src/atom_d263.cpp src/atom_dac3.cpp \
Property changes on: trunk/multimedia/mp4v2/files/patch-GNUmakefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/files/patch-include__mp4v2__itmf_tags.h
===================================================================
--- trunk/multimedia/mp4v2/files/patch-include__mp4v2__itmf_tags.h (rev 0)
+++ trunk/multimedia/mp4v2/files/patch-include__mp4v2__itmf_tags.h 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,11 @@
+--- ./include/mp4v2/itmf_tags.h.orig 2010-07-14 16:35:27.000000000 +0100
++++ ./include/mp4v2/itmf_tags.h 2010-07-14 16:35:35.000000000 +0100
+@@ -122,7 +122,7 @@
+ * @return structure with all tags missing.
+ */
+ MP4V2_EXPORT
+-const MP4Tags* MP4TagsAlloc();
++const MP4Tags* MP4TagsAlloc(void);
+
+ /** Fetch data from mp4 file and populate structure.
+ *
Property changes on: trunk/multimedia/mp4v2/files/patch-include__mp4v2__itmf_tags.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/files/patch-src__bmff__typebmff.cpp
===================================================================
--- trunk/multimedia/mp4v2/files/patch-src__bmff__typebmff.cpp (rev 0)
+++ trunk/multimedia/mp4v2/files/patch-src__bmff__typebmff.cpp 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,35 @@
+--- ./src/bmff/typebmff.cpp.orig 2009-07-14 03:07:10.000000000 +0400
++++ ./src/bmff/typebmff.cpp 2012-01-15 22:14:12.057757646 +0400
+@@ -23,19 +23,12 @@
+
+ #include "impl.h"
+
+-// VStudio idiocy prevents defining template instanced static data
+-// in a namespace. Workaround it by defining in global scope.
+-// Other platforms will continue to put things in the proper namespace.
+-#if defined( _MSC_VER )
+-using namespace mp4v2::impl::bmff;
+-#else
+-namespace mp4v2 { namespace impl { namespace bmff {
+-#endif
++namespace mp4v2 { namespace impl {
+
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumLanguageCode::Entry EnumLanguageCode::data[] = {
++const bmff::EnumLanguageCode::Entry bmff::EnumLanguageCode::data[] = {
+ { mp4v2::impl::bmff::ILC_AAR, "aar", "Afar" },
+ { mp4v2::impl::bmff::ILC_ABK, "abk", "Abkhazian" },
+ { mp4v2::impl::bmff::ILC_ACE, "ace", "Achinese" },
+@@ -526,9 +519,7 @@
+
+ ///////////////////////////////////////////////////////////////////////////////
+
+-#if defined( _MSC_VER )
+-namespace mp4v2 { namespace impl { namespace bmff {
+-#endif
++namespace bmff {
+
+ ///////////////////////////////////////////////////////////////////////////////
+
Property changes on: trunk/multimedia/mp4v2/files/patch-src__bmff__typebmff.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/files/patch-src__itmf__type.cpp
===================================================================
--- trunk/multimedia/mp4v2/files/patch-src__itmf__type.cpp (rev 0)
+++ trunk/multimedia/mp4v2/files/patch-src__itmf__type.cpp 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,80 @@
+--- ./src/itmf/type.cpp.orig 2009-07-14 03:07:08.000000000 +0400
++++ ./src/itmf/type.cpp 2012-01-15 22:14:12.054748862 +0400
+@@ -24,19 +24,12 @@
+
+ #include "impl.h"
+
+-// VStudio idiocy prevents defining template instanced static data
+-// in a namespace. Workaround it by defining in global scope.
+-// Other platforms will continue to put things in the proper namespace.
+-#if defined( _MSC_VER )
+-using namespace mp4v2::impl::itmf;
+-#else
+-namespace mp4v2 { namespace impl { namespace itmf {
+-#endif
++namespace mp4v2 { namespace impl {
+
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumBasicType::Entry EnumBasicType::data[] = {
++const itmf::EnumBasicType::Entry itmf::EnumBasicType::data[] = {
+ { mp4v2::impl::itmf::BT_IMPLICIT, "implicit", "implicit" },
+ { mp4v2::impl::itmf::BT_UTF8, "utf8", "UTF-8" },
+ { mp4v2::impl::itmf::BT_UTF16, "utf16", "UTF-16" },
+@@ -64,7 +57,7 @@
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumGenreType::Entry EnumGenreType::data[] = {
++const itmf::EnumGenreType::Entry itmf::EnumGenreType::data[] = {
+ { mp4v2::impl::itmf::GENRE_BLUES, "blues", "Blues" },
+ { mp4v2::impl::itmf::GENRE_CLASSIC_ROCK, "classicrock", "Classic Rock" },
+ { mp4v2::impl::itmf::GENRE_COUNTRY, "country", "Country" },
+@@ -200,7 +193,7 @@
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumStikType::Entry EnumStikType::data[] = {
++const itmf::EnumStikType::Entry itmf::EnumStikType::data[] = {
+ { mp4v2::impl::itmf::STIK_OLD_MOVIE, "oldmovie", "Movie" },
+ { mp4v2::impl::itmf::STIK_NORMAL, "normal", "Normal" },
+ { mp4v2::impl::itmf::STIK_AUDIOBOOK, "audiobook", "Audio Book" },
+@@ -216,7 +209,7 @@
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumAccountType::Entry EnumAccountType::data[] = {
++const itmf::EnumAccountType::Entry itmf::EnumAccountType::data[] = {
+ { mp4v2::impl::itmf::AT_ITUNES, "itunes", "iTunes" },
+ { mp4v2::impl::itmf::AT_AOL, "aol", "AOL" },
+
+@@ -226,7 +219,7 @@
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumCountryCode::Entry EnumCountryCode::data[] = {
++const itmf::EnumCountryCode::Entry itmf::EnumCountryCode::data[] = {
+ { mp4v2::impl::itmf::CC_USA, "usa", "United States" },
+ { mp4v2::impl::itmf::CC_USA, "fra", "France" },
+ { mp4v2::impl::itmf::CC_DEU, "ger", "Germany" },
+@@ -256,7 +249,7 @@
+ ///////////////////////////////////////////////////////////////////////////////
+
+ template <>
+-const EnumContentRating::Entry EnumContentRating::data[] = {
++const itmf::EnumContentRating::Entry itmf::EnumContentRating::data[] = {
+ { mp4v2::impl::itmf::CR_NONE, "none", "None" },
+ { mp4v2::impl::itmf::CR_CLEAN, "clean", "Clean" },
+ { mp4v2::impl::itmf::CR_EXPLICIT, "explicit", "Explicit" },
+@@ -266,9 +259,7 @@
+
+ ///////////////////////////////////////////////////////////////////////////////
+
+-#if defined( _MSC_VER )
+-namespace mp4v2 { namespace impl { namespace itmf {
+-#endif
++namespace itmf {
+
+ ///////////////////////////////////////////////////////////////////////////////
+
Property changes on: trunk/multimedia/mp4v2/files/patch-src__itmf__type.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/pkg-descr
===================================================================
--- trunk/multimedia/mp4v2/pkg-descr (rev 0)
+++ trunk/multimedia/mp4v2/pkg-descr 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,3 @@
+Library and tools to read, create, and modify mp4 files.
+
+WWW: http://code.google.com/p/mp4v2/
Property changes on: trunk/multimedia/mp4v2/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/mp4v2/pkg-plist
===================================================================
--- trunk/multimedia/mp4v2/pkg-plist (rev 0)
+++ trunk/multimedia/mp4v2/pkg-plist 2015-03-15 03:45:09 UTC (rev 18151)
@@ -0,0 +1,32 @@
+bin/mp4art
+bin/mp4chaps
+bin/mp4extract
+bin/mp4file
+bin/mp4info
+bin/mp4subtitle
+bin/mp4tags
+bin/mp4track
+bin/mp4trackdump
+include/mp4v2/project.h
+include/mp4v2/chapter.h
+include/mp4v2/file.h
+include/mp4v2/file_prop.h
+include/mp4v2/general.h
+include/mp4v2/isma.h
+include/mp4v2/itmf_generic.h
+include/mp4v2/itmf_tags.h
+include/mp4v2/meta.h
+include/mp4v2/mp4v2.h
+include/mp4v2/platform.h
+include/mp4v2/sample.h
+include/mp4v2/streaming.h
+include/mp4v2/track.h
+include/mp4v2/track_prop.h
+lib/libmp4v2.a
+lib/libmp4v2.so
+lib/libmp4v2.so.1
+lib/libmp4v2.so.1.9.1
+man/man1/mp4art.1.gz
+man/man1/mp4file.1.gz
+man/man1/mp4subtitle.1.gz
+man/man1/mp4track.1.gz
Property changes on: trunk/multimedia/mp4v2/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list