mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libjpeg-turbo to 1.4.2-2
This commit is contained in:
parent
c23e8cc456
commit
32b9d70066
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue