libsquish, cleanup (#8404)

This commit is contained in:
Schrijvers Luc
2023-04-15 16:12:13 +02:00
committed by GitHub
parent c7382e4c0e
commit 88a8d60ea9

View File

@@ -5,7 +5,7 @@ the lossy compression of RGBA textures."
HOMEPAGE="https://sourceforge.net/projects/libsquish/"
COPYRIGHT="2006 Simon Brown"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://sourceforge.net/projects/libsquish/files/libsquish-$portVersion.tgz"
CHECKSUM_SHA256="628796eeba608866183a61d080d46967c9dda6723bc0a3ec52324c85d2147269"
SOURCE_DIR=""
@@ -53,12 +53,11 @@ BUILD()
SSE2="-DBUILD_SQUISH_WITH_SSE2=ON"
fi
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
$SSE2 \
-DBUILD_SHARED_LIBS=ON ..
make $jobArgs
-DBUILD_SHARED_LIBS=ON
make -C build $jobArgs
}
INSTALL()