mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
mame, fix references for lib:libsdl* (#9003)
This commit is contained in:
@@ -13,7 +13,7 @@ calculators, in addition to the arcade video games that were its initial focus."
|
||||
HOMEPAGE="https://www.mamedev.org/"
|
||||
COPYRIGHT="1997-2020 MAMEDev and contributors"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/mamedev/mame/archive/mame${portVersion/./}.tar.gz"
|
||||
CHECKSUM_SHA256="7c4c9ec232ba988e65fd29665c9b8e40b5ac3aa9f561eeb107cebbf08ba94baf"
|
||||
SOURCE_FILENAME="mame-$portVersion.tar.gz"
|
||||
@@ -21,8 +21,7 @@ SOURCE_DIR="mame-mame${portVersion/./}"
|
||||
PATCHES="mame-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="
|
||||
mame.sh
|
||||
mame.rdef.in
|
||||
"
|
||||
mame.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -60,7 +59,7 @@ PROVIDES="
|
||||
cmd:srcclean$commandSuffix
|
||||
cmd:testkeys$commandSuffix
|
||||
cmd:unidasm$commandSuffix
|
||||
"
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -76,11 +75,11 @@ REQUIRES="
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libSDL2_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_ttf$secondaryArchSuffix
|
||||
lib:libSDL2_ttf_2.0$secondaryArchSuffix
|
||||
lib:libsqlite3$secondaryArchSuffix
|
||||
lib:libutf8proc$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
@@ -99,15 +98,15 @@ BUILD_REQUIRES="
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_ttf$secondaryArchSuffix
|
||||
devel:libSDL2_ttf_2.0$secondaryArchSuffix
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
devel:libutf8proc$secondaryArchSuffix >= 2
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:moc$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
@@ -115,7 +114,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
cmd:strip$secondaryArchSuffix
|
||||
cmd:which
|
||||
"
|
||||
"
|
||||
|
||||
defineDebugInfoPackage mame$secondaryArchSuffix \
|
||||
$commandBinDir/castool \
|
||||
@@ -135,8 +134,6 @@ defineDebugInfoPackage mame$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# make clean
|
||||
|
||||
# This is wrong on so many levels
|
||||
SYS_LDFLAGS="-lbsd -lnetwork " # trailing space required!
|
||||
for _i in flac libutf8proc lua RapidJSON sqlite3; do
|
||||
|
||||
Reference in New Issue
Block a user