mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Recipe cosmetics: improved SUMMARY/DESCRIPTION and re-ordered blocks.
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
SUMMARY="Simple Direct Media Layer Image Library"
|
||||
DESCRIPTION="
|
||||
SDL_image is an image file loading library. It loads images as SDL surfaces, \
|
||||
and supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, \
|
||||
TIFF, WEBP, XCF, XPM, XV
|
||||
SUMMARY="Simple Direct Media Layer image library"
|
||||
DESCRIPTION="SDL_image is an image file loading library. It loads images as \
|
||||
SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, \
|
||||
PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV
|
||||
As of SDL_image 1.2.5, JPEG, PNG, TIFF, and WEBP image loading libraries are \
|
||||
dynamically loaded, so if you don't need to load those formats, you don't need \
|
||||
to include those shared libraries. libpng depends on libz, and libtiff depends \
|
||||
on both libz and libjpeg.
|
||||
"
|
||||
on both libz and libjpeg."
|
||||
HOMEPAGE="http://www.libsdl.org/projects/SDL_image"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="5"
|
||||
SOURCE_URI="http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz"
|
||||
CHECKSUM_SHA256="0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699"
|
||||
REVISION="5"
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
SOURCE_DIR="SDL_image-1.2.12"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
@@ -23,7 +22,6 @@ PROVIDES="
|
||||
lib:libSDL_image$secondaryArchSuffix = 1.2_0.8.4 compat >= 1.2_0
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libSDL$secondaryArchSuffix
|
||||
@@ -37,8 +35,18 @@ REQUIRES="
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
PROVIDES_devel="
|
||||
sdl_image${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
||||
devel:sdl_image$secondaryArchSuffix = 0.8.4 compat >= 0
|
||||
devel:libSDL_image$secondaryArchSuffix = 1.2_0.8.4 compat >= 0
|
||||
devel:libSDL_image_1.2$secondaryArchSuffix = 0.8.4 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
sdl_image$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
@@ -47,7 +55,6 @@ BUILD_REQUIRES="
|
||||
devel:libwebp$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
@@ -59,8 +66,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:sdl_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL_image-1.2.12"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
@@ -87,14 +92,3 @@ INSTALL()
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl_image${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
||||
devel:sdl_image$secondaryArchSuffix = 0.8.4 compat >= 0
|
||||
devel:libSDL_image$secondaryArchSuffix = 1.2_0.8.4 compat >= 0
|
||||
devel:libSDL_image_1.2$secondaryArchSuffix = 0.8.4 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl_image$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user