aboutsummaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/libjpeg-turbo
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/libjpeg-turbo')
-rwxr-xr-xextra/libjpeg-turbo/build13
-rw-r--r--extra/libjpeg-turbo/checksums1
-rw-r--r--extra/libjpeg-turbo/depends2
-rw-r--r--extra/libjpeg-turbo/sources1
-rw-r--r--extra/libjpeg-turbo/version1
5 files changed, 18 insertions, 0 deletions
diff --git a/extra/libjpeg-turbo/build b/extra/libjpeg-turbo/build
new file mode 100755
index 00000000..650b25f5
--- /dev/null
+++ b/extra/libjpeg-turbo/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_JPEG8=1
+
+cmake --build build
+cmake --install build
diff --git a/extra/libjpeg-turbo/checksums b/extra/libjpeg-turbo/checksums
new file mode 100644
index 00000000..6ad81b85
--- /dev/null
+++ b/extra/libjpeg-turbo/checksums
@@ -0,0 +1 @@
+a69598bf079463b34d45ca7268462a18b6507fdaa62bb1dfd212f02041499b5d 2.0.3.tar.gz
diff --git a/extra/libjpeg-turbo/depends b/extra/libjpeg-turbo/depends
new file mode 100644
index 00000000..ae4e5b53
--- /dev/null
+++ b/extra/libjpeg-turbo/depends
@@ -0,0 +1,2 @@
+cmake make
+yasm make
diff --git a/extra/libjpeg-turbo/sources b/extra/libjpeg-turbo/sources
new file mode 100644
index 00000000..81eadb64
--- /dev/null
+++ b/extra/libjpeg-turbo/sources
@@ -0,0 +1 @@
+https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.3.tar.gz
diff --git a/extra/libjpeg-turbo/version b/extra/libjpeg-turbo/version
new file mode 100644
index 00000000..c103c3ec
--- /dev/null
+++ b/extra/libjpeg-turbo/version
@@ -0,0 +1 @@
+2.0.3 1