mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
advancemame: added a recipe for version 1.3 beta.
This commit is contained in:
68
games-emulation/advancemame/advancemame-1.3.recipe
Normal file
68
games-emulation/advancemame/advancemame-1.3.recipe
Normal file
@@ -0,0 +1,68 @@
|
||||
SUMMARY="unofficial MAME version with an advanced video support"
|
||||
DESCRIPTION="
|
||||
AdvanceMAME is unofficial MAME version with an \
|
||||
advanced video support for helping the use with TVs, Arcade \
|
||||
monitors, PC monitors and LCD screens.
|
||||
"
|
||||
HOMEPAGE="http://advancemame.sourceforge.net"
|
||||
#SRC_URI="http://downloads.sourceforge.net/projects/advancemame/files/advancemame/$portVersion/advancemame-$portVersion.tar.gz"
|
||||
SRC_URI="http://advancemame.sourceforge.net/beta/advancemame-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f8c30408d64617f1b737a05c9d3e06cdafc3824e66eee68a2888d63c4e1ecf74"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="
|
||||
1996-2006, Nicola Salmoria and the MAME Team
|
||||
"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PATCHES="advancemame-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
advancemame$secondaryArchSuffix = $portVersion
|
||||
cmd:advj$secondaryArchSuffix
|
||||
cmd:advk$secondaryArchSuffix
|
||||
cmd:advm$secondaryArchSuffix
|
||||
cmd:advmame$secondaryArchSuffix
|
||||
cmd:advs$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:libtoolize
|
||||
cmd:find
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
22
games-emulation/advancemame/patches/advancemame-1.3.patchset
Normal file
22
games-emulation/advancemame/patches/advancemame-1.3.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 1a116f19910d302fea0fc4f5a7a8a1940fc1e1b3 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 16 May 2015 18:20:46 +0000
|
||||
Subject: don't set docdir and mandir, we do already.
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2b30037..514a621 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1140,8 +1140,6 @@ AC_SUBST([CONF_LIB_JEVENT],[$ac_lib_jevent])
|
||||
|
||||
# Final
|
||||
AC_SUBST([CONF_LIB_DIRECT],[$ac_lib_direct_flag])
|
||||
-AC_SUBST([mandir],['${prefix}/man'])
|
||||
-AC_SUBST([docdir],['${prefix}/doc'])
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user