summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-05-27 12:56:20 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-05-27 12:56:20 +0000
commit91d35c5fbb0b7ca650828b7bd57d41d52f94d383 (patch)
tree1089aa01ece811e24fb5e77aa52193327ec739b8 /games-emulation/advancescan
parentRemoving old versions (diff)
downloadgentoo-2-91d35c5fbb0b7ca650828b7bd57d41d52f94d383.tar.gz
gentoo-2-91d35c5fbb0b7ca650828b7bd57d41d52f94d383.tar.bz2
gentoo-2-91d35c5fbb0b7ca650828b7bd57d41d52f94d383.zip
Version bump
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'games-emulation/advancescan')
-rw-r--r--games-emulation/advancescan/ChangeLog10
-rw-r--r--games-emulation/advancescan/advancescan-1.14.ebuild31
-rw-r--r--games-emulation/advancescan/files/advancescan-1.14-sys-expat.patch77
3 files changed, 116 insertions, 2 deletions
diff --git a/games-emulation/advancescan/ChangeLog b/games-emulation/advancescan/ChangeLog
index 10b79c8cdcb2..be39a75c14f6 100644
--- a/games-emulation/advancescan/ChangeLog
+++ b/games-emulation/advancescan/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/advancescan
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancescan/ChangeLog,v 1.3 2007/06/10 15:15:51 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancescan/ChangeLog,v 1.4 2009/05/27 12:56:20 nyhm Exp $
+
+*advancescan-1.14 (27 May 2009)
+
+ 27 May 2009; Tristan Heaven <nyhm@gentoo.org> +advancescan-1.14.ebuild,
+ +files/advancescan-1.14-sys-expat.patch:
+ Version bump
10 Jun 2007; Tristan Heaven <nyhm@gentoo.org> advancescan-1.13.ebuild:
Fix collision with sys-apps/coreutils
diff --git a/games-emulation/advancescan/advancescan-1.14.ebuild b/games-emulation/advancescan/advancescan-1.14.ebuild
new file mode 100644
index 000000000000..b0c70b5cd84f
--- /dev/null
+++ b/games-emulation/advancescan/advancescan-1.14.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancescan/advancescan-1.14.ebuild,v 1.1 2009/05/27 12:56:20 nyhm Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="A command line rom manager for MAME, MESS, AdvanceMAME, AdvanceMESS and Raine"
+HOMEPAGE="http://advancemame.sourceforge.net/scan-readme.html"
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-libs/expat"
+
+src_prepare() {
+ rm -rf expat
+ epatch "${FILESDIR}"/${P}-sys-expat.patch
+ eautoreconf
+}
+
+src_install() {
+ dogamesbin advscan advdiff || die "dogamesbin failed"
+ dodoc AUTHORS HISTORY README doc/*.txt advscan.rc.linux
+ doman doc/{advscan,advdiff}.1
+ dohtml doc/*.html
+ prepgamesdirs
+}
diff --git a/games-emulation/advancescan/files/advancescan-1.14-sys-expat.patch b/games-emulation/advancescan/files/advancescan-1.14-sys-expat.patch
new file mode 100644
index 000000000000..3f4ca98e4507
--- /dev/null
+++ b/games-emulation/advancescan/files/advancescan-1.14-sys-expat.patch
@@ -0,0 +1,77 @@
+--- configure.ac
++++ configure.ac
+@@ -30,6 +30,7 @@
+
+ # Checks for libraries.
+ AC_CHECK_LIB([z], [adler32], [], [AC_MSG_ERROR([the libz library is missing])])
++AC_CHECK_LIB([expat], [XML_Parse], [], [AC_MSG_ERROR([the expat library is missing])])
+
+ # Checks for header files.
+ AC_HEADER_STDC
+--- gamexml.cc
++++ gamexml.cc
+@@ -22,7 +22,7 @@
+
+ #include "game.h"
+ #include "strcov.h"
+-#include "expat/expat.h"
++#include <expat.h>
+
+ #include <string>
+ #include <iostream>
+--- Makefile.am
++++ Makefile.am
+@@ -18,10 +18,7 @@
+ siglock.cc \
+ getopt.c \
+ snprintf.c \
+- lib/readinfo.c \
+- expat/xmlrole.c \
+- expat/xmlparse.c \
+- expat/xmltok.c
++ lib/readinfo.c
+
+ advscan_SOURCES = \
+ scan.cc \
+@@ -43,10 +40,7 @@
+ siglock.cc \
+ getopt.c \
+ snprintf.c \
+- lib/readinfo.c \
+- expat/xmlrole.c \
+- expat/xmlparse.c \
+- expat/xmltok.c
++ lib/readinfo.c
+
+ EXTRA_DIST = advscan.rc.linux advscan.rc.dos \
+ README AUTHORS HISTORY INSTALL COPYING \
+@@ -82,28 +76,7 @@
+ portable.h \
+ lib/readinfo.h \
+ lib/endianrw.h \
+- lib/extra.h \
+- expat/COPYING \
+- expat/README \
+- expat/ascii.h \
+- expat/asciitab.h \
+- expat/expat-1.95.8.diff \
+- expat/expat.h \
+- expat/iasciitab.h \
+- expat/expatcfg.h \
+- expat/expat_external.h \
+- expat/internal.h \
+- expat/latin1tab.h \
+- expat/nametab.h \
+- expat/utf8tab.h \
+- expat/xmlparse.c \
+- expat/xmlrole.c \
+- expat/xmlrole.h \
+- expat/xmltok.c \
+- expat/xmltok.h \
+- expat/xmltok_impl.c \
+- expat/xmltok_impl.h \
+- expat/xmltok_ns.c
++ lib/extra.h
+
+ man_MANS = doc/advscan.1 doc/advdiff.1
+