<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e7115aa385c91081f98567f2ed8b7b1fbd97004f">https://github.com/macports/macports-ports/commit/e7115aa385c91081f98567f2ed8b7b1fbd97004f</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 e7115aa385c squish: add pkg-config file
</span>e7115aa385c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e7115aa385c91081f98567f2ed8b7b1fbd97004f
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Thu Dec 23 14:28:53 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> squish: add pkg-config file
</span>---
graphics/squish/Portfile | 16 ++++++++++++----
graphics/squish/files/add-pkgconfig-file.diff | 16 ++++++++++++++++
2 files changed, 28 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/squish/Portfile b/graphics/squish/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 69890763337..907418c8534 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/squish/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/squish/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup muniversal 1.0
</span>
name squish
version 1.15
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 01a380439426f5a40ad8f42ada58a09d2f1d3fbb \
sha256 628796eeba608866183a61d080d46967c9dda6723bc0a3ec52324c85d2147269 \
size 59199
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,15 +20,17 @@ description DXT Compression Library
</span>
long_description DXT compression is a very well-designed compression scheme \
for colour textures with an optional alpha channel. The \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- squish library is a cross-platform open source \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name} library is a cross-platform open source \
</span> implementation of DXT compression (and decompression).
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://sourceforge.net/projects/libsquish/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:project/libsquish
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname libsquish-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://sourceforge.net/projects/lib${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:project/lib${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname lib${name}-${version}
</span> extract.suffix .tgz
extract.mkdir yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append add-pkgconfig-file.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args -DBUILD_SHARED_LIBS=ON \
-DBUILD_SQUISH_WITH_OPENMP=OFF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,3 +40,8 @@ array set merger_configure_args {
</span> ppc64 "BUILD_SQUISH_WITH_ALTIVEC=ON BUILD_SQUISH_WITH_SSE2=OFF"
x86_64 "BUILD_SQUISH_WITH_ALTIVEC=OFF BUILD_SQUISH_WITH_SSE2=ON"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s/\(Version: \).*/\\1${version}/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/pkgconfig/lib${name}.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/squish/files/add-pkgconfig-file.diff b/graphics/squish/files/add-pkgconfig-file.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bb562265163
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/squish/files/add-pkgconfig-file.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2017-03-14 03:40:13.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2021-12-24 22:23:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -109,6 +109,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF (PNG_FOUND)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF (BUILD_SQUISH_EXTRA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++set(PREFIX ${CMAKE_INSTALL_PREFIX})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++set(LIB_PATH lib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++configure_file(libsquish.pc.in libsquish.pc @ONLY)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INSTALL(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ FILES ${CMAKE_CURRENT_BINARY_DIR}/libsquish.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TARGETS squish
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY DESTINATION lib
</span></pre><pre style='margin:0'>
</pre>