From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-board/blokish/Manifest | 6 +++ games-board/blokish/blokish-0.9.4-r3.ebuild | 53 ++++++++++++++++++++++ .../blokish/files/blokish-0.9.4-gcc43.patch | 12 +++++ .../blokish/files/blokish-0.9.4-underlink.patch | 9 ++++ .../blokish/files/blokish-0.9.4-wxgtk.patch | 21 +++++++++ games-board/blokish/metadata.xml | 11 +++++ 6 files changed, 112 insertions(+) create mode 100644 games-board/blokish/Manifest create mode 100644 games-board/blokish/blokish-0.9.4-r3.ebuild create mode 100644 games-board/blokish/files/blokish-0.9.4-gcc43.patch create mode 100644 games-board/blokish/files/blokish-0.9.4-underlink.patch create mode 100644 games-board/blokish/files/blokish-0.9.4-wxgtk.patch create mode 100644 games-board/blokish/metadata.xml (limited to 'games-board/blokish') diff --git a/games-board/blokish/Manifest b/games-board/blokish/Manifest new file mode 100644 index 000000000000..1cdedba62685 --- /dev/null +++ b/games-board/blokish/Manifest @@ -0,0 +1,6 @@ +AUX blokish-0.9.4-gcc43.patch 195 BLAKE2B 2b254b8af303b1d224b71e245416305e4fc605bfc2197c4ac3ca2b00c632cb2c77d7c7156f1019d8bf74e8e714abf167e6315644bbcd92ba0dd78f85a22740e2 SHA512 4cca822dd7baeb3f81dd541689bde1c2e9fbcd9dfbe9ed33c714284075db8575919638e3f5c5ec62d8875d220a67ec3790d729d06af1b27e9f48b02a885593e0 +AUX blokish-0.9.4-underlink.patch 270 BLAKE2B 3849db25e27397a201ffa6bc9ef26b5ff852c1049f2195a0ff5e012fac589bf5e04ae0a1741e54d01e05f802e8193774e29100a5232cd1c4f11d14814d5b5038 SHA512 bc9c725c6c084a0a033c282401f886196421eb9e76fd0298e7a86f7cc3ffa23bb3bcaff483207498afe80c3e78b3a615ea21c6ba156a6a0f47e810bec58e7f92 +AUX blokish-0.9.4-wxgtk.patch 1469 BLAKE2B 2dad1ea91ddc31eff1150283585179bf7a22d8837ee120123ef588bcfc4a838a15453a5e37ef62055d60de0e45ead4ab4b679bf0c663b434aeb21633b4755e53 SHA512 d495bbc120d4a6ebf93dc49e7090fd224946ceccd543570a6fa7f2d41dc6df41586f38a7bcdd06c7fa754c3201d23ca3f770f95531c6ecbd2e29a10595972143 +DIST blokish_v0.9.4.tgz 165215 BLAKE2B 137a82d8833da4459d394a2832fc32de3157c107d2cfcbd3ff93b8274ee1b218a823c44f70a6b256aa6bfa4367c01561829c29638c331cbdf179bfa069278b7a SHA512 f84e5c31999cfca4bc6504907a889561c0e6c986b6c7bbd0d7325cec248d7e5d7834d841326635a605669b7bffd9fdb8c8fe73a216a738dace0385ae8a98cbec +EBUILD blokish-0.9.4-r3.ebuild 965 BLAKE2B 8d7ecdf958263c7ce510ff16779abfab4f5528de65f7d4a438018582fe75115849c2444f5bc46d994925cea7624760579a1a18bbdb7f798b07efe7598418f9ce SHA512 b18170cb4367dc5fe34d1a23861002c848269914408761f39f6069c081fd7af61a950003a8ee72d0c8745c2315b7e26a603c15afba2eda4d0a6cca0ba9595024 +MISC metadata.xml 330 BLAKE2B febcfddefec46284254771d629db20864acd22a2dc23ca0c2082386d1270a4f92d549cf8ab9ca0e9690b7e57e90dfbb9cca10e14a1e8ef910a2e8bfe36be1eda SHA512 ab6edc3e5f113ed83a736fae1b3b1460116f684d4fedbc7a84f6d632ad5f977b0f2557c39a7cac99b998df9474b7733ea70ead63fa255aacac3c745c79c0d710 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 + #include + #include ++#include ++#include ++#include + + 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 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + blokish + + -- cgit v1.2.3