diff options
Diffstat (limited to 'games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild')
-rw-r--r-- | games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild b/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild deleted file mode 100644 index c8a1769cdec8..000000000000 --- a/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2012 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.1009-r1.ebuild,v 1.7 2012/07/31 23:01:05 hasufell Exp $ - -EAPI=2 - -inherit confutils cmake-utils games 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 link lirc nls +sdl" - -RDEPEND=">=media-libs/libpng-1.4 - media-libs/libsdl[joystick] - link? ( media-libs/libsfml ) - sys-libs/zlib - virtual/opengl - gtk? ( >=dev-cpp/glibmm-2.4.0:2 - >=dev-cpp/gtkmm-2.4.0:2.4 - >=dev-cpp/gtkglextmm-1.2.0 ) - lirc? ( app-misc/lirc ) - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - x86? ( || ( dev-lang/nasm dev-lang/yasm ) ) - nls? ( sys-devel/gettext ) - virtual/pkgconfig" - -pkg_setup() { - confutils_require_any sdl gtk - games_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-desktop.patch \ - "${FILESDIR}"/${P}-no-nls.patch \ - "${FILESDIR}"/${P}-zlib-1.2.6.patch - - # Fix issue with zlib-1.2.5.1 macros (bug #383179) - sed -i '1i#define OF(x) x' src/common/memgzio.c || die - - sed -i -e "s:\(DESTINATION\) bin:\1 ${GAMES_BINDIR}:" CMakeLists.txt || die -} - -src_configure() { - local myconf - use x86 && myconf="-DENABLE_ASM_SCALERS=ON -DENABLE_ASM_CORE=ON" - - mycmakeargs=( - $(cmake-utils_use_enable gtk GTK) - $(cmake-utils_use_enable link LINK) - $(cmake-utils_use_enable lirc LIRC) - $(cmake-utils_use_enable nls NLS) - $(cmake-utils_use_enable sdl SDL) - ${myconf} - "-DDATA_INSTALL_DIR=share/games/${PN}" - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - - if use sdl ; then - dodoc doc/ReadMe.SDL.txt || die - doman debian/vbam.1 || die - fi - - if use gtk ; then - domenu src/gtk/gvbam.desktop || die - doicon src/gtk/icons/scalable/apps/vbam.svg || die - fi - - prepgamesdirs -} |