mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/libjpeg-turbo to 2.1.4-2
This commit is contained in:
parent
1b30965004
commit
a688ce7a3a
2 changed files with 48 additions and 16 deletions
|
@ -6,26 +6,28 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - removed makedepends on nasm and java, -DWITH_JAVA=OFF
|
||||
|
||||
pkgname=libjpeg-turbo
|
||||
pkgver=2.1.3
|
||||
_name=libjpeg-turbo
|
||||
pkgname=$_name
|
||||
pkgver=2.1.4
|
||||
pkgrel=2
|
||||
pkgdesc="JPEG image codec with accelerated baseline compression and decompression"
|
||||
arch=(x86_64)
|
||||
url="https://libjpeg-turbo.org/"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
depends=(glibc)
|
||||
makedepends=(cmake)
|
||||
makedepends=(cmake ninja)
|
||||
provides=(libjpeg libjpeg.so libturbojpeg.so)
|
||||
options=(debug)
|
||||
source=(https://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz{,.sig})
|
||||
sha512sums=('975c9835de7d70c6c8c5a1959adfa18f7f956bc9946fde8f1b40c1d853245c38a3118ac06b93841ec3e90be6945c38d687d062b371496c2ee9b5638d7f60418d'
|
||||
source=(https://sourceforge.net/projects/$_name/files/$pkgver/$_name-$pkgver.tar.gz{,.sig})
|
||||
sha512sums=('511f065767c022da06b6c36299686fa44f83441646f7e33b766c6cfab03f91b0e6bfa456962184071dadaed4057ba9a29cba685383f3eb86a4370a1a53731a70'
|
||||
'SKIP')
|
||||
b2sums=('87ef47105e66b2ee918e95962ac59963b6adea5b49ab0db692810aee0a13a215a0ef7fe0b549ecd5151274549e12d09eb0b42439bf0a4bc1ad2c4e62dcceb77c'
|
||||
b2sums=('80ffd77d58a37eae0bdc1868d994f34ea52c13e2624c720b1d0b6ec4d6d14b16911163ccd4009c8d6eda214f31e1fff78bb7eb4739ae6589d0fd8c7008c0e972'
|
||||
'SKIP')
|
||||
validpgpkeys=('0338C8D8D9FDA62CF9C421BD7EC2DBB6F4DBF434') # The libjpeg-turbo Project (Signing key for official binaries) <information@libjpeg-turbo.org>
|
||||
|
||||
build() {
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
cmake -S $_name-$pkgver -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DENABLE_STATIC=OFF \
|
||||
|
@ -33,20 +35,21 @@ build() {
|
|||
-DWITH_JPEG8=ON \
|
||||
-W no-dev \
|
||||
-B build \
|
||||
-S $pkgname-$pkgver
|
||||
make VERBOSE=1 -C build
|
||||
-S $_name-$pkgver
|
||||
cmake --build build -v
|
||||
}
|
||||
|
||||
check() {
|
||||
make test -C build
|
||||
cd build
|
||||
ctest --output-on-failure --stop-on-failure -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
make VERBOSE=1 DESTDIR="$pkgdir" docdir=/usr/share/doc/$pkgname exampledir=/usr/share/doc/$pkgname install -C build
|
||||
DESTDIR="$pkgdir" cmake --install build -v
|
||||
|
||||
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||
ln -s ../../doc/$pkgname/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname"
|
||||
# header required by some dependants
|
||||
# header required by some dependents
|
||||
# https://bugs.archlinux.org/task/24787
|
||||
install -vDm 644 $pkgname-$pkgver/jpegint.h "$pkgdir/usr/include"
|
||||
install -vDm 644 $_name-$pkgver/jpegint.h "$pkgdir/usr/include"
|
||||
|
||||
install -vDm 644 $_name-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBF+tkd4BEADFFp/owDcrHfGDEfxJfaDaUlHaxs2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s9D26jpXfyOGOXVeiFW621ghKq7WbdpXa75rK4afpVP9VFvgvw51Ms9ZoAI8
|
||||
1+rnp+H2Kkmo328i+HZcIaGo2K/F6rRvhdEz24PwFA9o8xHmSIHiBUYv/oOrlqM3
|
||||
VFXcAGwU7zAIATUSmPgmdmcrxlKI75wwAm4tCxk5Vo1BPxCQEP7rjblPDkqLhTjh
|
||||
wphhSu0SNfpLopiIB4IH8iaM02DhC7SNILhCyKcTyTLdiDQLbY1tCEfYdu90kmD7
|
||||
lLBR+Ek0exOec3QLZR8bajj7gmABfL1gkw0UJWST/H+crmTYV2Iu6T96zQo/37xg
|
||||
0XeWKQUsRQv85dK0qyvUxBAp964ey07DuFz/eLJbX9FzeHhEWS+QRMHntrn211Bz
|
||||
hSm7BPWx79wmmyQ8xhof29Z+DsfluS5XyDnwA9KaZ4g77Ig9sub8RNJxJfVrXns2
|
||||
tTBnVLsysNbdIMT0M42NPk3QWCGcNhCwoyri7fu31AGjeo7bg1mqP4xFZVxsx7CW
|
||||
imFPBemClj+R94c7URT1I5IEK7Q+HxkML49Ou3IF2+aEXKJPgeTXZw==
|
||||
=7ZPq
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in a new issue