aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-05-17 10:14:01 +0300
committerCem Keylan <cem@ckyln.com>2021-05-17 10:14:01 +0300
commit013482352c7cf31123207ff2513f700af0c995e7 (patch)
treee7657dec34d31089216c6dab12b05f9d53654d11 /extra
parentfe50c7cf3a645689d907a6705c99d827e82bf23d (diff)
downloadrepository-013482352c7cf31123207ff2513f700af0c995e7.tar.gz
openjpeg2: add new package at 2.4.0
Diffstat (limited to 'extra')
-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