mr_bones_    15/02/21 07:15:56

  Modified:             ChangeLog
  Added:                atari800-3.1.0.ebuild
  Log:
  version bump; add ncurses support for bug #278915
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.38                 games-emulation/atari800/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ChangeLog   17 Jan 2015 13:51:01 -0000      1.37
+++ ChangeLog   21 Feb 2015 07:15:56 -0000      1.38
@@ -1,6 +1,11 @@
 # ChangeLog for games-emulation/atari800
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.37 
2015/01/17 13:51:01 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.38 
2015/02/21 07:15:56 mr_bones_ Exp $
+
+*atari800-3.1.0 (21 Feb 2015)
+
+  21 Feb 2015; Michael Sterrett <[email protected]> +atari800-3.1.0.ebuild:
+  version bump; add ncurses support for bug #278915
 
   17 Jan 2015; Tupone Alfredo <[email protected]> atari800-2.2.1.ebuild:
   EAPI 5



1.1                  games-emulation/atari800/atari800-3.1.0.ebuild

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

Index: atari800-3.1.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-3.1.0.ebuild,v 1.1 
2015/02/21 07:15:56 mr_bones_ Exp $

EAPI=5
inherit games

DESCRIPTION="Atari 800 emulator"
HOMEPAGE="http://atari800.sourceforge.net/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
        mirror://sourceforge/${PN}/xf25.zip"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="ncurses oss opengl readline +sdl +sound"

NOTSDL_DEPS="
        sys-libs/ncurses
        sound? (
                !oss? ( media-libs/libsdl[sound] )
        )"
RDEPEND="sdl? ( >=media-libs/libsdl-1.2.0[opengl?,sound?,video] )
        ncurses? ( ${NOTSDL_DEPS} )
        !sdl? ( !ncurses? ( ${NOTSDL_DEPS} ) )
        readline? ( sys-libs/readline:0
                sys-libs/ncurses )
        media-libs/libpng:0
        sys-libs/zlib"
DEPEND="${RDEPEND}
        app-arch/unzip"

src_prepare() {
        # remove some not-so-interesting ones
        rm -f DOC/{INSTALL.*,*.in,CHANGES.OLD} || die
        sed -i \
                -e '1s/ 1 / 6 /' \
                src/atari800.man || die
        sed -i \
                -e "/SYSTEM_WIDE_CFG_FILE/s:/etc:${GAMES_SYSCONFDIR}:" \
                src/cfg.c || die
        sed -i \
                -e "/share/s:/usr/share:${GAMES_DATADIR}:" \
                src/atari.c || die
        sed "s:/usr/share/games:${GAMES_DATADIR}:" \
                "${FILESDIR}"/atari800.cfg > "${T}"/atari800.cfg || die
}

src_configure() {
        local video="ncurses"
        local sound=no

        use sdl && video="sdl"
        if use sound ; then
                if use sdl ; then
                        sound=sdl
                elif use oss ; then
                        sound=oss
                else
                        echo
                        elog "Sound requested but neither sdl nor oss 
specified."
                        elog "Disabling sound suport."
                fi
        fi

        echo
        elog "Building ${PN} with ${video} video and ${sound} sound"
        echo

        cd src && \
                egamesconf \
                        $(use_with readline) \
                        --with-video=${video} \
                        --with-sound=${sound}
}

src_compile() {
        emake -C src
}

src_install () {
        dogamesbin src/atari800
        newman src/atari800.man atari800.6
        dodoc README.1ST DOC/*
        insinto "${GAMES_DATADIR}/${PN}"
        doins "${WORKDIR}/"*.ROM
        insinto "${GAMES_SYSCONFDIR}"
        doins "${T}"/atari800.cfg
        prepgamesdirs
}




Reply via email to