mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
games-emulation/gxmame: remove last rited package
Closes: https://bugs.gentoo.org/602146
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST gxmame-0.35beta2.tar.gz 697013 BLAKE2B 8c7396d716d6fded1c2bd3efbc5a90fc8c1835221c208f0e807b50044a2d9d6b392fa27349d9a7a51bcedf20544ff87940a2866fe4d6d6644c80d33aaa56bbe2 SHA512 c2b47c1f3f76d86846302754b31954b81d5b7165f5778153c6e6285bdcc6040c5479009cd70dcf32c86afa245ae8b6fe98af781f0d51acfcb76c8deb76422fe2
|
||||
@@ -1,13 +0,0 @@
|
||||
Index: gxmame-0.35beta2/src/gxmame.c
|
||||
===================================================================
|
||||
--- gxmame-0.35beta2.orig/src/gxmame.c
|
||||
+++ gxmame-0.35beta2/src/gxmame.c
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <glib/gprintf.h>
|
||||
-#include <glib/gutils.h>
|
||||
+#include <glib.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include <gtk/gtkfilesel.h>
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
--- src/options.c.old 2010-12-01 10:48:45.000000000 +0100
|
||||
+++ src/options.c 2010-12-01 10:53:55.000000000 +0100
|
||||
@@ -4245,7 +4245,7 @@
|
||||
case XMAME_EXEC_SVGAFX:
|
||||
target->fxgkeepaspect = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (fxgkeepaspect_checkbutton));
|
||||
used_text = gtk_editable_get_chars (GTK_EDITABLE (fx_entry), 0, -1);
|
||||
- strncpy (target->resolution, used_text, 20);
|
||||
+ strncpy (target->resolution, used_text, sizeof(target->resolution));
|
||||
g_free (used_text);
|
||||
break;
|
||||
|
||||
@@ -4330,7 +4330,7 @@
|
||||
}
|
||||
|
||||
used_text = gtk_editable_get_chars (GTK_EDITABLE (soundfile_entry), 0, -1);
|
||||
- strncpy (target->soundfile, used_text, 50);
|
||||
+ strncpy (target->soundfile, used_text, sizeof(target->soundfile));
|
||||
g_free (used_text);
|
||||
|
||||
target->timer = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (timer_checkbutton));
|
||||
@@ -4465,7 +4465,7 @@
|
||||
target->skip_disclaimer = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (disclaimer_checkbutton));
|
||||
target->skip_gameinfo = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gameinfo_checkbutton));
|
||||
used_text = gtk_editable_get_chars (GTK_EDITABLE (debug_size_combo_entry), 0, -1);
|
||||
- strncpy (target->debug_size, used_text, 20);
|
||||
+ strncpy (target->debug_size, used_text, sizeof(target->debug_size));
|
||||
g_free (used_text);
|
||||
target->use_additional_options = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (additional_options_checkbutton));
|
||||
/* here I'm using directly the additional option because I don't know its length */
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils games
|
||||
|
||||
MY_P="${PN}-${PV/_beta/beta}"
|
||||
DESCRIPTION="frontend for XMame using the GTK library"
|
||||
HOMEPAGE="http://gxmame.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/gxmame/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls joystick"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
>=dev-libs/glib-2.4:2
|
||||
x11-themes/gnome-icon-theme
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-glib-single-include.patch \
|
||||
"${FILESDIR}"/${P}-ovflfix.patch
|
||||
sed -i \
|
||||
-e "s:-O2 -fomit-frame-pointer -ffast-math:${CFLAGS}:" \
|
||||
-e "s:-O2:${CFLAGS}:" \
|
||||
configure || die
|
||||
sed -i \
|
||||
-e '/Icon/s/\.png//' \
|
||||
-e '/Categories/s/Application;//' \
|
||||
gxmame.desktop.in || die
|
||||
sed -i \
|
||||
-e 's:COPYING::' \
|
||||
-e "s:^docdir = .*:docdir = /usr/share/doc/${PF}:" \
|
||||
-e "s:^htmldir = .*:htmldir = /usr/share/doc/${PF}/html:" \
|
||||
-e "s:^icondir = .*:icondir = /usr/share/icons:" \
|
||||
-e "s:^pixmapdir = .*:pixmapdir = /usr/share/pixmaps:" \
|
||||
-e "s:^gnulocaledir = .*:gnulocaledir = /usr/share/locale:" \
|
||||
-e "s:^icon2dir = .*:icon2dir = /usr/share/icons/mini:" \
|
||||
-e "s:^Graphicsdir = .*:Graphicsdir = /usr/share/applications:" \
|
||||
-e "/DDATADIR/s:\$(datadir):/usr/share/pixmaps:" \
|
||||
-e "/DPACKAGE_LOCALE_DIR/s:\$(datadir):/usr/share:" \
|
||||
Makefile.in html/Makefile.in src/Makefile.in po/Makefile.in.in || die
|
||||
sed -i -e 's/"gxmame"/""/' src/gui.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
--with-xmame-dir="${GAMES_DATADIR}"/xmame \
|
||||
$(use_enable nls) \
|
||||
$(use_enable joystick)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" \
|
||||
default
|
||||
prepgamesdirs
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">gxmame</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user