summaryrefslogtreecommitdiffstats
path: root/abs/core/libjpeg-turbo/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-29 14:58:38 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-29 14:58:38 (GMT)
commitf0c1f06b75427d6bc68a95ec5de747b10da1e09f (patch)
treeca4356b943ece300a23005898de842674457b04b /abs/core/libjpeg-turbo/PKGBUILD
parent415889576cfd85f52b9d3c5aa7f47c31225dc1b8 (diff)
downloadlinhes_pkgbuild-f0c1f06b75427d6bc68a95ec5de747b10da1e09f.zip
linhes_pkgbuild-f0c1f06b75427d6bc68a95ec5de747b10da1e09f.tar.gz
linhes_pkgbuild-f0c1f06b75427d6bc68a95ec5de747b10da1e09f.tar.bz2
libjpeg-turbo: update to 1.4.2
Diffstat (limited to 'abs/core/libjpeg-turbo/PKGBUILD')
-rw-r--r--abs/core/libjpeg-turbo/PKGBUILD30
1 files changed, 14 insertions, 16 deletions
diff --git a/abs/core/libjpeg-turbo/PKGBUILD b/abs/core/libjpeg-turbo/PKGBUILD
index e2dedc3..954db63 100644
--- a/abs/core/libjpeg-turbo/PKGBUILD
+++ b/abs/core/libjpeg-turbo/PKGBUILD
@@ -4,33 +4,31 @@
# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
pkgname=libjpeg-turbo
-pkgver=1.3.1
-pkgrel=3
+pkgver=1.4.2
+pkgrel=2
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
url='http://libjpeg-turbo.virtualgl.org/'
-license=('GPL' 'custom')
arch=('i686' 'x86_64')
-makedepends=('nasm')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- 'jstdhuff.patch'
- 'overrun.patch')
-sha1sums=('5fa19252e5ca992cfa40446a0210ceff55fbe468'
- 'f459890257df430dc4e2d8bd3060173a1be7516e'
- '438aba2241b19857bab090c6f61bd3f249f27591')
+license=('custom')
+makedepends=('nasm' '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')
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p0 -i ../jstdhuff.patch # FS#42747
- patch -p1 -i ../overrun.patch # FS#42922
-}
+options=('!makeflags')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
+ 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
}