2007-04-11 05:27:15 +10:00
|
|
|
# Description: SDL_image is an image file loading library.
|
2023-10-15 11:15:37 +00:00
|
|
|
# URL: https://www.github.com/libsdl-org/SDL_image
|
2023-03-03 11:52:19 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2008-02-24 17:00:54 +11:00
|
|
|
# Depends on: libtiff libpng libsdl
|
2023-03-03 11:52:19 -05:00
|
|
|
# Optional: libwebp
|
2007-04-11 05:27:15 +10:00
|
|
|
|
|
|
|
name=sdl_image
|
2023-10-15 11:15:37 +00:00
|
|
|
version=1.2.13
|
|
|
|
_commit=4a2fe2441695e3813b3f998a802f364b4cdbdd17
|
2007-04-11 05:27:15 +10:00
|
|
|
release=1
|
2023-10-15 11:15:37 +00:00
|
|
|
source=(https://github.com/libsdl-org/SDL_image/archive/$_commit/$name-$version.tar.gz)
|
2007-04-11 05:27:15 +10:00
|
|
|
|
|
|
|
build() {
|
2023-10-15 11:15:37 +00:00
|
|
|
cd SDL_image-$_commit
|
|
|
|
./configure --prefix=/usr --disable-sdltest
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-04-11 05:27:15 +10:00
|
|
|
}
|