mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libjpeg-turbo to 2.1.5.1-1
This commit is contained in:
parent
2efea10ce9
commit
1b9c44df1b
1 changed files with 11 additions and 22 deletions
|
@ -6,10 +6,9 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - removed makedepends on nasm and java, -DWITH_JAVA=OFF
|
||||
|
||||
_name=libjpeg-turbo
|
||||
pkgname=$_name
|
||||
pkgver=2.1.5
|
||||
pkgrel=2
|
||||
pkgname=libjpeg-turbo
|
||||
pkgver=2.1.5.1
|
||||
pkgrel=1
|
||||
pkgdesc="JPEG image codec with accelerated baseline compression and decompression"
|
||||
url="https://libjpeg-turbo.org/"
|
||||
arch=(x86_64)
|
||||
|
@ -17,23 +16,13 @@ license=(BSD)
|
|||
depends=(glibc)
|
||||
makedepends=(cmake ninja)
|
||||
provides=(libjpeg libjpeg.so libturbojpeg.so)
|
||||
source=(https://sourceforge.net/projects/$_name/files/$pkgver/$_name-$pkgver.tar.gz{,.sig}
|
||||
$_name-initialize-simd_support.patch::https://github.com/libjpeg-turbo/libjpeg-turbo/commit/4e028ecd63aa.patch)
|
||||
sha512sums=('ceab6d1c3c46d2816b06402e3b912e950d887fc8a6fb32fa6876f4aaa663b4769d8f4c50e1b967addf6704d0760ca14ed723d55e0312d7ca69e7f2a91484c0dc'
|
||||
'SKIP'
|
||||
'9275268b5e138ee76a7245aded05917a16c05951441d53bd1b6e65a306a75dc0d0c672c7aa5d52edce7ec197a7fba5658ffe7db0a406d83a88d55819338a5023')
|
||||
b2sums=('c65de2717ddc33447064412738b2db94a92693faad18f29f14c5c368d9eb4c617fe447a6f9428d9a101458dec0c65abc527e20632571eaa727d98cd5435241d4'
|
||||
'SKIP'
|
||||
'9bbad32e30289951a95ebef4ce36a0045d69f50a73a72a4f4820257acabfb6e6a9234538bfcc76441885c2fccf01d44008f7795c3b85921b23cbb1e4a0c05228')
|
||||
source=(https://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz{,.sig})
|
||||
sha512sums=('86a7248d064043b26b09755633ef4872a2a6133c9e677a9fe4be6645b2e0fde102cf01e09119967b3b6b85f4cb93f3f7c49ec4973944d5eff99b5b90ce8b0be6'
|
||||
'SKIP')
|
||||
b2sums=('9583a0a91e45347d651de6bf5192a23bfe4e64cef67cdbb18f5b578b424fc46fc114e5649e93a467906cf047948e43a11b6d17b48c47f879c51cff1a4ef356ff'
|
||||
'SKIP')
|
||||
validpgpkeys=('0338C8D8D9FDA62CF9C421BD7EC2DBB6F4DBF434') # The libjpeg-turbo Project (Signing key for official binaries) <information@libjpeg-turbo.org>
|
||||
|
||||
prepare() {
|
||||
cd $_name-$pkgver
|
||||
|
||||
# https://github.com/libjpeg-turbo/libjpeg-turbo/issues/649
|
||||
patch -Np1 -i ../$_name-initialize-simd_support.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
local cmake_options=(
|
||||
-B build
|
||||
|
@ -44,7 +33,7 @@ build() {
|
|||
-DWITH_JAVA=OFF
|
||||
-DWITH_JPEG8=ON
|
||||
-G Ninja
|
||||
-S $_name-$pkgver
|
||||
-S $pkgname-$pkgver
|
||||
-W no-dev
|
||||
)
|
||||
|
||||
|
@ -61,7 +50,7 @@ package() {
|
|||
|
||||
# header required by some dependents
|
||||
# https://bugs.archlinux.org/task/24787
|
||||
install -vDm 644 $_name-$pkgver/jpegint.h "$pkgdir/usr/include"
|
||||
install -vDm 644 $pkgname-$pkgver/jpegint.h "$pkgdir/usr/include"
|
||||
|
||||
install -vDm 644 $_name-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
install -vDm 644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue