<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/723eb75ecbb097b8fda441e32e8626ff6b5815f0">https://github.com/macports/macports-ports/commit/723eb75ecbb097b8fda441e32e8626ff6b5815f0</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 723eb75ecbb gpac: update to 2.2.0
</span>723eb75ecbb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 723eb75ecbb097b8fda441e32e8626ff6b5815f0
</span>Author: Mohamed Akram <mohd.akram@outlook.com>
AuthorDate: Thu Dec 29 20:59:43 2022 +0400
<span style='display:block; white-space:pre;color:#404040;'> gpac: update to 2.2.0
</span>---
multimedia/gpac/Portfile | 38 +++++++++++++-----------------
multimedia/gpac/files/patch-configure.diff | 15 ++++++------
2 files changed, 24 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/gpac/Portfile b/multimedia/gpac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3f919b23240..d6f29b096f8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/gpac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/gpac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,8 @@ PortGroup compiler_blacklist_versions 1.0
</span> PortGroup github 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup gpac gpac 2.0.0 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup gpac gpac 2.2.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories multimedia
maintainers {outlook.com:mohd.akram @mohd-akram} openmaintainer
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,9 +22,9 @@ long_description GPAC is an Open Source multimedia framework for \
</span> homepage https://gpac.wp.imt.fr
github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a42408350f0ee7f2d7909f7cfe9fae2acd760576 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c820386f9d583c740fc3f57cb93864a8164838516dabc96de2f61d5b7429e0b6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 11362932
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f2083348229f39961916ad1fccae596584bf2d2c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c20c204b57da76e4726109993c1abcdb3231a9b2ee2c8e21126d000cda7fc00d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 11376708
</span>
# Needed for clock_gettime()
legacysupport.newest_darwin_requires_legacy \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,23 +33,22 @@ legacysupport.newest_darwin_requires_legacy \
</span> depends_build port:pkgconfig \
port:zlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:a52dec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:faad2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libavcodec.dylib:ffmpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:freetype \
</span> path:include/turbojpeg.h:libjpeg-turbo \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openjpeg \
</span> port:libmad \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:faad2 \
</span> port:libogg \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpng \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsdl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libtheora \
</span> port:libvorbis \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:openjpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:jack \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtheora \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:a52dec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libavcodec.dylib:ffmpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:x264 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:aom \
</span> port:XviD \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libGLU \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mesa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2
</span>
# Though HEVC is officially supported only in 10.13+, the symbol
# kCMVideoCodecType_HEVC is available in 10.11+ [1][2]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +59,6 @@ patchfiles patch-configure.diff \
</span>
post-patch {
reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/configure
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|LDFLAGS=\"-L\$prefix/\$libdir|LDFLAGS=\"\$LDFLAGS -L\$prefix/\$libdir|g" ${worksrcpath}/configure
</span> }
if {${os.platform} eq "darwin" && ${os.major} < 12} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,7 +74,6 @@ if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span> compiler.blacklist-append {clang < 700}
compiler.c_standard 2011
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# external spidermonkey (--use-js=no) is not recognized because it doesn't provide a pkg-config file and build fails with local copy
</span> # pulseaudio is recognized if installed but build fails
configure.args --cc="${configure.cc}" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,9 +81,8 @@ configure.args --cc="${configure.cc}" \
</span> --extra-cflags="${configure.cc_archflags}" \
--extra-ldflags="${configure.ld_archflags}" \
--mandir=${prefix}/share/man \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --X11-path=${prefix} \
</span> --disable-pulseaudio \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --use-js=no \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-x11 \
</span> --verbose
# This project's build system detects CPU and endianness at configure time.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/gpac/files/patch-configure.diff b/multimedia/gpac/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index a98df85c58f..576b3a0e34d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/gpac/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/gpac/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git configure configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index de8ea9965..017b55aa9 100755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -554,16 +554,7 @@ EOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Darwin)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS_DIR="-I$prefix/include"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="-L$prefix/$libdir"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-12-19 20:03:06.000000000 +0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-12-29 19:50:49.000000000 +0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -788,17 +788,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="$LDFLAGS -L$prefix/$libdir"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span> - if test -d /sw/bin ; then
- alt_macosx_dir="/sw"
- CFLAGS_DIR="-I/sw/include $CFLAGS_DIR"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,6 +13,7 @@ index de8ea9965..017b55aa9 100755
</span> - CFLAGS_DIR="-I/opt/local/include $CFLAGS_DIR"
- LDFLAGS="-L/opt/local/lib $LDFLAGS"
- fi
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="$CFLAGS_DIR $CFLAGS"
</span> - Mac_Applications="/Applications"
+ Mac_Applications="@APPLICATIONS_DIR@"
SHFLAGS="-dynamiclib"
</pre><pre style='margin:0'>
</pre>