mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
sdl2_image: bump version.
This commit is contained in:
@@ -8,9 +8,9 @@ on both libz and libjpeg."
|
||||
HOMEPAGE="https://www.libsdl.org/projects/SDL_image"
|
||||
COPYRIGHT="1997-2013 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="4"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64"
|
||||
CHECKSUM_SHA256="72df075aef91fc4585098ea7e0b072d416ec7599aa10473719fbe51e9b8f6ce8"
|
||||
SOURCE_DIR="SDL2_image-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
@@ -18,8 +18,7 @@ SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
sdl2_image${secondaryArchSuffix} = $portVersion compat >= 2
|
||||
lib:libSDL2_image${secondaryArchSuffix} = $portVersion compat >= 2
|
||||
lib:libSDL2_image_2.0${secondaryArchSuffix} = 0.0.1 compat >= 0
|
||||
lib:libSDL2_image_2.0${secondaryArchSuffix} = 0.2.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
@@ -35,7 +34,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl2_image${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
||||
devel:libSDL2_image_2.0$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
devel:libSDL2_image_2.0$secondaryArchSuffix = 0.2.0 compat >= 0
|
||||
devel:libSDL2_image$secondaryArchSuffix = $portVersion compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
@@ -44,7 +43,7 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsdl2${secondaryArchSuffix}
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix
|
||||
@@ -53,13 +52,13 @@ BUILD_REQUIRES="
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:aclocal_1.13
|
||||
cmd:automake_1.13
|
||||
cmd:aclocal
|
||||
cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:dos2unix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
@@ -67,10 +66,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
touch INSTALL NEWS README AUTHORS ChangeLog COPYING
|
||||
libtoolize --copy --force --install
|
||||
aclocal-1.13 --install -I acinclude
|
||||
autoconf
|
||||
automake-1.13
|
||||
autoreconf -fi
|
||||
dos2unix miniz.h
|
||||
runConfigure ./configure --enable-jpg-shared=no --enable-png-shared=no \
|
||||
--enable-tif-shared=no --enable-webp-shared=no
|
||||
@@ -81,9 +77,10 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLibs libSDL2_image libSDL2_image-2.0
|
||||
fixPkgconfig
|
||||
rm $developLibDir/*.la
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
Reference in New Issue
Block a user