sdl2_gfx, remove obsolete, remove non provided lib:libsdl2_gfx (#8992)

This commit is contained in:
Schrijvers Luc
2023-07-06 17:02:39 +02:00
committed by GitHub
parent 1e6843fb61
commit 8239477b54
2 changed files with 1 additions and 79 deletions

View File

@@ -1,77 +0,0 @@
SUMMARY="SDL2 graphics drawing primitives and other support functions"
DESCRIPTION="
The SDL2_gfx library evolved out of the SDL_gfxPrimitives code which provided \
basic drawing routines such as lines, circles or polygons and SDL_rotozoom \
which implemented a interpolating rotozoomer for SDL_surfaces."
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
COPYRIGHT="1999-2012 A. Schiffler"
LICENSE="Zlib"
REVISION="2"
SOURCE_URI="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-$portVersion.tar.gz"
CHECKSUM_SHA256="a4066bd467c96469935a4b1fe472893393e7d74e45f95d59f69726784befd8f8"
SOURCE_DIR="SDL2_gfx-$portVersion"
ARCHITECTURES="all"
PROVIDES="
sdl2_gfx = $portVersion compat >= 1
lib:libsdl2_gfx_1.0 = 0.0.2 compat >= 0
"
REQUIRES="
haiku
lib:libgl
lib:libsdl2_2.0
"
PROVIDES_devel="
sdl2_gfx_devel = $portVersion compat >= 1
devel:libsdl2_gfx
"
REQUIRES_devel="
sdl2_gfx == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl2_2.0
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:libtool
cmd:make
cmd:pkg_config${secondaryArchSuffix}
cmd:sdl2_config${secondaryArchSuffix}
"
BUILD()
{
autoreconf -fi
runConfigure ./configure --disable-mmx
make
}
INSTALL()
{
make install
#remove libtool file
rm $libDir/*.la
prepareInstalledDevelLib libSDL2_gfx
fixPkgconfig
packageEntries devel \
$developDir
}
TEST()
{
cd Test
runConfigure ./configure
# fails to configure due to missing sdl_gfx
make
ls
}

View File

@@ -6,7 +6,7 @@ which implemented a interpolating rotozoomer for SDL_surfaces."
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
COPYRIGHT="1999-2018 A. Schiffler"
LICENSE="Zlib"
REVISION="3"
REVISION="4"
SOURCE_URI="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-$portVersion.tar.gz"
CHECKSUM_SHA256="63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262"
SOURCE_DIR="SDL2_gfx-$portVersion"
@@ -19,7 +19,6 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
sdl2_gfx$secondaryArchSuffix = $portVersion compat >= 1
lib:libSDL2_gfx$secondaryArchSuffix = $libVersionCompat
lib:libSDL2_gfx_1.0$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="