[arch-commits] Commit in libjpeg-turbo/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Nov 20 19:54:52 UTC 2020
Date: Friday, November 20, 2020 @ 19:54:51
Author: dvzrv
Revision: 401570
upgpkg: libjpeg-turbo 2.0.6-1: Upgrade to 2.0.6.
Remove version specific provides of libjpeg (the libjpeg.so sodep is more specific).
Apply latest cmake package guidelines.
Modified:
libjpeg-turbo/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-20 19:45:10 UTC (rev 401569)
+++ PKGBUILD 2020-11-20 19:54:51 UTC (rev 401570)
@@ -4,8 +4,8 @@
# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
pkgname=libjpeg-turbo
-pkgver=2.0.5
-pkgrel=3
+pkgver=2.0.6
+pkgrel=1
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
url='https://libjpeg-turbo.org/'
arch=('x86_64')
@@ -13,15 +13,19 @@
depends=('glibc')
makedepends=('cmake' 'nasm' 'java-environment>11')
optdepends=('java-runtime>11: for TurboJPEG Java wrapper')
-provides=('libjpeg=8.2.2' 'libjpeg.so' 'libturbojpeg.so')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('78e26d1f05b7dd9e6573b32b2324aa4b6a88a027c6b2d768aeefc46bc7780917bc850d6e77182d2ccb2cd228613a72222fbd3d1f1df0166a6e8128451ba731d2')
-b2sums=('9c0fdce1da12ec2589273e7e8cece7d9e2aa9d82a2059d7948ed51fb0999af2dd8a46fef249caa333e96bc80611c3d2f7390f882b200a79de91d979db634aaca')
+provides=('libjpeg' 'libjpeg.so' 'libturbojpeg.so')
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('504062778224f2ed2ddb64c988fbf466a14247952aab0cf1d35d281942b6f0874eafd34b45914d2208e087f05ddd896c5ba87a67c944e8bb80323e187413038c'
+ 'SKIP')
+b2sums=('1e003b147bf5bc1fed59df1eb42c8bd83f6548f267033969a6a26830afb24ae96c8ebba8407e4d2ded76da66a535ed59e249f64ed61218055771e5db9491514f'
+ 'SKIP')
+validpgpkeys=('0338C8D8D9FDA62CF9C421BD7EC2DBB6F4DBF434') # The libjpeg-turbo Project (Signing key for official binaries) <information at libjpeg-turbo.org>
build() {
cd "${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE='None' \
-DWITH_JAVA=ON \
-DWITH_JPEG8=ON \
-W no-dev \
@@ -43,7 +47,7 @@
install -C build
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -s ../../doc/libjpeg-turbo/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s ../../doc/${pkgname}/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
# header required by some dependants
# https://bugs.archlinux.org/task/24787
install -m 644 jpegint.h "${pkgdir}/usr/include"
More information about the arch-commits
mailing list