mgorny      14/12/21 14:20:46

  Modified:             ChangeLog
  Added:                virtualjaguar-1.0.7-r1.ebuild
  Log:
  Use sys-apps/gentoo-functions, bug #504390.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.17                 games-emulation/virtualjaguar/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/ChangeLog?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/ChangeLog?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog   15 Oct 2014 03:50:52 -0000      1.16
+++ ChangeLog   21 Dec 2014 14:20:45 -0000      1.17
@@ -1,6 +1,12 @@
 # ChangeLog for games-emulation/virtualjaguar
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 
1.16 2014/10/15 03:50:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 
1.17 2014/12/21 14:20:45 mgorny Exp $
+
+*virtualjaguar-1.0.7-r1 (21 Dec 2014)
+
+  21 Dec 2014; Michał Górny <[email protected]> +virtualjaguar-1.0.7-r1.ebuild,
+  files/virtualjaguar:
+  Use sys-apps/gentoo-functions, bug #504390.
 
 *virtualjaguar-2.1.2 (15 Oct 2014)
 



1.1                  games-emulation/virtualjaguar/virtualjaguar-1.0.7-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-1.0.7-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-1.0.7-r1.ebuild?rev=1.1&content-type=text/plain

Index: virtualjaguar-1.0.7-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-1.0.7-r1.ebuild,v
 1.1 2014/12/21 14:20:45 mgorny Exp $

EAPI=2
inherit eutils games

DESCRIPTION="an Atari Jaguar emulator"
HOMEPAGE="http://www.icculus.org/virtualjaguar/";
SRC_URI="http://www.icculus.org/virtualjaguar/tarballs/${P}-src.tar.bz2";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""

DEPEND="virtual/opengl
        media-libs/libsdl[sound,joystick,opengl,video]
        sys-apps/gentoo-functions"
RDEPEND=${DEPEND}

S=${WORKDIR}/${P}-src

src_prepare() {
        mkdir obj || die
        edos2unix src/sdlemu_config.cpp
        epatch \
                "${FILESDIR}"/${PV}-cdintf_linux.patch \
                "${FILESDIR}"/${P}-gcc43.patch \
                "${FILESDIR}"/${P}-makefile.patch \
                "${FILESDIR}"/${P}-array.patch

        sed -e "s:GENTOODIR:${GAMES_BINDIR}:" \
                "${FILESDIR}/virtualjaguar" > "${T}/virtualjaguar" || die
}

src_compile() {
        export SYSTYPE=__GCCUNIX__ \
                GLLIB=-lGL \
                SDLLIBTYPE=--libs
        emake obj/m68kops.h || die
        emake LDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_install() {
        dogamesbin vj "${T}/virtualjaguar" || die "dogamebin failed"
        dodoc docs/{README,TODO,WHATSNEW}
        prepgamesdirs
}

pkg_postinst() {
        games_pkg_postinst
        elog "Please run ${PN} to create the necessary directories"
        elog "in your home directory.  After that you may place ROM files"
        elog "in ~/.vj/ROMs and they will be detected when you run 
virtualjaguar."
        elog "You may then select which ROM to run from inside the emulator."
        elog
        elog "If you have previously run a version of ${PV} please note that"
        elog "the location of the ROMs has changed."
}




Reply via email to