New package: openjpeg2-2.1.0

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.
This commit is contained in:
Dominik Honnef 2014-07-30 00:04:17 +02:00
parent e17f497f98
commit f045d01cd6
4 changed files with 34 additions and 0 deletions

View File

@ -1684,3 +1684,4 @@ libepoxy.so.0 libepoxy-1.2_1
libfakekey.so.0 libfakekey-0.1_1
libsmartcols.so.1 libsmartcols-2.25_1
libspiro.so.0 libspiro-0.2_1
libopenjp2.so.7 libopenjpeg2-2.1.0_1

1
srcpkgs/libopenjpeg2 Symbolic link
View File

@ -0,0 +1 @@
openjpeg2

1
srcpkgs/libopenjpeg2-devel Symbolic link
View File

@ -0,0 +1 @@
openjpeg2

View File

@ -0,0 +1,31 @@
# 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.*"
}
}