openjpeg2: initial import

This commit is contained in:
Danny Rawlins 2019-03-19 18:10:12 +11:00
parent ee8604fa49
commit 5b3e6b15f8
3 changed files with 51 additions and 0 deletions

21
openjpeg2/.footprint Normal file
View File

@ -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

5
openjpeg2/.signature Normal file
View File

@ -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

25
openjpeg2/Pkgfile Normal file
View File

@ -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
}