1
0
forked from ports/opt

libjpeg-turbo: use ninja backend by default

This commit is contained in:
Tim Biermann 2021-12-14 10:01:51 +01:00
parent f0ec415f61
commit d0fbca0ef1
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/dOvPoq9Jqa370fJmxiWpNsi6EmIw+C4U+PJ/QsajL5jbNyTEN2XFOw0KXarObvmIqXMTad3Gu0TE1JME+lFLQ0=
SHA256 (Pkgfile) = 95284b3550da70e69e9586c4e33162aa24f63ee0f20e0693624660073a068f50
RWSE3ohX2g5d/fCqF+yk0CuidHi6CldYbeuj8Z6CudmChgO/TBbsOGjgal2MMPi1lT32JiLr+7lhuVUrlQFCET6Yw5AVkSbObgw=
SHA256 (Pkgfile) = eba104d873c18abf8c7fa74ad9235469a5643064aa1c97faa4a4cb0f64becbda
SHA256 (.footprint) = 0215df67fa14977bbc65e15719d022c326e6339a618590ac758fe20844ea2858
SHA256 (libjpeg-turbo-2.1.2.tar.gz) = 09b96cb8cbff9ea556a9c2d173485fd19488844d55276ed4f42240e1e2073ce5

View File

@ -9,8 +9,7 @@ release=1
source=(https://downloads.sourceforge.net/project/$name/$version/$name-$version.tar.gz)
build() {
prt-get isinst ninja && PKGMK_LIBJPEGTURBO+=' -G Ninja'
cmake -S $name-$version -B build $PKGMK_LIBJPEGTURBO \
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_INSTALL_PREFIX=/usr \
@ -18,5 +17,6 @@ build() {
-D WITH_JPEG8=ON
cmake --build build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/share/doc
}