[arch-commits] Commit in libjpeg-turbo/repos/testing-x86_64 (4 files)

Jan Steffens heftig at gemini.archlinux.org
Tue Aug 16 09:32:04 UTC 2022


    Date: Tuesday, August 16, 2022 @ 09:32:04
  Author: heftig
Revision: 452996

archrelease: copy trunk to testing-x86_64

Added:
  libjpeg-turbo/repos/testing-x86_64/PKGBUILD
    (from rev 452995, libjpeg-turbo/trunk/PKGBUILD)
  libjpeg-turbo/repos/testing-x86_64/keys/
Deleted:
  libjpeg-turbo/repos/testing-x86_64/PKGBUILD
  libjpeg-turbo/repos/testing-x86_64/keys/

----------+
 PKGBUILD |  103 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 53 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-16 09:29:54 UTC (rev 452995)
+++ PKGBUILD	2022-08-16 09:32:04 UTC (rev 452996)
@@ -1,50 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
-
-pkgname=libjpeg-turbo
-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=(glibc)
-makedepends=(cmake nasm 'java-environment>11')
-optdepends=('java-runtime>11: for TurboJPEG Java wrapper')
-provides=(libjpeg libjpeg.so libturbojpeg.so)
-options=(debug)
-source=(https://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$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() {
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-        -DCMAKE_BUILD_TYPE=None \
-        -DENABLE_STATIC=OFF \
-        -DWITH_JAVA=ON \
-        -DWITH_JPEG8=ON \
-        -W no-dev \
-        -B build \
-        -S $pkgname-$pkgver
-  make VERBOSE=1 -C build
-}
-
-check() {
-  make test -C build
-}
-
-package() {
-  make VERBOSE=1 DESTDIR="$pkgdir" docdir=/usr/share/doc/$pkgname exampledir=/usr/share/doc/$pkgname install -C build
-
-  install -d "$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 -vDm 644 $pkgname-$pkgver/jpegint.h "$pkgdir/usr/include"
-}

Copied: libjpeg-turbo/repos/testing-x86_64/PKGBUILD (from rev 452995, libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-16 09:32:04 UTC (rev 452996)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+_name=libjpeg-turbo
+pkgname=$_name
+pkgver=2.1.4
+pkgrel=2
+pkgdesc="JPEG image codec with accelerated baseline compression and decompression"
+url="https://libjpeg-turbo.org/"
+arch=(x86_64)
+license=(BSD)
+depends=(glibc)
+makedepends=(cmake ninja nasm 'java-environment>11')
+optdepends=('java-runtime>11: for TurboJPEG Java wrapper')
+provides=(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() {
+  cmake -S $_name-$pkgver -B build -G Ninja \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+        -DCMAKE_BUILD_TYPE=None \
+        -DENABLE_STATIC=OFF \
+        -DWITH_JAVA=ON \
+        -DWITH_JPEG8=ON \
+        -W no-dev \
+        -B build \
+        -S $_name-$pkgver
+  cmake --build build -v
+}
+
+check() {
+  cd build
+  ctest --output-on-failure --stop-on-failure -j$(nproc)
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build -v
+
+  # header required by some dependents
+  # https://bugs.archlinux.org/task/24787
+  install -vDm 644 $_name-$pkgver/jpegint.h "$pkgdir/usr/include"
+
+  install -vDm 644 $_name-$pkgver/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list