diff --git a/extra/libjpeg-turbo/.SRCINFO b/extra/libjpeg-turbo/.SRCINFO new file mode 100644 index 000000000..4a97e03de --- /dev/null +++ b/extra/libjpeg-turbo/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = libjpeg-turbo + pkgdesc = JPEG image codec with accelerated baseline compression and decompression + pkgver = 3.0.1 + pkgrel = 1 + url = https://libjpeg-turbo.org/ + arch = x86_64 + license = BSD-3-Clause + license = IJG + license = Zlib + makedepends = cmake + makedepends = ninja + makedepends = nasm + makedepends = java-environment>11 + depends = glibc + optdepends = java-runtime>11: for TurboJPEG Java wrapper + provides = libjpeg + provides = libjpeg.so + provides = libturbojpeg.so + source = https://sourceforge.net/projects/libjpeg-turbo/files/3.0.1/libjpeg-turbo-3.0.1.tar.gz + source = https://sourceforge.net/projects/libjpeg-turbo/files/3.0.1/libjpeg-turbo-3.0.1.tar.gz.sig + validpgpkeys = 0338C8D8D9FDA62CF9C421BD7EC2DBB6F4DBF434 + sha512sums = 26a2c821a023579e82a7c2a00582747f5f24089aa0820ba304f1ff71c6894b7a6bd0468acc5ff90e2655e0a1c23a5a35a779df51f5cfa3e9eba527c709fab55b + sha512sums = SKIP + b2sums = 9d2c784edd6493c4d9e2379fc4a8f0844e440d7afe774b231f611034d481dcf1be35979fb7d731a5a8f99000780f1343b7934a59df22c1dcaef295b6294ea494 + b2sums = SKIP + +pkgname = libjpeg-turbo diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index e8edd244e..8e0fbf509 100644 --- a/extra/libjpeg-turbo/PKGBUILD +++ b/extra/libjpeg-turbo/PKGBUILD @@ -7,12 +7,16 @@ # - removed makedepends on nasm and java, -DWITH_JAVA=OFF pkgname=libjpeg-turbo -pkgver=3.0.0 +pkgver=3.0.1 pkgrel=1 pkgdesc="JPEG image codec with accelerated baseline compression and decompression" url="https://libjpeg-turbo.org/" arch=(x86_64) -license=(BSD) +license=( + BSD-3-Clause + IJG + Zlib +) depends=(glibc) makedepends=( cmake @@ -25,29 +29,22 @@ provides=( ) source=( https://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz{,.sig} - $pkgname-3.0.0-fix_test_concurrency.patch::https://github.com/libjpeg-turbo/libjpeg-turbo/commit/035ea386d1b6a99a8a1e2ab57cc1fc903569136c.patch ) -sha512sums=('2307a2e240faf5b3119cdc5cf6a0255813d74591d4a4201fd2374940683cb9de90cb5926367e633f3624b27edd292209c7cd3c38d64522716e83fc81361289b4' - 'SKIP' - '2a9fc2b42d0e88c1d9daa80e0e3a4ee0aa669c273b58a26eac0f4e6e95b464e6d76b2b22b0de36014713d8cd03b0196b345d39b93608d77a3972286f0f93c0a2') -b2sums=('9a4b74aad81c2999ab7f3cd7d8695e1132edda141f4cc8a57e671f42cad4ac16b66b0f19cf4b874b61a82c008287ad88cd81d85547c195ed30456e29cb505285' - 'SKIP' - '8e04da8af51c21cc461e8373dba6d48ae0c6a28f29f4de864afadf67224aa7d4ff794b2932d063b59b707430f20f3dd6578633f86ac97c3f383ff820763a7692') +sha512sums=('26a2c821a023579e82a7c2a00582747f5f24089aa0820ba304f1ff71c6894b7a6bd0468acc5ff90e2655e0a1c23a5a35a779df51f5cfa3e9eba527c709fab55b' + 'SKIP') +b2sums=('9d2c784edd6493c4d9e2379fc4a8f0844e440d7afe774b231f611034d481dcf1be35979fb7d731a5a8f99000780f1343b7934a59df22c1dcaef295b6294ea494' + 'SKIP') validpgpkeys=('0338C8D8D9FDA62CF9C421BD7EC2DBB6F4DBF434') # The libjpeg-turbo Project (Signing key for official binaries) -prepare() { - patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-3.0.0-fix_test_concurrency.patch -} - build() { local cmake_options=( -B build - -DCMAKE_INSTALL_PREFIX=/usr - -DCMAKE_INSTALL_LIBDIR=/usr/lib - -DCMAKE_BUILD_TYPE=None - -DENABLE_STATIC=OFF - -DWITH_JAVA=OFF - -DWITH_JPEG8=ON + -D CMAKE_INSTALL_PREFIX=/usr + -D CMAKE_INSTALL_LIBDIR=/usr/lib + -D CMAKE_BUILD_TYPE=None + -D ENABLE_STATIC=OFF + -D WITH_JAVA=OFF + -D WITH_JPEG8=ON -G Ninja -S $pkgname-$pkgver -W no-dev @@ -68,5 +65,6 @@ package() { # https://bugs.archlinux.org/task/24787 install -vDm 644 $pkgname-$pkgver/jpegint.h "$pkgdir/usr/include" - install -vDm 644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname" + install -vDm 644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm 644 $pkgname-$pkgver/README.ijg -t "$pkgdir/usr/share/licenses/$pkgname/" }