lbreakout2: fix references to libSDL* (#4029)

This commit is contained in:
Schrijvers Luc
2019-07-26 15:56:32 +02:00
committed by Jérôme Duval
parent 671fa8b9de
commit 3cb194ee09

View File

@@ -11,7 +11,7 @@ Additional, user-created levels and themes are available as separate packages."
HOMEPAGE="http://lgames.sourceforge.net/"
COPYRIGHT="2001-2015 Michael Speck"
LICENSE="GNU GPL v2"
REVISION="5"
REVISION="6"
SOURCE_URI="https://sourceforge.net/projects/lgames/files/lbreakout2/2.6/lbreakout2-$portVersion.tar.gz"
CHECKSUM_SHA256="9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f"
PATCHES="lbreakout2-$portVersion.patchset"
@@ -29,9 +29,9 @@ REQUIRES="
lib:libiconv
lib:libintl
lib:libpng16
lib:libsdl
lib:libsdl_mixer
lib:libsdl_net_1.2
lib:libSDL_1.2
lib:libSDL_mixer_1.2
lib:libSDL_net_1.2
lib:libz
"
@@ -40,9 +40,9 @@ BUILD_REQUIRES="
devel:libiconv
devel:libintl
devel:libpng16
devel:libsdl
devel:libsdl_mixer
devel:libsdl_net_1.2
devel:libSDL
devel:libSDL_mixer
devel:libSDL_net
devel:libz
"
BUILD_PREREQUIRES="
@@ -50,14 +50,15 @@ BUILD_PREREQUIRES="
cmd:autoreconf
cmd:awk
cmd:gcc
cmd:libtoolize
cmd:ld
cmd:make
"
BUILD()
{
autoreconf -vfi
LDFLAGS="-lintl -lnetwork" runConfigure ./configure --with-docdir=$documentationDir
LDFLAGS="-lintl -lnetwork" \
runConfigure ./configure --with-docdir=$documentationDir
make $jobArgs
}
@@ -69,8 +70,7 @@ INSTALL()
$binDir/lbreakout2
rm -rf $localStateDir
rm -rf $dataDir/applications
rm -rf $dataDir/icons
rm -rf $dataDir/{applications,icons}
addAppDeskbarSymlink $binDir/lbreakout2 LBreakout2
}