<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/90cc455e8a9bea333c7e08547800db68021f4b8e">https://github.com/macports/macports-ports/commit/90cc455e8a9bea333c7e08547800db68021f4b8e</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 90cc455e8a9 libyuv: new port - Still needs a pkgconfig, and perhaps cmake support
</span>90cc455e8a9 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 90cc455e8a9bea333c7e08547800db68021f4b8e
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue Aug 16 13:33:23 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    libyuv: new port
</span><span style='display:block; white-space:pre;color:#404040;'>    - Still needs a pkgconfig, and perhaps cmake support
</span>---
 multimedia/libyuv/Portfile                         | 38 ++++++++++++++++++++++
 .../libyuv/files/patch-link-against-libjpeg.patch  | 11 +++++++
 2 files changed, 49 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libyuv/Portfile b/multimedia/libyuv/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b857c98dbff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libyuv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem              1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup               cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                    libyuv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set my_name             libyuv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 20210428
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories              multimedia
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license                 BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers             {mascguy @mascguy} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description             libyuv is an open source project that includes YUV scaling and conversion functionality
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description        {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage                https://chromium.googlesource.com/libyuv/libyuv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname                ${my_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir             ${my_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# use git fetch rather than downloading a snapshot tarball
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# which delivers a different checksum and size on each download
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# this is not a stealth upgrade but a "feature" of this repo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fetch.type              git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+git.url                 https://chromium.googlesource.com/${my_name}/${my_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+git.branch              eb6e7bb63738e29efd82ea3cf2a115238a89fa51
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.generator         Ninja
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-link-against-libjpeg.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        path:include/turbojpeg.h:libjpeg-turbo
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libyuv/files/patch-link-against-libjpeg.patch b/multimedia/libyuv/files/patch-link-against-libjpeg.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..88347e3e802
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libyuv/files/patch-link-against-libjpeg.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig    2022-08-16 13:22:52.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2022-08-16 13:24:36.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,7 +38,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDE ( FindJPEG )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (JPEG_FOUND)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   include_directories( ${JPEG_INCLUDE_DIR} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   add_definitions( -DHAVE_JPEG )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>