summaryrefslogtreecommitdiff
path: root/games-board/gnono
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/gnono
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/gnono')
-rw-r--r--games-board/gnono/Manifest8
-rw-r--r--games-board/gnono/files/gnono-1.9.1-gentoo.patch46
-rw-r--r--games-board/gnono/files/gnono-1.9.1-glib-single-include.patch151
-rw-r--r--games-board/gnono/gnono-1.9.1-r1.ebuild42
-rw-r--r--games-board/gnono/gnono-1.9.1.ebuild45
-rw-r--r--games-board/gnono/metadata.xml11
6 files changed, 303 insertions, 0 deletions
diff --git a/games-board/gnono/Manifest b/games-board/gnono/Manifest
new file mode 100644
index 000000000000..fb5a1332deae
--- /dev/null
+++ b/games-board/gnono/Manifest
@@ -0,0 +1,8 @@
+AUX gnono-1.9.1-gentoo.patch 1622 SHA256 cadd6bc59f171adaf04f6d8b61ef4d6601e172526e688bcfbc4cb39d2271be31 SHA512 f899145fc7789dd4b10422871bdc6a432da75ba3e5433ee43ed6cfea8d3a2b25da0222cccbafdd1a8cd49d15164dd589c9bce6f80a148a432a6c3be05fa88655 WHIRLPOOL 3a31844af9c650952241adc4113a1d4b0896da422ccaa8cfce13bfe044d1e85dddc798aaebe1bfc0404a8dbd78ddaa72a733e8102e61c35c2809ee473c033658
+AUX gnono-1.9.1-glib-single-include.patch 3813 SHA256 bbea6e785dd48c2b6af20f6464e66053240b3a0be84baa2c6e736eee5697d689 SHA512 3acc2b25587878b1da4a698d6ccfe3029715b173f4a44e97b8d41e899695a0eaf539906c00dce240602d03a86fe9a05c138de4f847e73eb1ef828d7d13506b3d WHIRLPOOL cb37500c3b48ab37d80ae9661d900763e3a22d0f116c3ed52f3950dbabcf3bd7195fc1dc0425d5bede8eb194b49d04e615dc1e06709e9eceaad1084f5ef7ca58
+DIST gnono-1.9.1.tar.bz2 421461 SHA256 1fd8ddcd2da5333210046ae1d6e710b597193c6f550ae1c82f729a0473bde60c SHA512 de67453cab0177d633b674ab2cf99b606373dc01e6d821478e8aa6adf9f0f40b04538e5d564df990739a62fb47225f83eff13ab6c12af26fe05afba309632d62 WHIRLPOOL 8b950b96c16e7c6290b5f4f6156404d96521e124516234fdf561ba4f55c63bd93366676ad0184e6c43f10e7dceef85e076dd999cf6c3c03595c75f9eade3ff8b
+EBUILD gnono-1.9.1-r1.ebuild 730 SHA256 461719e525e8f50097307dfb556022f05e1fbfdfcdc904c64ca161164868081e SHA512 cd377d0c2c5e2dfa03fe28b5a9321b021a17c3f2693eb2ccb0d57a1ee7423b24489e1d21923c5aef542b8305cf35528fb249df537b18e59e88b46d4b3bb44fb9 WHIRLPOOL 3470b84c0f91bc677143c89ef5ab0dec5d880958d7910aa3ba0d4cce0de30447e2bcd1ccb228e311b6f156c519f0467a806227d19a0e2e05100065fe7da197f3
+EBUILD gnono-1.9.1.ebuild 807 SHA256 c3df0a198394545fccfcbd99d49aad69d52d472f3387a3c747bc4852a181c318 SHA512 fb539388b53a46afc1949e199b803df7dff385aabbcfabb54ce2280a2674e9e385edd53cc56de37ef511f7bfd603e1dfdfd9e3a603de21fe73acc04f00bae3a8 WHIRLPOOL 2bac75023d449b87cad9f50a050f825e531abca21dacf2ceb250321a500880383a821cd2748e5e7c9a7b384e80c7220bb2e7bbc77df7f074efa2be54a94e1b5c
+MISC ChangeLog 2865 SHA256 c14aa174052bbd8a568c48dddc8298387c9234922784e67995ef1f9f21cea0f3 SHA512 232886779acc992b77dad25342700a74566ac486fc8d0b48ed4d091996b3c932de898bca623aa4369e7692354940febd0ef5bffc3af1abd9d470a15a60e58390 WHIRLPOOL df95a5d692968d1fe3e655e26c5c890eb4644ad0913375551f48dba367db17fe506b1a6abeca77bf79cb6cfb2c08f41b25039045b79472b5222956f401084e20
+MISC ChangeLog-2015 1758 SHA256 e060c6fc2ae55740af2816fd2f099d5149b7013120518b089c24e76e23923ff0 SHA512 2164b81832c82607feb136d94a840a04243fcb4b0e7a1a1325e0788fbb9e74f4c2ab68566156fcbcc91957b7dcc327d4ea82be083bcda95d1a262c77b8f0f583 WHIRLPOOL c678f576aff8288284bd9381fcbf7f5483eede44e884609c24e43755e6f5fa628cb1396980c47d8a01236e44585f93ef3b9f2bde18642d4370e605e2cf9f346f
+MISC metadata.xml 328 SHA256 4099595b342037552425059fdd173e8a41b13c66b7900db409848d9a2cb04f52 SHA512 c7c67d8b49d13c69d7a9ff321f8733676fbf7155fbd98c7db3f60bd986f1ecb23006d6b77322603eaaaeb42bacae46db39c2c5504551f87e8951db25b66cf7ab WHIRLPOOL f157b5f7ac692a38cbcb5d9c8c774dca2be23e46ed9043dabee06fbdd8266bedb2da818318b86658f04baf1fca955906517a5d1e51642ff09ea86f26a0cdb0f6
diff --git a/games-board/gnono/files/gnono-1.9.1-gentoo.patch b/games-board/gnono/files/gnono-1.9.1-gentoo.patch
new file mode 100644
index 000000000000..68378b9d461c
--- /dev/null
+++ b/games-board/gnono/files/gnono-1.9.1-gentoo.patch
@@ -0,0 +1,46 @@
+diff -ru gnono-1.9.1.orig/pixmaps/Makefile.am gnono-1.9.1/pixmaps/Makefile.am
+--- gnono-1.9.1.orig/pixmaps/Makefile.am 2006-12-15 01:18:18.000000000 -0500
++++ gnono-1.9.1/pixmaps/Makefile.am 2009-11-03 00:21:57.186128499 -0500
+@@ -1,9 +1,9 @@
+ ## Process this file with automake to produce Makefile.in
+
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = $(pkgdatadir)/pixmaps
+ pixmap_DATA = gnono-about.png
+
+-hicolordir = $(datadir)/icons/hicolor
++hicolordir = /usr/share/icons/hicolor
+
+ install-data-local:
+ @for depth in 16x16 22x22 24x24 32x32 48x48 ; do \
+diff -ru gnono-1.9.1.orig/po/Makefile.in.in gnono-1.9.1/po/Makefile.in.in
+--- gnono-1.9.1.orig/po/Makefile.in.in 2007-02-18 00:58:11.000000000 -0500
++++ gnono-1.9.1/po/Makefile.in.in 2009-11-03 00:21:57.187135081 -0500
+@@ -34,7 +34,7 @@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+ DATADIRNAME = @DATADIRNAME@
+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++itlocaledir = /usr/share/locale
+ subdir = po
+ install_sh = @install_sh@
+ # Automake >= 1.8 provides @mkdir_p@.
+diff -ru gnono-1.9.1.orig/src/Makefile.am gnono-1.9.1/src/Makefile.am
+--- gnono-1.9.1.orig/src/Makefile.am 2007-01-02 00:42:42.000000000 -0500
++++ gnono-1.9.1/src/Makefile.am 2009-11-03 00:22:15.086296528 -0500
+@@ -3,12 +3,10 @@
+ SUBDIRS = xpm
+
+ INCLUDES = \
+- -Wall -Werror \
++ -Wall \
+ -DG_LOG_DOMAIN=\"$(PACKAGE)\" \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DLOCALEDIR="\"$(datadir)/locale\"" \
+- -DPIXMAPDIR="\"$(datadir)/pixmaps\"" \
++ -DLOCALEDIR="\"/usr/share/locale\"" \
++ -DPIXMAPDIR="\"$(pkgdatadir)/pixmaps\"" \
+ $(LIBGNOMEUI_CFLAGS)
+
+ bin_PROGRAMS = gnono
diff --git a/games-board/gnono/files/gnono-1.9.1-glib-single-include.patch b/games-board/gnono/files/gnono-1.9.1-glib-single-include.patch
new file mode 100644
index 000000000000..edf5238c1475
--- /dev/null
+++ b/games-board/gnono/files/gnono-1.9.1-glib-single-include.patch
@@ -0,0 +1,151 @@
+Index: gnono-1.9.1/src/ai.c
+===================================================================
+--- gnono-1.9.1.orig/src/ai.c
++++ gnono-1.9.1/src/ai.c
+@@ -24,9 +24,7 @@
+ #include <config.h>
+ #endif
+
+-#include <glib/garray.h>
+-#include <glib/gmessages.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ #include "cards.h"
+ #include "game.h"
+Index: gnono-1.9.1/src/ai.h
+===================================================================
+--- gnono-1.9.1.orig/src/ai.h
++++ gnono-1.9.1/src/ai.h
+@@ -23,7 +23,7 @@
+ #ifndef __GN_AI_H__
+ #define __GN_AI_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ void computer_play (gboolean pickup);
+
+Index: gnono-1.9.1/src/cards.c
+===================================================================
+--- gnono-1.9.1.orig/src/cards.c
++++ gnono-1.9.1/src/cards.c
+@@ -25,9 +25,7 @@
+ #endif
+
+ #include <stdlib.h> /* for rand() */
+-#include <glib/garray.h>
+-#include <glib/gmem.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <gdk-pixbuf/gdk-pixbuf-core.h>
+
+ #include "cards.h"
+Index: gnono-1.9.1/src/cards.h
+===================================================================
+--- gnono-1.9.1.orig/src/cards.h
++++ gnono-1.9.1/src/cards.h
+@@ -23,7 +23,7 @@
+ #ifndef __GN_CARDS_H__
+ #define __GN_CARDS_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <gdk-pixbuf/gdk-pixbuf-core.h>
+
+ static const gdouble GN_CARD_HEIGHT = 98.0;
+Index: gnono-1.9.1/src/game.c
+===================================================================
+--- gnono-1.9.1.orig/src/game.c
++++ gnono-1.9.1/src/game.c
+@@ -24,9 +24,7 @@
+ #include <config.h>
+ #endif
+
+-#include <glib/garray.h>
+-#include <glib/gmessages.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <gtk/gtkmain.h>
+ #include <libgnome/gnome-config.h>
+
+Index: gnono-1.9.1/src/game.h
+===================================================================
+--- gnono-1.9.1.orig/src/game.h
++++ gnono-1.9.1/src/game.h
+@@ -23,7 +23,7 @@
+ #ifndef __GN_GAME_H__
+ #define __GN_GAME_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ /*#define GN_DEBUG*/
+
+Index: gnono-1.9.1/src/interface.h
+===================================================================
+--- gnono-1.9.1.orig/src/interface.h
++++ gnono-1.9.1/src/interface.h
+@@ -23,7 +23,7 @@
+ #ifndef __GN_INTERFACE_H__
+ #define __GN_INTERFACE_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <gtk/gtkwidget.h>
+ #include <gtk/gtkwindow.h>
+
+Index: gnono-1.9.1/src/main.c
+===================================================================
+--- gnono-1.9.1.orig/src/main.c
++++ gnono-1.9.1/src/main.c
+@@ -26,7 +26,7 @@
+
+ #include <unistd.h>
+ #include <glib/gi18n.h>
+-#include <glib/gmain.h>
++#include <glib.h>
+ #include <gtk/gtkmain.h>
+
+ #include "interface.h"
+Index: gnono-1.9.1/src/players.c
+===================================================================
+--- gnono-1.9.1.orig/src/players.c
++++ gnono-1.9.1/src/players.c
+@@ -24,8 +24,7 @@
+ #include <config.h>
+ #endif
+
+-#include <glib/garray.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <glib/gi18n.h>
+ #include <gtk/gtklabel.h>
+ #include <gtk/gtkwidget.h>
+Index: gnono-1.9.1/src/players.h
+===================================================================
+--- gnono-1.9.1.orig/src/players.h
++++ gnono-1.9.1/src/players.h
+@@ -23,8 +23,7 @@
+ #ifndef __GN_PLAYERS_H__
+ #define __GN_PLAYERS_H__
+
+-#include <glib/garray.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ #include "cards.h"
+
+Index: gnono-1.9.1/src/preferences.h
+===================================================================
+--- gnono-1.9.1.orig/src/preferences.h
++++ gnono-1.9.1/src/preferences.h
+@@ -23,7 +23,7 @@
+ #ifndef __GN_PREFERENCES_H__
+ #define __GN_PREFERENCES_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <gtk/gtkwidget.h>
+
+ void dlg_preferences (GtkWidget *caller, gpointer data);
diff --git a/games-board/gnono/gnono-1.9.1-r1.ebuild b/games-board/gnono/gnono-1.9.1-r1.ebuild
new file mode 100644
index 000000000000..9d5ede968dd4
--- /dev/null
+++ b/games-board/gnono/gnono-1.9.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="A rewrite for GNOME of the Windows card game WUNO"
+HOMEPAGE="https://sourceforge.net/projects/gnono/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="gnome-base/libgnomeui
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-glib-single-include.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-board/gnono/gnono-1.9.1.ebuild b/games-board/gnono/gnono-1.9.1.ebuild
new file mode 100644
index 000000000000..eee6e7653027
--- /dev/null
+++ b/games-board/gnono/gnono-1.9.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils gnome2-utils games
+
+DESCRIPTION="A rewrite for GNOME of the Windows card game WUNO"
+HOMEPAGE="https://sourceforge.net/projects/gnono/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="gnome-base/libgnomeui
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-glib-single-include.patch
+ eautoreconf
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-board/gnono/metadata.xml b/games-board/gnono/metadata.xml
new file mode 100644
index 000000000000..53a5689a737a
--- /dev/null
+++ b/games-board/gnono/metadata.xml
@@ -0,0 +1,11 @@
+<?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">gnono</remote-id>
+ </upstream>
+</pkgmetadata>