summaryrefslogtreecommitdiffstats
path: root/abs/core/libjpeg-turbo/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-04 18:51:41 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-04 18:51:41 (GMT)
commit41f84477615bd6e2286c681458a72685207bddf6 (patch)
treeaab9e32c918a94304870f5de322c1038b3c512d8 /abs/core/libjpeg-turbo/PKGBUILD
parentb88253492f364da79024745e2be2ede68b7164b7 (diff)
downloadlinhes_pkgbuild-41f84477615bd6e2286c681458a72685207bddf6.zip
linhes_pkgbuild-41f84477615bd6e2286c681458a72685207bddf6.tar.gz
linhes_pkgbuild-41f84477615bd6e2286c681458a72685207bddf6.tar.bz2
libjpeg-turbo: update to 1.3.1-3
Diffstat (limited to 'abs/core/libjpeg-turbo/PKGBUILD')
-rw-r--r--abs/core/libjpeg-turbo/PKGBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/abs/core/libjpeg-turbo/PKGBUILD b/abs/core/libjpeg-turbo/PKGBUILD
index 65f5bc4..e2dedc3 100644
--- a/abs/core/libjpeg-turbo/PKGBUILD
+++ b/abs/core/libjpeg-turbo/PKGBUILD
@@ -5,19 +5,29 @@
pkgname=libjpeg-turbo
pkgver=1.3.1
-pkgrel=1
+pkgrel=3
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")
-sha1sums=('5fa19252e5ca992cfa40446a0210ceff55fbe468')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ 'jstdhuff.patch'
+ 'overrun.patch')
+sha1sums=('5fa19252e5ca992cfa40446a0210ceff55fbe468'
+ 'f459890257df430dc4e2d8bd3060173a1be7516e'
+ '438aba2241b19857bab090c6f61bd3f249f27591')
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
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man