[arch-commits] Commit in lib32-libjpeg-turbo/repos (3 files)
David Runge
dvzrv at gemini.archlinux.org
Mon Aug 15 17:05:59 UTC 2022
Date: Monday, August 15, 2022 @ 17:05:59
Author: dvzrv
Revision: 1266173
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 1266172, lib32-libjpeg-turbo/trunk/PKGBUILD)
lib32-libjpeg-turbo/repos/multilib-staging-x86_64/keys/
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: lib32-libjpeg-turbo/repos/multilib-staging-x86_64/PKGBUILD (from rev 1266172, lib32-libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2022-08-15 17:05:59 UTC (rev 1266173)
@@ -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.4
+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=('511f065767c022da06b6c36299686fa44f83441646f7e33b766c6cfab03f91b0e6bfa456962184071dadaed4057ba9a29cba685383f3eb86a4370a1a53731a70'
+ 'SKIP')
+b2sums=('80ffd77d58a37eae0bdc1868d994f34ea52c13e2624c720b1d0b6ec4d6d14b16911163ccd4009c8d6eda214f31e1fff78bb7eb4739ae6589d0fd8c7008c0e972'
+ '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