From 32b9d7006677c0cda7e7df4b0c87dafe80aacc40 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 6 Dec 2015 00:55:38 +0000 Subject: [PATCH] extra/libjpeg-turbo to 1.4.2-2 --- extra/libjpeg-turbo/PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 23777f396..22ac9e9b3 100644 --- a/extra/libjpeg-turbo/PKGBUILD +++ b/extra/libjpeg-turbo/PKGBUILD @@ -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 }