<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ae4bd4f26c27327c8d188e127022d9231f8c7d4b">https://github.com/macports/macports-ports/commit/ae4bd4f26c27327c8d188e127022d9231f8c7d4b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ae4bd4f26c2 mp4v2: Update to 4.1.6 from TechSmith fork
</span>ae4bd4f26c2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ae4bd4f26c27327c8d188e127022d9231f8c7d4b
</span>Author: Michael Kuron <m.kuron@gmx.de>
AuthorDate: Tue May 25 20:04:18 2021 +0200
<span style='display:block; white-space:pre;color:#404040;'> mp4v2: Update to 4.1.6 from TechSmith fork
</span>---
multimedia/mp4v2/Portfile | 21 ++---
multimedia/mp4v2/files/configure-version.patch | 2 +-
multimedia/mp4v2/files/mp4tags-metadata.patch | 122 +++++++++++++++++++++++++
3 files changed, 130 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mp4v2/Portfile b/multimedia/mp4v2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6e323e72786..19a923b2464 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mp4v2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mp4v2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,15 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup TechSmith mp4v2 4.1.6 Release-ThirdParty-MP4v2-
</span>
name mp4v2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts mp4v2-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.0.0
</span> revision 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1b309ec6480dd06fac2e1e72ab666ca123e714d8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 495672
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 646d541676f3e80a9a3a44f341eebda0713074f4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 bd4749f3bf4715decdbf032d5e550429297cc33ced248cd2f95dcb4e89083879 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4321700
</span>
categories multimedia
license MPL-1.1 BSD-old
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,13 +22,9 @@ long_description The mp4v2 library provides an API to create and modify mp4 \
</span> homepage https://code.google.com/p/mp4v2/
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites googlecode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build port:help2man
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles configure-version.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles configure-version.patch mp4tags-metadata.patch
</span>
post-patch {
reinplace "s|@@VERSION@@|${version}|g" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +47,3 @@ platform darwin {
</span> variant universal {
configure.args-append --disable-gch
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url https://code.google.com/p/mp4v2/downloads/list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mp4v2/files/configure-version.patch b/multimedia/mp4v2/files/configure-version.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 9bd7127dffd..9672824596e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mp4v2/files/configure-version.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mp4v2/files/configure-version.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@
</span>
-m4_define([PRJ_version],ifelse(
- PRJ_repo_type,[stable],m4_format([%s],PRJ_repo_branch),
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- m4_format([%s-r%d],PRJ_repo_branch,PRJ_repo_rev)))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- m4_format([%s-r%s],PRJ_repo_branch,PRJ_repo_rev)))
</span> +m4_define([PRJ_version],[@@VERSION@@])
###############################################################################
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mp4v2/files/mp4tags-metadata.patch b/multimedia/mp4v2/files/mp4tags-metadata.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a1772b2707b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mp4v2/files/mp4tags-metadata.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,122 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Patch from https://github.com/sandreas/mp4v2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/mp4tags.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/mp4tags.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,8 +62,27 @@ using namespace mp4v2::util;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define OPT_RELEASEDATE 'y'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define OPT_ARTISTID 'z'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define OPT_COMPOSERID 'Z'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_SORT_NAME 'f'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_SORT_ARTIST 'F'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_SORT_ALBUM_ARTIST 'J'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_SORT_ALBUM 'k'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_SORT_COMPOSER 'K'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_SORT_TV_SHOW 'W'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_PURCHASE_DATE 'U'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define OPT_STRING "r:A:a:b:c:C:d:D:e:E:g:G:H:i:I:j:l:L:m:M:n:N:o:O:p:P:B:R:s:S:t:T:U:x:X:w:y:z:Z:f:F:J:k:K:W:"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// fFJkKqQuUVWxXYz (h=help, v=version, r=remove)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- MP4TagsSetSortName ( tags, "my sortName" ); // J
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- MP4TagsSetSortArtist ( tags, "my sortArtist" ); // f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- MP4TagsSetSortAlbumArtist ( tags, "my sortAlbumArtist" ); // F
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- MP4TagsSetSortAlbum ( tags, "my sortAlbum" ); u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- MP4TagsSetSortComposer ( tags, "my sortComposer" ); r
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- MP4TagsSetSortTVShow ( tags, "my sortTVShow" ); W
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++*/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define OPT_STRING "r:A:a:b:c:C:d:D:e:E:g:G:H:i:I:j:l:L:m:M:n:N:o:O:p:P:B:R:s:S:t:T:x:X:w:y:z:Z:"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ELEMENT_OF(x,i) x[int(i)]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -110,6 +129,13 @@ static const char* const help_text =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " -y, -year NUM Set the release date\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " -z, -artistid NUM Set the artist ID\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " -Z, -composerid NUM Set the composer ID\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -f, -sortname STR Set the sort name\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -F, -sortartist STR Set the sort artist\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -k, -sortalbum STR Set the sort album\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -W, -sorttvshow STR Set the sort tv show\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -J, -sortalbumartist STR Set the sort album artist\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -K, -sortcomposer STR Set the sort composer\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ " -U, -purchasedate STR Set the purchase date\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " -r, -remove STR Remove tags by code (e.g. \"-r cs\"\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " removes the comment and song tags)";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -155,8 +181,15 @@ extern "C" int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { "composerid", prog::Option::REQUIRED_ARG, 0, OPT_COMPOSERID },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { "remove", prog::Option::REQUIRED_ARG, 0, OPT_REMOVE },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { "albumartist", prog::Option::REQUIRED_ARG, 0, OPT_ALBUM_ARTIST },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { "category", prog::Option::REQUIRED_ARG, 0, OPT_CATEGORY },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { "rating", prog::Option::REQUIRED_ARG, 0, OPT_RATING },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "category", prog::Option::REQUIRED_ARG, 0, OPT_CATEGORY },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "rating", prog::Option::REQUIRED_ARG, 0, OPT_RATING },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "sortname", prog::Option::REQUIRED_ARG, 0, OPT_SORT_NAME },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "sortartist", prog::Option::REQUIRED_ARG, 0, OPT_SORT_ARTIST },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "sortalbum", prog::Option::REQUIRED_ARG, 0, OPT_SORT_ALBUM },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "sorttvshow", prog::Option::REQUIRED_ARG, 0, OPT_SORT_TV_SHOW },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "sortalbumartist", prog::Option::REQUIRED_ARG, 0, OPT_SORT_ALBUM_ARTIST },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "sortcomposer", prog::Option::REQUIRED_ARG, 0, OPT_SORT_COMPOSER },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { "purchasedate", prog::Option::REQUIRED_ARG, 0, OPT_PURCHASE_DATE },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { NULL, prog::Option::NO_ARG, 0, 0 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -381,6 +414,27 @@ extern "C" int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case OPT_RATING:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MP4TagsSetContentRating(mdata, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_NAME:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortName( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_ARTIST:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortArtist( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_ALBUM_ARTIST:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortAlbumArtist( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_ALBUM:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortAlbum( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_COMPOSER:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortComposer( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_TV_SHOW:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortTVShow( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_PURCHASE_DATE:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetPurchaseDate( mdata, NULL );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -588,6 +642,28 @@ extern "C" int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MP4TagsSetContentRating(mdata, &rating);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_NAME:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortName( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_ARTIST:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortArtist( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_ALBUM_ARTIST:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortAlbumArtist( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_ALBUM:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortAlbum( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_COMPOSER:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortComposer( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_SORT_TV_SHOW:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetSortTVShow( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case OPT_PURCHASE_DATE:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4TagsSetPurchaseDate( mdata, tags[i] );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>