Bep for mednafen created by GCI2012 student skycocker. Added bep for libcdio 0.90 based on the older version.

This commit is contained in:
Dario Casalinuovo
2013-01-12 19:07:42 +00:00
parent a03eece664
commit 7bc3ce1d6f
3 changed files with 68 additions and 0 deletions

View File

@@ -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"

View File

@@ -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 <endian.h>
+
#ifndef _V_RANDOM_H_
#define _V_RANDOM_H_
#include "ivorbiscodec.h"

View File

@@ -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"