mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +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
|
pkgname=libjpeg-turbo
|
||||||
pkgver=1.4.2
|
pkgver=1.4.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
|
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
|
||||||
url='http://libjpeg-turbo.virtualgl.org/'
|
url='http://libjpeg-turbo.virtualgl.org/'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
makedepends=('jdk8-openjdk')
|
||||||
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||||
sha1sums=('2666158ccd5318513f875867bbc4af52f6eb9f0b')
|
sha1sums=('2666158ccd5318513f875867bbc4af52f6eb9f0b')
|
||||||
provides=('libjpeg=8.0.2' 'turbojpeg')
|
provides=('libjpeg=8.0.2' 'turbojpeg')
|
||||||
conflicts=('libjpeg' 'turbojpeg')
|
conflicts=('libjpeg' 'turbojpeg')
|
||||||
replaces=('libjpeg' 'turbojpeg')
|
replaces=('libjpeg' 'turbojpeg')
|
||||||
|
|
||||||
|
options=('!makeflags')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue