Skip to content
Snippets Groups Projects
Verified Commit b330973d authored by DJ Mountney's avatar DJ Mountney
Browse files

Add ligjpeg-turbo

parent c26e918e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -94,6 +94,10 @@ libre2:
libpng:
remote: "git@dev.gitlab.org:omnibus-mirror/libpng.git"
alternative: "https://gitlab.com/gitlab-org/build/omnibus-mirror/libpng.git"
# TODO: switch to mirror
libjpeg-turbo:
remote: "https://github.com/libjpeg-turbo/libjpeg-turbo.git"
alternative: "https://github.com/libjpeg-turbo/libjpeg-turbo.git"
exiftool:
remote: "git@dev.gitlab.org:omnibus-mirror/exiftool.git"
alternative: "https://gitlab.com/gitlab-org/build/omnibus-mirror/exiftool.git"
Loading
Loading
Loading
Loading
@@ -23,6 +23,7 @@ license_file 'Copyright.txt'
skip_transitive_dependency_licensing true
 
dependency 'libpng'
dependency 'libjpeg-turbo'
dependency 'zlib'
 
source url: "https://ftp.icm.edu.pl/pub/unix/graphics/GraphicsMagick/1.3/GraphicsMagick-#{version}.tar.gz",
Loading
Loading
#
# Copyright:: Copyright (c) 2020 GitLab Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name 'libjpeg-turbo'
version = Gitlab::Version.new('libjpeg-turbo', '2.0.4')
default_version version.print(false)
license 'BSD-3-Clause'
license_file 'LICENSE.md'
license_file 'README.ijg'
dependency 'zlib'
source git: version.remote
build do
env = with_standard_compiler_flags(with_embedded_path)
configure_command = [
'cmake',
'-G"Unix Makefiles"',
'-DREQUIRE_SIMD=1',
"CMAKE_INSTALL_PREFIX=#{install_dir}/embedded",
]
command configure_command.join(' '), env: env
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment