extra/libjpeg-turbo to 1.5.0-1

This commit is contained in:
Kevin Mihelich 2016-06-12 19:32:50 +00:00
parent d9dd59f356
commit d8b0634e77

View file

@ -8,21 +8,27 @@
# - added --without-simd to configure, no NEON
pkgname=libjpeg-turbo
pkgver=1.4.2
pkgrel=2
pkgver=1.5.0
pkgrel=1
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
url='http://libjpeg-turbo.virtualgl.org/'
arch=('i686' 'x86_64')
license=('custom')
makedepends=('jdk8-openjdk')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('2666158ccd5318513f875867bbc4af52f6eb9f0b')
provides=('libjpeg=8.0.2' 'turbojpeg')
sha1sums=('9adc21b927e48e4c6889e77079f6c1f3eecf98ab')
provides=('libjpeg=8.1.2' 'turbojpeg')
conflicts=('libjpeg' 'turbojpeg')
replaces=('libjpeg' 'turbojpeg')
options=('!makeflags')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export JNI_CFLAGS='-I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux'