summaryrefslogtreecommitdiffstats
path: root/abs/extra/openjpeg
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-15 19:44:56 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-15 19:44:56 (GMT)
commit39f6b0306d84460e3da6298493a7a475fce6d767 (patch)
tree1f78f38c9a309c3fadeaac719c1d5c9b21670c39 /abs/extra/openjpeg
parent0fcbf1b888fe7da272ce5219da4b942d5f84e455 (diff)
downloadlinhes_pkgbuild-39f6b0306d84460e3da6298493a7a475fce6d767.zip
linhes_pkgbuild-39f6b0306d84460e3da6298493a7a475fce6d767.tar.gz
linhes_pkgbuild-39f6b0306d84460e3da6298493a7a475fce6d767.tar.bz2
openjpeg: update to 1.5.2
Diffstat (limited to 'abs/extra/openjpeg')
-rw-r--r--abs/extra/openjpeg/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/abs/extra/openjpeg/PKGBUILD b/abs/extra/openjpeg/PKGBUILD
index 7055c19..4674af0 100644
--- a/abs/extra/openjpeg/PKGBUILD
+++ b/abs/extra/openjpeg/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 156266 2012-04-16 14:12:28Z jgc $
+# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=openjpeg
-pkgver=1.5.0
+pkgver=1.5.2
pkgrel=1
pkgdesc="An open source JPEG 2000 codec"
arch=(i686 x86_64)
license=('BSD')
url="http://www.openjpeg.org"
depends=('zlib')
-options=('!libtool')
-source=(http://openjpeg.googlecode.com/files/openjpeg-${pkgver}.tar.gz)
-sha1sums=('dce705ae45f137e4698a8cf39d1fbf22bc434fa8')
+makedepends=('libtiff' 'lcms2' 'libpng' 'doxygen')
+optdepends=('lcms2: j2k_to_image and image_to_j2k programs'
+ 'libpng: j2k_to_image and image_to_j2k programs')
+source=(http://downloads.sourceforge.net/openjpeg.mirror/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('496e99ff1d37b73bbce6a066dd9bd3576ebca0a2')
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
+ autoreconf -fi
# make sure we use system libs
- rm -rf thirtparty
+ rm -rf thirdparty
./configure --prefix=/usr \
- --disable-static --disable-silent-rules
+ --enable-shared --disable-static --disable-silent-rules
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/openjpeg"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/openjpeg/LICENSE"