aboutsummaryrefslogtreecommitdiff
path: root/extra/openjpeg2
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openjpeg2')
-rwxr-xr-xextra/openjpeg2/build12
-rw-r--r--extra/openjpeg2/checksums1
-rw-r--r--extra/openjpeg2/depends5
-rw-r--r--extra/openjpeg2/sources1
-rw-r--r--extra/openjpeg2/version1
5 files changed, 20 insertions, 0 deletions
diff --git a/extra/openjpeg2/build b/extra/openjpeg2/build
new file mode 100755
index 00000000..5332ac49
--- /dev/null
+++ b/extra/openjpeg2/build
@@ -0,0 +1,12 @@
+#!/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
+
+cmake --build build
+cmake --install build
diff --git a/extra/openjpeg2/checksums b/extra/openjpeg2/checksums
new file mode 100644
index 00000000..0c8061d1
--- /dev/null
+++ b/extra/openjpeg2/checksums
@@ -0,0 +1 @@
+8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d
diff --git a/extra/openjpeg2/depends b/extra/openjpeg2/depends
new file mode 100644
index 00000000..3b96bae5
--- /dev/null
+++ b/extra/openjpeg2/depends
@@ -0,0 +1,5 @@
+libpng
+tiff
+lcms2
+cmake make
+zlib
diff --git a/extra/openjpeg2/sources b/extra/openjpeg2/sources
new file mode 100644
index 00000000..027f57e2
--- /dev/null
+++ b/extra/openjpeg2/sources
@@ -0,0 +1 @@
+https://github.com/uclouvain/openjpeg/archive/v2.4.0.tar.gz
diff --git a/extra/openjpeg2/version b/extra/openjpeg2/version
new file mode 100644
index 00000000..36c97d93
--- /dev/null
+++ b/extra/openjpeg2/version
@@ -0,0 +1 @@
+2.4.0 1