From eb2b6cc24c18f416ec9771dbefbb4515d351fe42 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 8 Mar 2024 10:39:50 -0500 Subject: [PATCH] fix(libjpeg-turbo) moved to github for official source closes #4972 --- projects/libjpeg-turbo.org/package.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/projects/libjpeg-turbo.org/package.yml b/projects/libjpeg-turbo.org/package.yml index 82f7f1f1..a736464d 100644 --- a/projects/libjpeg-turbo.org/package.yml +++ b/projects/libjpeg-turbo.org/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://versaweb.dl.sourceforge.net/project/libjpeg-turbo/{{version}}/libjpeg-turbo-{{version}}.tar.gz - strip-components: 1 + url: https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/{{version.tag}}/libjpeg-turbo-{{version.tag}}.tar.gz + strip-components: 1 versions: github: libjpeg-turbo/libjpeg-turbo @@ -9,14 +9,14 @@ build: dependencies: cmake.org: ^3 working-directory: build - script: | - cmake .. $ARGS - make --jobs {{ hw.concurrency }} install + script: + - cmake .. $ARGS + - make --jobs {{ hw.concurrency }} install env: ARGS: - - -DCMAKE_INSTALL_PREFIX={{prefix}} - - -DCMAKE_BUILD_TYPE=Release - - -DWITH_JPEG8=1 + - -DCMAKE_INSTALL_PREFIX={{prefix}} + - -DCMAKE_BUILD_TYPE=Release + - -DWITH_JPEG8=1 provides: - bin/cjpeg @@ -26,6 +26,6 @@ provides: - bin/tjbench - bin/wrjpgcom -test: | - jpegtran -crop 1x1 -transpose -perfect -outfile out.jpg fixture.jpeg - test -f out.jpg +test: + - jpegtran -crop 1x1 -transpose -perfect -outfile out.jpg fixture.jpeg + - test -f out.jpg