f045d01cd6
This is version 2.x of openjpeg – as the soname is libopenjpeg2, and most other distributions package it as openjpeg2 as well, we'll call it openjpeg2, instead of bumping the openjpeg package, which tracks the 1.x release.
31 lines
919 B
Text
31 lines
919 B
Text
# Template file for 'openjpeg2'
|
|
pkgname=openjpeg2
|
|
version=2.1.0
|
|
wrksrc="openjpeg-${version}"
|
|
revision=1
|
|
build_style=cmake
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
homepage="http://www.openjpeg.org/"
|
|
license="BSD"
|
|
short_desc="Open-source JPEG 2000 codec written in C language (Version 2)"
|
|
hostmakedepends="cmake"
|
|
makedepends="libpng-devel lcms2-devel tiff-devel"
|
|
distfiles="http://downloads.sourceforge.net/project/openjpeg.mirror/${version}/openjpeg-${version}.tar.gz"
|
|
checksum="1232bb814fd88d8ed314c94f0bfebb03de8559583a33abbe8c64ef3fc0a8ff03"
|
|
|
|
libopenjpeg2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libopenjpeg2>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/openjpeg-2.*
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
libopenjpeg2_package() {
|
|
short_desc+=" - library files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|