[arch-commits] Commit in lib32-libjpeg-turbo/repos (2 files)
David Runge
dvzrv at gemini.archlinux.org
Sat Feb 26 23:08:43 UTC 2022
Date: Saturday, February 26, 2022 @ 23:08:42
Author: dvzrv
Revision: 1136718
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-libjpeg-turbo/repos/multilib-staging-x86_64/
lib32-libjpeg-turbo/repos/multilib-staging-x86_64/PKGBUILD
(from rev 1136717, lib32-libjpeg-turbo/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: lib32-libjpeg-turbo/repos/multilib-staging-x86_64/PKGBUILD (from rev 1136717, lib32-libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2022-02-26 23:08:42 UTC (rev 1136718)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+_name=libjpeg-turbo
+pkgname=lib32-$_name
+pkgver=2.1.3
+pkgrel=1
+pkgdesc="JPEG image codec with accelerated baseline compression and decompression"
+arch=(x86_64)
+url="https://libjpeg-turbo.org/"
+license=(BSD)
+depends=(lib32-glibc "$_name=$pkgver")
+makedepends=(nasm cmake)
+provides=(lib32-libjpeg libjpeg.so libturbojpeg.so)
+options=(debug)
+source=(https://sourceforge.net/projects/$_name/files/$pkgver/$_name-$pkgver.tar.gz{,.sig})
+sha512sums=('975c9835de7d70c6c8c5a1959adfa18f7f956bc9946fde8f1b40c1d853245c38a3118ac06b93841ec3e90be6945c38d687d062b371496c2ee9b5638d7f60418d'
+ 'SKIP')
+b2sums=('87ef47105e66b2ee918e95962ac59963b6adea5b49ab0db692810aee0a13a215a0ef7fe0b549ecd5151274549e12d09eb0b42439bf0a4bc1ad2c4e62dcceb77c'
+ 'SKIP')
+validpgpkeys=('0338C8D8D9FDA62CF9C421BD7EC2DBB6F4DBF434') # The libjpeg-turbo Project (Signing key for official binaries) <information at libjpeg-turbo.org>
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib32 \
+ -DCMAKE_BUILD_TYPE=None \
+ -DWITH_JPEG8=ON \
+ -W no-dev \
+ -B build \
+ -S $_name-$pkgver
+ make VERBOSE=1 -C build
+}
+
+check() {
+ make test -C build
+}
+
+package() {
+ make VERBOSE=1 DESTDIR="$pkgdir" docdir="/usr/share/doc/$_name" exampledir="/usr/share/doc/$_name" install -C build
+ # remove everything that is provided by libjpeg-turbo
+ rm -rf "$pkgdir"/usr/{include,share,bin}
+ # license
+ install -vDm 644 $_name-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list