summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-puzzle/gnudoku
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-puzzle/gnudoku')
-rw-r--r--games-puzzle/gnudoku/Manifest1
-rw-r--r--games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch20
-rw-r--r--games-puzzle/gnudoku/gnudoku-0.93.ebuild40
-rw-r--r--games-puzzle/gnudoku/metadata.xml5
4 files changed, 66 insertions, 0 deletions
diff --git a/games-puzzle/gnudoku/Manifest b/games-puzzle/gnudoku/Manifest
new file mode 100644
index 00000000000..b4a1da09576
--- /dev/null
+++ b/games-puzzle/gnudoku/Manifest
@@ -0,0 +1 @@
+DIST GNUDoku-0.93.tar.gz 26212 SHA256 409b18d525c37660a117d786fe537672c7f58b7f01e2c37dbc1cdf339661075d SHA512 124bde796149136320758de5088f7d177ec8a4ffe03190f22bd8b228c00d1adb790450c760110e14d1cc9bf70f7dd54477405582c313c91e8da97d39c8fc55a6 WHIRLPOOL 828632a90600ed64bed9fc8972b0826f3effda4975758c16023907b3cb47ccc4e55b848643675bd3528808b753e5442385bcd6421c21579bcc32ca254055e55f
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 00000000000..69dd08c3e8b
--- /dev/null
+++ b/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch
@@ -0,0 +1,20 @@
+--- GNUDoku.C
++++ GNUDoku.C
+@@ -25,6 +25,7 @@
+ #include <cstdlib>
+ #include <cstdio>
+ #include <ctime>
++#include <cstring>
+
+ #include <vector>
+ #include <cassert>
+--- sudoku.C
++++ 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.ebuild b/games-puzzle/gnudoku/gnudoku-0.93.ebuild
new file mode 100644
index 00000000000..406f777ae1f
--- /dev/null
+++ b/games-puzzle/gnudoku/gnudoku-0.93.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+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 ~ppc x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND=">=dev-cpp/gtkmm-2.6:2.4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ sed -i \
+ -e "s:\$(CXX):\$(CXX) ${CXXFLAGS} ${LDFLAGS}:" \
+ Makefile \
+ || die "sed failed"
+}
+
+src_install() {
+ dogamesbin GNUDoku
+ newicon GNUDoku.png ${PN}.png
+ make_desktop_entry ${MY_PN} ${MY_PN}
+ dodoc ALGORITHM Changelog README TODO
+ prepgamesdirs
+}
diff --git a/games-puzzle/gnudoku/metadata.xml b/games-puzzle/gnudoku/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/games-puzzle/gnudoku/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>