diff options
author | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
commit | 873665024ebfaa761ee49b508a79db7178aeb778 (patch) | |
tree | 6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/sdl2-image/sdl2-image.xibuild | |
parent | 4445f6e15185f58dc599390ab74df3ca19b437b7 (diff) |
added gnupg
Diffstat (limited to 'repo/sdl2-image/sdl2-image.xibuild')
-rw-r--r-- | repo/sdl2-image/sdl2-image.xibuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/repo/sdl2-image/sdl2-image.xibuild b/repo/sdl2-image/sdl2-image.xibuild new file mode 100644 index 0000000..893107a --- /dev/null +++ b/repo/sdl2-image/sdl2-image.xibuild @@ -0,0 +1,38 @@ +#!/bin/sh + +NAME="sdl2-image" +DESC="A simple library to load images of various formats as SDL surfaces" + +MAKEDEPS=" sdl2 libpng libjpeg-turbo libwebp tiff zlib" + +PKG_VER=2.0.5 +SOURCE="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$PKG_VER.tar.gz" + +ADDITIONAL=" +CVE-2019-13616.patch +" + +prepare () { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --disable-static \ + --enable-png \ + --enable-png-shared \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |