From c4d625d9ed81007302b524ab41ea3fd0433bd260 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 16 May 2015 18:23:24 +0000 Subject: [PATCH] advancemame: added a recipe for version 1.3 beta. --- .../advancemame/advancemame-1.3.recipe | 68 +++++++++++++++++++ .../patches/advancemame-1.3.patchset | 22 ++++++ 2 files changed, 90 insertions(+) create mode 100644 games-emulation/advancemame/advancemame-1.3.recipe create mode 100644 games-emulation/advancemame/patches/advancemame-1.3.patchset diff --git a/games-emulation/advancemame/advancemame-1.3.recipe b/games-emulation/advancemame/advancemame-1.3.recipe new file mode 100644 index 000000000..452164298 --- /dev/null +++ b/games-emulation/advancemame/advancemame-1.3.recipe @@ -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 +} diff --git a/games-emulation/advancemame/patches/advancemame-1.3.patchset b/games-emulation/advancemame/patches/advancemame-1.3.patchset new file mode 100644 index 000000000..3553b4243 --- /dev/null +++ b/games-emulation/advancemame/patches/advancemame-1.3.patchset @@ -0,0 +1,22 @@ +From 1a116f19910d302fea0fc4f5a7a8a1940fc1e1b3 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +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 +