summaryrefslogtreecommitdiff
path: root/games-puzzle/gnudoku
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-puzzle/gnudoku
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-puzzle/gnudoku')
-rw-r--r--games-puzzle/gnudoku/Manifest4
-rw-r--r--games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch20
-rw-r--r--games-puzzle/gnudoku/gnudoku-0.93-r1.ebuild41
-rw-r--r--games-puzzle/gnudoku/metadata.xml8
4 files changed, 73 insertions, 0 deletions
diff --git a/games-puzzle/gnudoku/Manifest b/games-puzzle/gnudoku/Manifest
new file mode 100644
index 000000000000..0f6ccc3a65eb
--- /dev/null
+++ b/games-puzzle/gnudoku/Manifest
@@ -0,0 +1,4 @@
+AUX gnudoku-0.93-gcc43.patch 329 BLAKE2B 7c76007733a0d78c71d0e11416a2ccc415cbe44260cb231d5391c980c018d0d759e07844376fe8ef92b0c6bf40966ddcc3b990534be8532ef5192577cef5fac8 SHA512 b7cbfbaad6a73029ee0b31cab0c630a594e7ac6433c6972255ed7ea475a5729fe004fe5791ec82b97df84f19637cbc40a37df8fa5ff29fde115d343b836bdfe0
+DIST GNUDoku-0.93.tar.gz 26212 BLAKE2B 77d47294dbdfb3b9074e7ffb4a2083d13a33caa7a6268bb70722970beb5b065e54b4cb16733686ab2c8d08d4e88855ed51cacdd639aff5a84f1c62c5ab43aa35 SHA512 124bde796149136320758de5088f7d177ec8a4ffe03190f22bd8b228c00d1adb790450c760110e14d1cc9bf70f7dd54477405582c313c91e8da97d39c8fc55a6
+EBUILD gnudoku-0.93-r1.ebuild 867 BLAKE2B db5adacbe1fe2ca0f41a87e85b7b7ac609e73cb57199a5008cd32b1c2b10dc30b7865b3bbd77cb1385807165e030c92788bd025c00d13fe09c033e1f9135d621 SHA512 5e615e8a0b5384084b90fa1ff5582c90e9b9cae2692f4cbe2b00d15466f552832de995867daf3051160603867735b9ffcae9b6df25916bb2a768fb02051a0fb9
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch b/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch
new file mode 100644
index 000000000000..bb92102a37de
--- /dev/null
+++ b/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch
@@ -0,0 +1,20 @@
+--- a/GNUDoku.C
++++ b/GNUDoku.C
+@@ -25,6 +25,7 @@
+ #include <cstdlib>
+ #include <cstdio>
+ #include <ctime>
++#include <cstring>
+
+ #include <vector>
+ #include <cassert>
+--- a/sudoku.C
++++ b/sudoku.C
+@@ -10,6 +10,7 @@
+ #include <cstdio>
+ #include <cstdlib>
+ #include <ctime>
++#include <cstring>
+
+ #include <map>
+ namespace sudoku
diff --git a/games-puzzle/gnudoku/gnudoku-0.93-r1.ebuild b/games-puzzle/gnudoku/gnudoku-0.93-r1.ebuild
new file mode 100644
index 000000000000..bfd07d1a9a25
--- /dev/null
+++ b/games-puzzle/gnudoku/gnudoku-0.93-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop flag-o-matic
+
+MY_PN="GNUDoku"
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="A program for creating and solving Su Doku puzzles"
+HOMEPAGE="http://www.icculus.org/~jcspray/GNUDoku"
+SRC_URI="http://www.icculus.org/~jcspray/GNUDoku/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND=">=dev-cpp/gtkmm-2.6:2.4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${P}-gcc43.patch
+ append-cxxflags -std=c++11
+ sed -i \
+ -e "s:\$(CXX):\$(CXX) ${CXXFLAGS} ${LDFLAGS}:" \
+ Makefile \
+ || die "sed failed"
+}
+
+src_install() {
+ dobin GNUDoku
+ newicon GNUDoku.png ${PN}.png
+ make_desktop_entry ${MY_PN} ${MY_PN}
+ dodoc ALGORITHM Changelog README TODO
+}
diff --git a/games-puzzle/gnudoku/metadata.xml b/games-puzzle/gnudoku/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-puzzle/gnudoku/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>