[arch-commits] Commit in sdl2_image/repos (3 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Sat Aug 20 17:15:38 UTC 2022


    Date: Saturday, August 20, 2022 @ 17:15:38
  Author: svenstaro
Revision: 454084

archrelease: copy trunk to testing-x86_64

Added:
  sdl2_image/repos/testing-x86_64/
  sdl2_image/repos/testing-x86_64/PKGBUILD
    (from rev 454083, sdl2_image/trunk/PKGBUILD)
  sdl2_image/repos/testing-x86_64/keys/

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: sdl2_image/repos/testing-x86_64/PKGBUILD (from rev 454083, sdl2_image/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-08-20 17:15:38 UTC (rev 454084)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+pkgname=sdl2_image
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="A simple library to load images of various formats as SDL surfaces (Version 2)"
+arch=('x86_64')
+url="https://github.com/libsdl-org/SDL_image"
+license=('MIT')
+depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp' 'libavif' 'libjxl')
+makedepends=('cmake')
+source=("https://github.com/libsdl-org/SDL_image/releases/download/release-${pkgver}/SDL2_image-${pkgver}.tar.gz"{,.sig})
+sha512sums=('b2bcd54c90bd76d12af41bbfc5bfaa5fcba42fe4adcb3587568af8ee74c4e7a4d7d3606638d0668974224e648db9b7267b76b067362cf59e98551547905f46f7'
+            'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
+
+build() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+  ./configure --disable-static --prefix=/usr \
+    --disable-jpg-shared \
+    --disable-png-shared \
+    --disable-stb-image \
+    --disable-tif-shared \
+    --disable-jxl-shared \
+    --disable-webp-shared
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list