From 7bc3ce1d6fc87871cc80e5ad1ce9ae7fa1df02d7 Mon Sep 17 00:00:00 2001 From: Dario Casalinuovo Date: Sat, 12 Jan 2013 19:07:42 +0000 Subject: [PATCH] Bep for mednafen created by GCI2012 student skycocker. Added bep for libcdio 0.90 based on the older version. --- app-emulation/mednafen/mednafen-0.9.26.bep | 29 +++++++++++++++++++ .../mednafen/patches/mednafen-0.9.26.patch | 13 +++++++++ dev-libs/libcdio/libcdio-0.90.bep | 26 +++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 app-emulation/mednafen/mednafen-0.9.26.bep create mode 100644 app-emulation/mednafen/patches/mednafen-0.9.26.patch create mode 100644 dev-libs/libcdio/libcdio-0.90.bep diff --git a/app-emulation/mednafen/mednafen-0.9.26.bep b/app-emulation/mednafen/mednafen-0.9.26.bep new file mode 100644 index 000000000..a273028a5 --- /dev/null +++ b/app-emulation/mednafen/mednafen-0.9.26.bep @@ -0,0 +1,29 @@ +DESCRIPTION="A portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator" +HOMEPAGE="http://mednafen.sourceforge.net/" +SRC_URI="http://sourceforge.net/projects/mednafen/files/Mednafen/0.9.26-WIP/mednafen-0.9.26-wip.tar.bz2/download" +CHECKSUM_MD5="cf4eadb057e91c59b181d07bc12245f0" +REVISION="1" +STATUS_HAIKU="stable" +MESSAGE="This port builds only with gcc4. Use 'setgcc gcc4' before building." +DEPEND="media-libs/libsdl >= 1.2.15, + dev-libs/libcdio >= 0.82, + media-libs/libsndfile >= 1.0.21" + +BUILD { + cd mednafen + ./configure --prefix=`finddir B_COMMON_DIRECTORY` + make +} + +INSTALL { + cd mednafen + make install +} + +TEST { + cd mednafen + make check +} + +LICENSE="GNU GPL v2" +COPYRIGHT="2005-2012 Mednafen Team" diff --git a/app-emulation/mednafen/patches/mednafen-0.9.26.patch b/app-emulation/mednafen/patches/mednafen-0.9.26.patch new file mode 100644 index 000000000..64199c1fe --- /dev/null +++ b/app-emulation/mednafen/patches/mednafen-0.9.26.patch @@ -0,0 +1,13 @@ +diff -Naur mednafen/mednafen/tremor/misc.h mednafen-haiku/mednafen/tremor/misc.h +--- mednafen/mednafen/tremor/misc.h 2012-03-29 20:58:54.021757952 +0000 ++++ mednafen-haiku/mednafen/tremor/misc.h 2013-01-05 18:21:51.628883456 +0000 +@@ -15,6 +15,9 @@ + + ********************************************************************/ + ++//Haiku ++#include ++ + #ifndef _V_RANDOM_H_ + #define _V_RANDOM_H_ + #include "ivorbiscodec.h" diff --git a/dev-libs/libcdio/libcdio-0.90.bep b/dev-libs/libcdio/libcdio-0.90.bep new file mode 100644 index 000000000..ccb9b0931 --- /dev/null +++ b/dev-libs/libcdio/libcdio-0.90.bep @@ -0,0 +1,26 @@ +DESCRIPTION="A library to encapsulate CD-ROM reading and control" +HOMEPAGE="http://www.gnu.org/software/libcdio" +SRC_URI="ftp://ftp.gnu.org/gnu/libcdio/libcdio-0.90.tar.gz" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="dev-libs/libiconv >= 1.12 + dev-util/pkgconfig" +CHECKSUM_MD5="1b245b023fb03a58d030fd2800db3247" +BUILD { + cd libcdio-0.90 + libtoolize --force --copy --install + aclocal -I m4 + autoconf + automake + ./configure --prefix=`finddir B_COMMON_DIRECTORY` + make +} + +INSTALL { + cd libcdio-0.90 + make install +} + +LICENSE="GNU GPL v3" +COPYRIGHT="2003-2011 Rocky Bernstein + 1996-1998 Gerd Knorr and Heiko Eißfeldt"