diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2019-03-19 18:10:12 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2019-03-19 18:16:39 +1100 |
commit | 5b3e6b15f8184245272dc4d042ade9924b5a3fc1 (patch) | |
tree | 04fd7ee972dcf43e8218bc8bda149b9ba6e86af5 /openjpeg2 | |
parent | ee8604fa494b876717a63bf28917671b04095574 (diff) | |
download | contrib-5b3e6b15f8184245272dc4d042ade9924b5a3fc1.tar.gz contrib-5b3e6b15f8184245272dc4d042ade9924b5a3fc1.tar.xz |
openjpeg2: initial import
Diffstat (limited to 'openjpeg2')
-rw-r--r-- | openjpeg2/.footprint | 21 | ||||
-rw-r--r-- | openjpeg2/.signature | 5 | ||||
-rw-r--r-- | openjpeg2/Pkgfile | 25 |
3 files changed, 51 insertions, 0 deletions
diff --git a/openjpeg2/.footprint b/openjpeg2/.footprint new file mode 100644 index 000000000..eaa075a1e --- /dev/null +++ b/openjpeg2/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/opj_compress +-rwxr-xr-x root/root usr/bin/opj_decompress +-rwxr-xr-x root/root usr/bin/opj_dump +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/openjpeg-2.3/ +-rw-r--r-- root/root usr/include/openjpeg-2.3/openjpeg.h +-rw-r--r-- root/root usr/include/openjpeg-2.3/opj_config.h +-rw-r--r-- root/root usr/include/openjpeg-2.3/opj_stdint.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libopenjp2.a +lrwxrwxrwx root/root usr/lib/libopenjp2.so -> libopenjp2.so.7 +-rwxr-xr-x root/root usr/lib/libopenjp2.so.2.3.0 +lrwxrwxrwx root/root usr/lib/libopenjp2.so.7 -> libopenjp2.so.2.3.0 +drwxr-xr-x root/root usr/lib/openjpeg-2.3/ +-rw-r--r-- root/root usr/lib/openjpeg-2.3/OpenJPEGConfig.cmake +-rw-r--r-- root/root usr/lib/openjpeg-2.3/OpenJPEGTargets-release.cmake +-rw-r--r-- root/root usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libopenjp2.pc diff --git a/openjpeg2/.signature b/openjpeg2/.signature new file mode 100644 index 000000000..9dfc237f8 --- /dev/null +++ b/openjpeg2/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3zA5F4HcrukgA3fq2nv1grqdeILBrIviQJJUlLUfOtPYSzur1Yj3Zojl2SdBjBv4p0PkTWrvgZ3yedWPqa4hyAQ= +SHA256 (Pkgfile) = adbb2d849761077ff070725adc304fe7c5e59abb2e1fe35272963bd79361a40a +SHA256 (.footprint) = 813a671bdfc31461a6ff5132488a5bbd2c61d49c807d844077bb9da3d10643c9 +SHA256 (openjpeg-2.3.0.tar.gz) = 3dc787c1bb6023ba846c2a0d9b1f6e179f1cd255172bde9eb75b01f1e6c7d71a diff --git a/openjpeg2/Pkgfile b/openjpeg2/Pkgfile new file mode 100644 index 000000000..757480fea --- /dev/null +++ b/openjpeg2/Pkgfile @@ -0,0 +1,25 @@ +# Description: An open source JPEG 2000 codec. +# URL: https://github.com/uclouvain/openjpeg +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: lcms2 libpng + +name=openjpeg2 +version=2.3.0 +release=1 +source=(https://github.com/uclouvain/openjpeg/archive/$version/openjpeg-$version.tar.gz) + +build() { + cd openjpeg-$version + + mkdir build + cd build + + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + + make + make DESTDIR=$PKG install + +# rm -r $PKG/usr/share/doc +} |