Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
b6d4dbf9
Commit
b6d4dbf9
authored
Feb 15, 2022
by
Andrew Murray
Browse files
Added build_libjpeg_turbo
parent
3903f7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
library_builders.sh
library_builders.sh
+12
-0
No files found.
library_builders.sh
View file @
b6d4dbf9
...
...
@@ -159,6 +159,18 @@ function build_jpeg {
touch
jpeg-stamp
}
function
build_libjpeg_turbo
{
if
[
-e
jpeg-stamp
]
;
then return
;
fi
local
cmake
=
$(
get_modern_cmake
)
fetch_unpack https://download.sourceforge.net/libjpeg-turbo/libjpeg-turbo-
${
JPEGTURBO_VERSION
}
.tar.gz
(
cd
libjpeg-turbo-
${
JPEGTURBO_VERSION
}
\
&&
$cmake
-G
"Unix Makefiles"
-DCMAKE_INSTALL_PREFIX
=
/usr/local
-DCMAKE_INSTALL_LIBDIR
=
/usr/local/lib
.
\
&&
make
install
)
# Prevent build_jpeg
touch
jpeg-stamp
}
function
build_libpng
{
build_zlib
build_simple libpng
$LIBPNG_VERSION
https://download.sourceforge.net/libpng
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment