summaryrefslogtreecommitdiff
path: root/games-board/gtkboard
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/gtkboard
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/gtkboard')
-rw-r--r--games-board/gtkboard/Manifest8
-rw-r--r--games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch24
-rw-r--r--games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch22
-rw-r--r--games-board/gtkboard/gtkboard-0.11_pre0-r1.ebuild51
-rw-r--r--games-board/gtkboard/gtkboard-0.11_pre0.ebuild49
-rw-r--r--games-board/gtkboard/metadata.xml11
6 files changed, 165 insertions, 0 deletions
diff --git a/games-board/gtkboard/Manifest b/games-board/gtkboard/Manifest
new file mode 100644
index 000000000000..dd0f5b05c81b
--- /dev/null
+++ b/games-board/gtkboard/Manifest
@@ -0,0 +1,8 @@
+AUX gtkboard-0.11_pre0-gcc41.patch 591 SHA256 beed7e2e674bbb90d7cb5709be472035d5e26335d76f79a2ccc44b9667325f98 SHA512 ce7b16643054fd9171c867b6ee7db946577d610fe9f9f6ac9fab98378182934b2eca1828ec8550664c1c67bc2b0f6631ed4538feb9e52d6b9f0ac7e73c1cd656 WHIRLPOOL 74f28e38b31f06b1031815804ae1d75cf9746d640b64cd9e89e144cadd23f3854d9649191d0cc8b40e7c9287ec3858c2f8925ee3071e9b02479806ba5c05edf0
+AUX gtkboard-0.11_pre0-gcc45.patch 696 SHA256 f693da52bb154a10e5f8c22d43685889a8e4bc51b8e16ced490a8d1f98cb6278 SHA512 7e95753b1a69fbb7031deeb160a7b6da2113171984d8680630317f121e0a12ba97c3230342a3beb5ece6d3579ac4d65a0e9fa1b78e635c690e9e5fac15b54cd9 WHIRLPOOL e80f97a449d75d1353b691be2188d2fc277f4134ed4dadc7831ba020a53ec04394922e86fbec12369bd6e8c1aa07e239d5f586e353c954fe23fd1970d139f300
+DIST gtkboard-0.11pre0.tar.gz 459581 SHA256 e67ffbec822ce989c9b480b9ef0429bcc75fb2dcdf349940d7d5f9f85da902c5 SHA512 09d4a1d5203ef0e21d21b5b6cb351add71d0a415ad83808b6e281dcf3f869221e99ae683846462d465eaac54f5eb292e1d8447ea7cdfb07602a8add49e2db283 WHIRLPOOL 4dbf967c31b8a1f6fb044f3a22851e2b843b32c908609d1120f9879814163a83cec6db7152c68beebb606db817293b86750b908d7c4d2f8b002dc6c48cbed56c
+EBUILD gtkboard-0.11_pre0-r1.ebuild 971 SHA256 d1a053fcf637c0406f61647f77970bd7e3e246aa86d4557d3fb1709ab98fb1a6 SHA512 dfd3cbefeedb47642fff2171f602883cede95f975bc1e66b3c0a41d469abec852d4e198e0e4f0b5b4f7778140a0b906fa32f275a3940ec7b1e6559364e1fa767 WHIRLPOOL b5b3b3ea7dc35ebd2c1b1b07d595e16f60cd6abad8d569d4bf3d0848765c7ac16dc500d63fff47ef338911ef8356ff800b57207380831cb5f00a8d97885a5e3a
+EBUILD gtkboard-0.11_pre0.ebuild 1029 SHA256 176971f9dfa319559f2190312722178dd6ed374a4dfad5aa32414b13ab92d080 SHA512 56ac0d49847b80c7a4d36515ac1de729c36d012b0c3c7c5ff917184771a2f914e40853df3e3d8418aca1fb48a193a8fd569f40e436bf4a12110eb8f4213d975f WHIRLPOOL 11685fffc265ac37e3d37440c53e58f0acd182eae69f71eb7e94fa85960d5d8230b9f8b6a8c8882dc51f34430352d005b74b6bb0e45c55c22a107ff19701c889
+MISC ChangeLog 2865 SHA256 e9f38b2815f05a6910713b40d290901a72332a11961f9ad2e956e36088f122f9 SHA512 126bf8e45c3b395b67dbdc1aaeda24ccb17c49378d7f6963957c9bb8b41a3d998e7a01423c2f9015126883f6984009d19f24cb4f68c7ce2d4deaa5c31858a2f8 WHIRLPOOL b80fdd29c8f0df5012160123223e86dc96f7fb91222a2a5921c7871b13cc96bad144bc1452a22d0d19d3077f95ed3c7acbdc8fa558b02b917372b03bc79c7eaf
+MISC ChangeLog-2015 2200 SHA256 00201616606dfa3e7060089b2c0f00adbdf2e11826b9a91190de57170ac7a4cd SHA512 eb6c778c2d5650874498cb02a1e14b6e93ee173d913c28ef47f2267200838bfd94f5a011ed5edb2b4839f14d8f4b722252ae9efe45716d6bfca19c9d832c2aa4 WHIRLPOOL 64151de7911350634de253999fa8cdb9841865edc74f6f725913d9a45e2c344d6a5a74e36fba8a9552be098839e200017f4f4244dbe6bc4cfe0515099697630a
+MISC metadata.xml 331 SHA256 ca78f949fb8a51fed1b0d3bb00eda1aec1783729b79fa0a17ec469cc729ef4f9 SHA512 809518470fc270114a602f396c94e42ed33a87e6a46924679e9f1c23dae1863ee4b5a4419bd73d95a069b3810e53f3dd59bfb40ddaa888c9683ac6e2c1c52fb3 WHIRLPOOL b97ecacbd67063225a77a30b4bc99b5dc53d3062b29dcdb9926d76c20e695fe29999d199f7b4890fc9396d2dfe6dc317f5f0c746f348807c2a5c329f4e491679
diff --git a/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch
new file mode 100644
index 000000000000..f14096e155d1
--- /dev/null
+++ b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch
@@ -0,0 +1,24 @@
+gcc-4.1 patch from debian.
+
+--- a/src/board.c
++++ b/src/board.c
+@@ -74,7 +74,7 @@
+ //! default background
+ char board_default_colors [9] = {215, 215, 215, 215, 215, 215, 0, 0, 0};
+
+-static int cell_size, num_pieces;
++int cell_size, num_pieces;
+
+ extern void ui_make_human_move (byte *move, int *rmove);
+
+--- a/src/menu.c
++++ b/src/menu.c
+@@ -829,7 +829,7 @@
+
+ {
+ int i;
+- GtkItemFactoryEntry help_items [3];
++ GtkItemFactoryEntry help_items [4];
+ help_items[0].path = g_strdup_printf ("/Help/%s", opt_game->name);
+ help_items[0].accelerator = NULL;
+ help_items[0].callback = NULL;
diff --git a/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch
new file mode 100644
index 000000000000..dd5a2f92a1e2
--- /dev/null
+++ b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch
@@ -0,0 +1,22 @@
+--- a/src/menu.c 2010-05-24 12:35:15.000000000 +0200
++++ b/src/menu.c 2010-05-24 12:35:48.000000000 +0200
+@@ -176,7 +176,7 @@
+ {
+ #if GTK_MAJOR_VERSION == 2
+ // FIXME: can't get existing bgcolor
+- const int size = 20;
++#define size 20
+ static char pixbufs [7][size*(size+1)];
+ char **pixmap_data;
+ static GdkPixmap *pixmaps[7];
+--- a/src/wordtris.c 2010-05-24 12:36:50.000000000 +0200
++++ b/src/wordtris.c 2010-05-24 12:38:30.000000000 +0200
+@@ -122,7 +122,7 @@
+
+ // TODO: change this so that we only need to specify pixmaps for individual squares
+
+-static const int lava_xpm_header_size = 253+1;
++#define lava_xpm_header_size 253+1
+ static char * lava_xpm_header[] =
+ {
+ "144 504 253 2",
diff --git a/games-board/gtkboard/gtkboard-0.11_pre0-r1.ebuild b/games-board/gtkboard/gtkboard-0.11_pre0-r1.ebuild
new file mode 100644
index 000000000000..fe97dee177fa
--- /dev/null
+++ b/games-board/gtkboard/gtkboard-0.11_pre0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+MY_P=${P/_}
+DESCRIPTION="Board games system"
+HOMEPAGE="http://gtkboard.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+RDEPEND="x11-libs/gtk+:2
+ media-libs/libsdl:0[sound]
+ media-libs/sdl-mixer[vorbis]
+ gnome? ( gnome-base/libgnomeui )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc41.patch
+ "${FILESDIR}"/${P}-gcc45.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e "/^LIBS/s:@LIBS@:@LIBS@ -lgmodule-2.0 -lm:" \
+ src/Makefile.in
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --enable-gtk2 \
+ --enable-sdl \
+ $(use_enable gnome)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doicon pixmaps/${PN}.png
+ make_desktop_entry ${PN} Gtkboard
+ dodoc AUTHORS ChangeLog TODO doc/index.html
+}
diff --git a/games-board/gtkboard/gtkboard-0.11_pre0.ebuild b/games-board/gtkboard/gtkboard-0.11_pre0.ebuild
new file mode 100644
index 000000000000..d58f7799a272
--- /dev/null
+++ b/games-board/gtkboard/gtkboard-0.11_pre0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+MY_P=${P/_}
+DESCRIPTION="Board games system"
+HOMEPAGE="http://gtkboard.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="gnome"
+
+RDEPEND="x11-libs/gtk+:2
+ media-libs/libsdl:0[sound]
+ media-libs/sdl-mixer[vorbis]
+ gnome? ( gnome-base/libgnomeui )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-gcc45.patch
+ sed -i -e "/^LIBS/s:@LIBS@:@LIBS@ -lgmodule-2.0 -lm:" \
+ src/Makefile.in
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --datadir="${GAMES_DATADIR}"/${PN} \
+ --enable-gtk2 \
+ --enable-sdl \
+ $(use_enable gnome)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doicon pixmaps/${PN}.png
+ make_desktop_entry ${PN} Gtkboard
+ dodoc AUTHORS ChangeLog TODO
+ dohtml doc/index.html
+ prepgamesdirs
+}
diff --git a/games-board/gtkboard/metadata.xml b/games-board/gtkboard/metadata.xml
new file mode 100644
index 000000000000..e06235899db3
--- /dev/null
+++ b/games-board/gtkboard/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">gtkboard</remote-id>
+ </upstream>
+</pkgmetadata>