mr_bones_    15/02/19 05:19:53

  Modified:             ChangeLog
  Added:                nestopia-1.46.2.ebuild
  Log:
  switch to nestopia UE (bug #531716)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.10                 games-emulation/nestopia/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/nestopia/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog   17 Jan 2015 16:39:55 -0000      1.9
+++ ChangeLog   19 Feb 2015 05:19:53 -0000      1.10
@@ -1,6 +1,11 @@
 # ChangeLog for games-emulation/nestopia
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestopia/ChangeLog,v 1.9 
2015/01/17 16:39:55 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestopia/ChangeLog,v 1.10 
2015/02/19 05:19:53 mr_bones_ Exp $
+
+*nestopia-1.46.2 (19 Feb 2015)
+
+  19 Feb 2015; Michael Sterrett <[email protected]> +nestopia-1.46.2.ebuild:
+  switch to nestopia UE (bug #531716)
 
   17 Jan 2015; Tupone Alfredo <[email protected]> nestopia-1.40.ebuild:
   EAPI 5
@@ -35,4 +40,3 @@
   +files/nestopia, +metadata.xml:
   Initial commit - files submitted by Michał Ziąbkowski and Jared via bug
   #254479
-



1.1                  games-emulation/nestopia/nestopia-1.46.2.ebuild

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

Index: nestopia-1.46.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/games-emulation/nestopia/nestopia-1.46.2.ebuild,v 1.1 
2015/02/19 05:19:53 mr_bones_ Exp $

EAPI=5
inherit eutils gnome2-utils games

MY_P=${P/ue/}
DESCRIPTION="A portable Nintendo Entertainment System emulator written in C++"
HOMEPAGE="http://0ldsk00l.ca/nestopia/";
SRC_URI="mirror://sourceforge/nestopiaue/${PV%.*}/${MY_P}.tgz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND="x11-libs/gtk+:3
        media-libs/libao
        media-libs/libsdl2[sound,joystick,video]
        sys-libs/zlib
        virtual/opengl
        virtual/glu"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

S=${WORKDIR}/${MY_P}

src_prepare() {
        sed -i \
                -e '/^CC /d' \
                -e '/^CXX /d' \
                -e '/^LDFLAGS /d' \
                -e '/^LIBS =/ s/=/+=/' \
                -e '/^CFLAGS / s/=/+=/' \
                -e "/^PREFIX / s:=.*:=${GAMES_PREFIX}:" \
                -e "/^BINDIR / s:=.*:=${GAMES_BINDIR}:" \
                -e "/^DATADIR / s:=.*:=${GAMES_DATADIR}/${PN}:" \
                Makefile || die
}

src_install() {
        local res

        dogamesbin ${PN}

        insinto "${GAMES_DATADIR}/${PN}"
        doins -r NstDatabase.xml source/unix/icons

        domenu source/unix/icons/nestopia.desktop
        for res in 32 48 64 128
        do
                newicon -s ${res} source/unix/icons/nestopia${res}.png 
nestopia.png
        done
        doicon -s scalable source/unix/icons/nestopia.svg

        dodoc AUTHORS README.* changelog.txt
        use doc && dohtml -r readme.html doc/*.html doc/details

        prepgamesdirs
}

pkg_preinst() {
        games_pkg_preinst
        gnome2_icon_savelist
}

pkg_postinst() {
        games_pkg_postinst
        gnome2_icon_cache_update
}

pkg_postrm() {
        gnome2_icon_cache_update
}





Reply via email to