diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/blokish |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/blokish')
-rw-r--r-- | games-board/blokish/Manifest | 9 | ||||
-rw-r--r-- | games-board/blokish/blokish-0.9.4-r2.ebuild | 44 | ||||
-rw-r--r-- | games-board/blokish/blokish-0.9.4-r3.ebuild | 53 | ||||
-rw-r--r-- | games-board/blokish/files/blokish-0.9.4-gcc43.patch | 12 | ||||
-rw-r--r-- | games-board/blokish/files/blokish-0.9.4-underlink.patch | 9 | ||||
-rw-r--r-- | games-board/blokish/files/blokish-0.9.4-wxgtk.patch | 21 | ||||
-rw-r--r-- | games-board/blokish/metadata.xml | 11 |
7 files changed, 159 insertions, 0 deletions
diff --git a/games-board/blokish/Manifest b/games-board/blokish/Manifest new file mode 100644 index 000000000000..46fb4d35a644 --- /dev/null +++ b/games-board/blokish/Manifest @@ -0,0 +1,9 @@ +AUX blokish-0.9.4-gcc43.patch 195 SHA256 51789f0bfdf25fb9dc0521496ba1030aa24e3272e51068449a9612af73180c62 SHA512 4cca822dd7baeb3f81dd541689bde1c2e9fbcd9dfbe9ed33c714284075db8575919638e3f5c5ec62d8875d220a67ec3790d729d06af1b27e9f48b02a885593e0 WHIRLPOOL de00ba3c53104113b5f28095f69b6fb7a7e3bf9fddc20279926ded923384a5ae32a554ac74c8e71bb852daac5759a8bf4362113ac17d5a803a888b11b91d8897 +AUX blokish-0.9.4-underlink.patch 270 SHA256 bc8eebaafe00e0426885dd8d6ec2f88a704ffc09d350aab65d64f1facb8266ca SHA512 bc9c725c6c084a0a033c282401f886196421eb9e76fd0298e7a86f7cc3ffa23bb3bcaff483207498afe80c3e78b3a615ea21c6ba156a6a0f47e810bec58e7f92 WHIRLPOOL abc30d38815327a927e14789ce8546e4e39cbb3ddcefc506de4864ec1b2a3daa8535d195ac257ca734c14a18ae6045ce282aae18d86abca2460baec81acb465c +AUX blokish-0.9.4-wxgtk.patch 1469 SHA256 2ae4be64f4a5e3fa614bb676ee5c0ecce3396a4ee610efddde8d1f6190fa8499 SHA512 d495bbc120d4a6ebf93dc49e7090fd224946ceccd543570a6fa7f2d41dc6df41586f38a7bcdd06c7fa754c3201d23ca3f770f95531c6ecbd2e29a10595972143 WHIRLPOOL c4345e2527ef393789963c5b483da3d2de6bbe8c3e7db2dc1ba91caae8b6b7c70d857c9f33e3a76246d9c908e2a2887e6788fc771301bbdb5570b78adb5860cc +DIST blokish_v0.9.4.tgz 165215 SHA256 9ce9f6bf747df73b7827c37d4ecb24e10bdf491380bc8f9df3e32f45252bd54d SHA512 f84e5c31999cfca4bc6504907a889561c0e6c986b6c7bbd0d7325cec248d7e5d7834d841326635a605669b7bffd9fdb8c8fe73a216a738dace0385ae8a98cbec WHIRLPOOL e059adc2fbdffe8c9c4635d23cff73ae84f6733ce7f10d1c33de534ecad5a90e390e6b9884a1806dc634dbd7303bc57e646b155223b2d51ca3baa0f76803a3bc +EBUILD blokish-0.9.4-r2.ebuild 921 SHA256 d8cf6cc34a8d6b4a7c705c1cbbdcdf14151eada9b2231c4bc5f417490529e0be SHA512 37e021b0049d1ed615f51b93b79d32061d5ee490845640406e5ef6aed5b4308e1fe1868011efc120e0ce73dcbd83c3976164cd7d03b054883245b32affa2d118 WHIRLPOOL 1a1071131b4cf5118e50a88a1d0c922ab1951928c6ffd3d9e8d2abad37af065b2cd578bf7c6a5642dc2ac57660a902bdbce5454fbe91490351366090f3fd84cd +EBUILD blokish-0.9.4-r3.ebuild 965 SHA256 0096d82858e534cbee3e054e0fb380643e01f9f2174ed0105bf66c676245e02e SHA512 b18170cb4367dc5fe34d1a23861002c848269914408761f39f6069c081fd7af61a950003a8ee72d0c8745c2315b7e26a603c15afba2eda4d0a6cca0ba9595024 WHIRLPOOL 9afecf5d2d82d44e78335392818a63ec956e3db261b550aba4538478fa839c00bf6a4b6f38c58e08752a9b90a40f35c30476d9677e7491edb3c14254ee382857 +MISC ChangeLog 3778 SHA256 4a373a19701f0ce4795d78929402ddf55be10c217c68a4438fa432f16f063b2f SHA512 4114059481a6d17b88f58979b4ccb464f3d1364b5daaeb79cdd124300d4bef9208cd9b47c8706198b5b78f81edfef00367cd8467f2da5393ef062614c44148da WHIRLPOOL cfb0bfee4d87e7aae6caed81be7f49a82c2a5aa118dd9c167d75bd650a906928fc74f8f81facf550200aa8336759b64edecaa63721307ec218b9b6715abed2c5 +MISC ChangeLog-2015 1887 SHA256 f073f802a28c774562358b501ac4601141ca01b3e2ad9f1f3935edcee4c49dd2 SHA512 6508b3a04acd7d3adebcf2932a6880757f8a5d503273129cc8881df3b35c00d4f82729106b611468a9ed515224edfa211668972e0ea8255dd1ef25b86865f7f8 WHIRLPOOL 5b3e21f7c8b43e63ed72f64ec26e4e897e5070b0ba706b62ef773fab4a70dd22d0c95a57b112b78b63425fababbccff66a3c52d4425fc1aa1c71cba3114b9e6b +MISC metadata.xml 330 SHA256 2cea463f42dd10294b50150c1c8aea9b8b99eb16a0624eb81ab12f20877e2d77 SHA512 ab6edc3e5f113ed83a736fae1b3b1460116f684d4fedbc7a84f6d632ad5f977b0f2557c39a7cac99b998df9474b7733ea70ead63fa255aacac3c745c79c0d710 WHIRLPOOL 2184eb744bc6175b295e2c40f922d80b19b4edf53b7a85ef0613845253dd0a1e1cea4c7647402324047c47fa3ff0c20c6e43309732d91be86e8914ec395a1323 diff --git a/games-board/blokish/blokish-0.9.4-r2.ebuild b/games-board/blokish/blokish-0.9.4-r2.ebuild new file mode 100644 index 000000000000..1622bdf83130 --- /dev/null +++ b/games-board/blokish/blokish-0.9.4-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +WX_GTK_VER="3.0" +inherit eutils autotools wxwidgets games + +MY_P="${PN}_v${PV}" +DESCRIPTION="Open source clone of the four-player board game Blokus" +HOMEPAGE="https://sourceforge.net/projects/blokish/" +SRC_URI="mirror://sourceforge/blokish/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + virtual/glu + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-underlink.patch \ + "${FILESDIR}"/${P}-wxgtk.patch + sed -i \ + -e "s:wx-config:${WX_CONFIG}:" \ + configure.in makefile.am || die + mv configure.in configure.ac || die + eautoreconf +} + +src_install() { + default + + doicon src/${PN}.xpm + make_desktop_entry ${PN} Blokish ${PN} + + dohtml docs/* + prepgamesdirs +} diff --git a/games-board/blokish/blokish-0.9.4-r3.ebuild b/games-board/blokish/blokish-0.9.4-r3.ebuild new file mode 100644 index 000000000000..e45372c8a487 --- /dev/null +++ b/games-board/blokish/blokish-0.9.4-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0" +inherit eutils autotools wxwidgets + +MY_P="${PN}_v${PV}" +DESCRIPTION="Open source clone of the four-player board game Blokus" +HOMEPAGE="https://sourceforge.net/projects/blokish/" +SRC_URI="mirror://sourceforge/blokish/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + virtual/glu + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN} + +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-underlink.patch + "${FILESDIR}"/${P}-wxgtk.patch +) + +src_prepare() { + default + + # Otherwise $WX_CONFIG is unset: + setup-wxwidgets + + sed -i \ + -e "s:wx-config:${WX_CONFIG}:" \ + configure.in makefile.am || die + mv configure.in configure.ac || die + + eautoreconf +} + +src_install() { + default + + doicon src/${PN}.xpm + make_desktop_entry ${PN} Blokish ${PN} + + dodoc docs/* +} diff --git a/games-board/blokish/files/blokish-0.9.4-gcc43.patch b/games-board/blokish/files/blokish-0.9.4-gcc43.patch new file mode 100644 index 000000000000..f53e5495aa57 --- /dev/null +++ b/games-board/blokish/files/blokish-0.9.4-gcc43.patch @@ -0,0 +1,12 @@ +--- a/src/base.h ++++ b/src/base.h +@@ -25,6 +25,9 @@ + #include <vector> + #include <fstream> + #include <iostream> ++#include <algorithm> ++#include <cstdlib> ++#include <climits> + + enum BlokishID + { diff --git a/games-board/blokish/files/blokish-0.9.4-underlink.patch b/games-board/blokish/files/blokish-0.9.4-underlink.patch new file mode 100644 index 000000000000..a4433379e37a --- /dev/null +++ b/games-board/blokish/files/blokish-0.9.4-underlink.patch @@ -0,0 +1,9 @@ +--- a/makefile.am 2011-06-21 08:43:21.804880067 +0200 ++++ b/makefile.am 2011-06-21 08:43:49.875661081 +0200 +@@ -1,5 +1,5 @@ + INCLUDES = `wx-config --cxxflags` +-LIBS = `wx-config --libs --gl-libs` ++LIBS = `wx-config --libs --gl-libs` -lGL -lm + + bin_PROGRAMS = blokish + diff --git a/games-board/blokish/files/blokish-0.9.4-wxgtk.patch b/games-board/blokish/files/blokish-0.9.4-wxgtk.patch new file mode 100644 index 000000000000..1821e0b5f86d --- /dev/null +++ b/games-board/blokish/files/blokish-0.9.4-wxgtk.patch @@ -0,0 +1,21 @@ +diff -ru blokish/src/blokish.cpp blokish/src/blokish.cpp +--- blokish/src/blokish.cpp 2007-04-01 17:01:26.000000000 -0400 ++++ blokish/src/blokish.cpp 2015-11-15 21:48:32.426081482 -0500 +@@ -903,7 +903,7 @@ + void OnSaveGame(wxCommandEvent &event) + { + WaitForAIToFinish(); +- wxString filename = wxFileSelector(wxString::FromAscii("Select a filename to save as"), wxString::FromAscii(""), wxString::FromAscii("default.sav"), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxSAVE); ++ wxString filename = wxFileSelector(wxString::FromAscii("Select a filename to save as"), wxString::FromAscii(""), wxString::FromAscii("default.sav"), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxFD_SAVE); + if(!filename.empty()) + { + std::ofstream outFile(filename.fn_str(), std::ios::binary); +@@ -915,7 +915,7 @@ + void OnLoadGame(wxCommandEvent &event) + { + WaitForAIToFinish(); +- wxString filename = wxFileSelector(wxString::FromAscii("Select a game to load"), wxString::FromAscii(""), wxString::FromAscii(""), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxOPEN | wxFILE_MUST_EXIST); ++ wxString filename = wxFileSelector(wxString::FromAscii("Select a game to load"), wxString::FromAscii(""), wxString::FromAscii(""), wxString::FromAscii(".sav"), wxString::FromAscii("*.sav"), wxFD_OPEN | wxFD_FILE_MUST_EXIST); + if(!filename.empty()) + { + std::ifstream inFile(filename.fn_str(), std::ios::binary); diff --git a/games-board/blokish/metadata.xml b/games-board/blokish/metadata.xml new file mode 100644 index 000000000000..b7f485dcb3ed --- /dev/null +++ b/games-board/blokish/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">blokish</remote-id> + </upstream> +</pkgmetadata> |