summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-02-09 10:21:03 +0000
committerTim Harder <radhermit@gentoo.org>2011-02-09 10:21:03 +0000
commita38a2bc3d3971de1d7648d2b9606f4ba6dc8ee17 (patch)
treed0dee276802cf3c8cd4cde04670b1715bb18c8af /games-emulation/vbam
parentBump for #354217 (diff)
downloadhistorical-a38a2bc3d3971de1d7648d2b9606f4ba6dc8ee17.tar.gz
historical-a38a2bc3d3971de1d7648d2b9606f4ba6dc8ee17.tar.bz2
historical-a38a2bc3d3971de1d7648d2b9606f4ba6dc8ee17.zip
Initial import (bug #254480). Ebuild by me.
Package-Manager: portage-2.2.0_alpha22/cvs/Linux x86_64
Diffstat (limited to 'games-emulation/vbam')
-rw-r--r--games-emulation/vbam/ChangeLog11
-rw-r--r--games-emulation/vbam/Manifest20
-rw-r--r--games-emulation/vbam/files/vbam-1.8.0_p20110206-cflags.patch11
-rw-r--r--games-emulation/vbam/files/vbam-1.8.0_p20110206-disable-asm.patch20
-rw-r--r--games-emulation/vbam/metadata.xml9
-rw-r--r--games-emulation/vbam/vbam-1.8.0_p20110206.ebuild56
6 files changed, 127 insertions, 0 deletions
diff --git a/games-emulation/vbam/ChangeLog b/games-emulation/vbam/ChangeLog
new file mode 100644
index 000000000000..7b8a07527706
--- /dev/null
+++ b/games-emulation/vbam/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-emulation/vbam
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/ChangeLog,v 1.1 2011/02/09 10:21:03 radhermit Exp $
+
+*vbam-1.8.0_p20110206 (09 Feb 2011)
+
+ 09 Feb 2011; Tim Harder <radhermit@gentoo.org> +vbam-1.8.0_p20110206.ebuild,
+ +files/vbam-1.8.0_p20110206-cflags.patch,
+ +files/vbam-1.8.0_p20110206-disable-asm.patch, +metadata.xml:
+ Initial import (bug #254480). Ebuild by me.
+
diff --git a/games-emulation/vbam/Manifest b/games-emulation/vbam/Manifest
new file mode 100644
index 000000000000..8a4ddbb9a70d
--- /dev/null
+++ b/games-emulation/vbam/Manifest
@@ -0,0 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX vbam-1.8.0_p20110206-cflags.patch 346 RMD160 126999119e657144c71a38cae3b502e41d0e676a SHA1 a149bdca79538a96c120c6b988af310e9b01ae4f SHA256 1c91cd230eebfd92bbceca165f7831a5f162317a932d0a538555ecdeb5ef0945
+AUX vbam-1.8.0_p20110206-disable-asm.patch 714 RMD160 9f88cb349ea00a9bd4f72a6ce10718e4d8319c19 SHA1 10455397fe9f38f1c10a516c78d9b5fcd2f470ab SHA256 99c33a9f880f358bf11a44f7a4be7acc559b10512af29e648ecca81d1edc118e
+DIST vbam-1.8.0_p20110206.tar.bz2 761419 RMD160 f85755e853e3934bb1d59feee27ef83c609ea418 SHA1 7aceb34b7b4531061cde6c5fa120f715dc561d85 SHA256 91c4c8be6c31a6943ae25871a302f36e53f2ba7f84f7f01695cc861c9364d69f
+EBUILD vbam-1.8.0_p20110206.ebuild 1302 RMD160 f978526a64406c03ebc8046f519e8ba168221c1a SHA1 98e813bfc1079765e21e0569c772253511fe4593 SHA256 6fedc4e9ef32acab19b9e4d5b2a3dcf4fba7c9922d2a4a03c68f69683fa76bce
+MISC ChangeLog 487 RMD160 76314eff98b3dbd5ed14d51c943d74853e36d5c2 SHA1 29b71b4197826ac7681dd259bf1788f219de0450 SHA256 ecfb699ac8f0566a0dfa3cdc14512ecb85f7c8b5cb94418e5fc4fa538befa380
+MISC metadata.xml 258 RMD160 8f31a918ae02f4fa77ecfb604d1fb8921602b607 SHA1 9d9bd6ee17be6077633c0520f17dd6c055299ef2 SHA256 8227ed861dc0c54468bf18cae1dff9694de2a1eae059978a98dff0414aacc8d6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNUmqbAAoJEEqz6FtPBkyj9zMIAJ+ivZYaG8viA6qYVOCg9pqF
++FAGxYPD+2KZV9Cx1vEbKU6/ynHdCfENsKD0adJ9J8iXHzF8lqfWm0OMmDKPeCaD
+DnJfyuKKM6XPxtYRxN+/6zGpogBet274Ykmc/FJaI27sjABZ1gx60fQtoDw0u27x
+IVkNxMewntW8+M5clEo2wxb9LE55XMPhWuPvq0DSWZOBprTJLanIzQ4OWvsKHNJ8
+j3pEPe9hqrjVE50949PXdMHCBleCY8tl20oRCo5kCiL9Q9RXHrY+nUxjbBIx0dfj
+Mwf7AKi+87SnQPv1ABun6R5sG4Q6NIFrr8HpGVnWya9rRYJU7grak8GtOvckz7o=
+=kfSy
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/vbam/files/vbam-1.8.0_p20110206-cflags.patch b/games-emulation/vbam/files/vbam-1.8.0_p20110206-cflags.patch
new file mode 100644
index 000000000000..ef303957f5a4
--- /dev/null
+++ b/games-emulation/vbam/files/vbam-1.8.0_p20110206-cflags.patch
@@ -0,0 +1,11 @@
+--- vbam-1.8.0_p20110206/CMakeLists.txt.orig
++++ vbam-1.8.0_p20110206/CMakeLists.txt
+@@ -116,8 +116,6 @@
+ ELSE ( WIN32 )
+ SET( CMAKE_ASM_FLAGS "-I$(CMAKE_SOURCE_DIR)/src/filters/hq/asm/ -O1 -DELF -w-orphan-labels")
+ ENDIF ( WIN32 )
+-SET( CMAKE_C_FLAGS "-O3 -Wall")
+-SET( CMAKE_CXX_FLAGS "-O3 -Wall")
+
+ # Source files definition
+ SET(SRC_FEX
diff --git a/games-emulation/vbam/files/vbam-1.8.0_p20110206-disable-asm.patch b/games-emulation/vbam/files/vbam-1.8.0_p20110206-disable-asm.patch
new file mode 100644
index 000000000000..2007dd7e1434
--- /dev/null
+++ b/games-emulation/vbam/files/vbam-1.8.0_p20110206-disable-asm.patch
@@ -0,0 +1,20 @@
+--- vbam-1.8.0_p20110206/CMakeLists.txt.orig
++++ vbam-1.8.0_p20110206/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ # The project's name is VBA-M it uses assembly, C and C++ code
+-PROJECT(VBA-M ASM C CXX)
++PROJECT(VBA-M C CXX)
+
+ cmake_minimum_required( VERSION 2.4.6 )
+ if( COMMAND cmake_policy )
+@@ -10,8 +10,8 @@
+
+ # Include the definition of the ASM compiler. It will look for nasm
+ # This is probably not needed if CMake 2.6 or above is used
+-INCLUDE(CMakeScripts/CMakeDetermineASMCompiler.cmake)
+-INCLUDE(CMakeScripts/CMakeASMInformation.cmake)
++#INCLUDE(CMakeScripts/CMakeDetermineASMCompiler.cmake)
++#INCLUDE(CMakeScripts/CMakeASMInformation.cmake)
+
+ # Also need to look for SFML
+ INCLUDE(CMakeScripts/FindSFML.cmake)
diff --git a/games-emulation/vbam/metadata.xml b/games-emulation/vbam/metadata.xml
new file mode 100644
index 000000000000..8ad81e6612d1
--- /dev/null
+++ b/games-emulation/vbam/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-emulation/vbam/vbam-1.8.0_p20110206.ebuild b/games-emulation/vbam/vbam-1.8.0_p20110206.ebuild
new file mode 100644
index 000000000000..0160ddf3992d
--- /dev/null
+++ b/games-emulation/vbam/vbam-1.8.0_p20110206.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/vbam-1.8.0_p20110206.ebuild,v 1.1 2011/02/09 10:21:03 radhermit Exp $
+
+EAPI=2
+
+inherit confutils games cmake-utils eutils
+
+DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance"
+HOMEPAGE="http://vba-m.ngemu.com"
+SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk lirc +sdl"
+
+RDEPEND="media-libs/libpng
+ media-libs/libsdl[joystick]
+ media-libs/libsfml
+ sys-libs/zlib
+ virtual/opengl
+ gtk? ( >=dev-cpp/libglademm-2.4.0
+ >=dev-cpp/glibmm-2.4.0
+ >=dev-cpp/gtkmm-2.4.0
+ >=dev-cpp/gtkglextmm-1.2.0 )
+ lirc? ( app-misc/lirc )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ confutils_require_any sdl gtk
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch \
+ "${FILESDIR}"/${P}-disable-asm.patch
+}
+
+src_configure() {
+ mycmakeargs="$(cmake-utils_use_no sdl SDL)
+ $(cmake-utils_use_no gtk GTK)
+ $(cmake-utils_use_with lirc LIRC)
+ -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ if use sdl ; then
+ dodoc doc/ReadMe.SDL.txt
+ doman debian/vbam.1
+ fi
+ prepgamesdirs
+}