extra/libjpeg-turbo to 1.4.2-2

This commit is contained in:
Kevin Mihelich 2015-12-06 00:55:38 +00:00
parent c23e8cc456
commit 32b9d70066

View file

@ -9,20 +9,29 @@
pkgname=libjpeg-turbo
pkgver=1.4.2
pkgrel=1
pkgrel=2
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')
conflicts=('libjpeg' 'turbojpeg')
replaces=('libjpeg' 'turbojpeg')
options=('!makeflags')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man --without-simd
export JNI_CFLAGS='-I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux'
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--with-jpeg8 \
--with-java \
make
}