Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/advancemenu: ChangeLog advancemenu-2.5.0.ebuild
Date: Wed, 05 Aug 2009 23:51:33
Message-Id: E1MYqGZ-0006vR-K3@stork.gentoo.org
1 mr_bones_ 09/08/05 23:51:31
2
3 Modified: ChangeLog
4 Added: advancemenu-2.5.0.ebuild
5 Log:
6 version bump (bug #280044)
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.30 games-emulation/advancemenu/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemenu/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemenu/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemenu/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 5 Dec 2008 16:19:47 -0000 1.29
23 +++ ChangeLog 5 Aug 2009 23:51:31 -0000 1.30
24 @@ -1,6 +1,13 @@
25 # ChangeLog for games-emulation/advancemenu
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/ChangeLog,v 1.29 2008/12/05 16:19:47 nyhm Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/ChangeLog,v 1.30 2009/08/05 23:51:31 mr_bones_ Exp $
30 +
31 +*advancemenu-2.5.0 (05 Aug 2009)
32 +
33 + 05 Aug 2009; Michael Sterrett <mr_bones_@g.o>
34 + +advancemenu-2.5.0.ebuild, +files/advancemenu-2.5.0-alsa-pkg-config.patch,
35 + +files/advancemenu-2.5.0-pic.patch:
36 + version bump (bug #280044)
37
38 05 Dec 2008; Tristan Heaven <nyhm@g.o> advancemenu-2.4.13.ebuild:
39 Remove expat and zlib USE flags, bug #249459
40
41
42
43 1.1 games-emulation/advancemenu/advancemenu-2.5.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemenu/advancemenu-2.5.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/advancemenu/advancemenu-2.5.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: advancemenu-2.5.0.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/advancemenu-2.5.0.ebuild,v 1.1 2009/08/05 23:51:31 mr_bones_ Exp $
53
54 EAPI=2
55 inherit eutils games
56
57 DESCRIPTION="Frontend for AdvanceMAME, MAME, MESS, RAINE and any other emulator"
58 HOMEPAGE="http://advancemame.sourceforge.net/menu-readme.html"
59 SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="alsa debug fbcon ncurses oss sdl slang static svga truetype"
65
66 RDEPEND="dev-libs/expat
67 alsa? ( media-libs/alsa-lib )
68 ncurses? ( sys-libs/ncurses )
69 sdl? ( media-libs/libsdl )
70 slang? ( >=sys-libs/slang-1.4 )
71 svga? ( >=media-libs/svgalib-1.9 )
72 !sdl? ( !svga? ( !fbcon? ( media-libs/libsdl ) ) )
73 truetype? ( >=media-libs/freetype-2 )"
74 DEPEND="${RDEPEND}
75 x86? ( >=dev-lang/nasm-0.98 )
76 fbcon? ( virtual/os-headers )"
77
78 src_prepare() {
79 # pic patch - bug #142021
80 epatch \
81 "${FILESDIR}"/${P}-alsa-pkg-config.patch \
82 "${FILESDIR}"/${P}-pic.patch
83 sed -i \
84 -e 's/"-s"//' \
85 configure \
86 || die "sed failed"
87
88 use x86 && ln -s $(type -P nasm) "${T}/${CHOST}-nasm"
89 use sdl && ln -s $(type -P sdl-config) "${T}/${CHOST}-sdl-config"
90 use !sdl && use !svga && use !fbcon && ln -s $(type -P sdl-config) "${T}/${CHOST}-sdl-config"
91 use truetype && ln -s $(type -P freetype-config) "${T}/${CHOST}-freetype-config"
92 }
93
94 src_configure() {
95 export PATH="${PATH}:${T}"
96 egamesconf \
97 --enable-expat \
98 --enable-zlib \
99 $(use_enable alsa) \
100 $(use_enable debug) \
101 $(use_enable fbcon fb) \
102 $(use_enable ncurses) \
103 $(use_enable truetype freetype) \
104 $(use_enable oss) \
105 $(use_enable sdl) \
106 $(use_enable slang) \
107 $(use_enable static) \
108 $(use_enable svga svgalib) \
109 $(use !sdl && use !svga && use !fbcon && echo --enable-sdl) \
110 $(use_enable x86 asm)
111 }
112
113 src_compile() {
114 STRIPPROG=true emake || die "emake failed"
115 }
116
117 src_install() {
118 dogamesbin advmenu || die "dogamesbin failed"
119 dodoc HISTORY README RELEASE doc/*.txt
120 doman doc/{advmenu,advdev}.1
121 dohtml doc/*.html
122 prepgamesdirs
123 }
124
125 pkg_postinst() {
126 games_pkg_postinst
127 echo
128 elog "Execute:"
129 elog " advmenu -default"
130 elog "to generate a config file"
131 elog
132 elog "An example emulator config found in advmenu.rc:"
133 elog " emulator \"snes9x\" generic \"/usr/games/bin/snes9x\" \"%f\""
134 elog " emulator_roms \"snes9x\" \"/home/user/myroms\""
135 elog " emulator_roms_filter \"snes9x\" \"*.smc;*.sfc\""
136 elog
137 elog "For more information, see the advmenu man page."
138 }