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-puzzle/construo |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/construo')
-rw-r--r-- | games-puzzle/construo/Manifest | 7 | ||||
-rw-r--r-- | games-puzzle/construo/construo-0.2.2.ebuild | 38 | ||||
-rw-r--r-- | games-puzzle/construo/files/construo-0.2.2-gcc43.patch | 82 | ||||
-rw-r--r-- | games-puzzle/construo/files/construo-0.2.2-lGLU.patch | 18 | ||||
-rw-r--r-- | games-puzzle/construo/metadata.xml | 8 |
5 files changed, 153 insertions, 0 deletions
diff --git a/games-puzzle/construo/Manifest b/games-puzzle/construo/Manifest new file mode 100644 index 000000000000..9f3755e758bd --- /dev/null +++ b/games-puzzle/construo/Manifest @@ -0,0 +1,7 @@ +AUX construo-0.2.2-gcc43.patch 1785 SHA256 9c3c660ed4cbf2c5acaacd6d63f48aa08eeac025fc31b41118aef8fd1e9f1c65 SHA512 25b226897804de23fa45f89a2b94bc86f69766916180f61d6c59e7a47c69b6b574fe649a9d6e37d8488600747210e06adde7a5fed26b4fea4663e32e46d13d42 WHIRLPOOL d4dcaafce4adda37fce9952128af9e707b2caefbb72669c93a7242618edf79dfb8218e7a3a371120053218dc411b409f3021439db3bfbf7eacea0f4d9a3b7cb5 +AUX construo-0.2.2-lGLU.patch 425 SHA256 5ba7f84ed62f373b5c607b49c88f3e5a8ac36fe74997bb834d4069107a6bac9d SHA512 a450d5dee7f71d649b2d7d853875576701311de7c6dee2f21217d07dce59f19226dabe3be99d85f74454a690ce409cf7450c8f1cbe942f7388cfde2be5a05208 WHIRLPOOL 97c0892eaa786dea0d22652fac90bb4f0588f2269d325bb8bdfe5972db355f9379af19f86c078afddecdde808cdbad2e200671b8cffd1ec70ec9cecf8813fddc +DIST construo-0.2.2.tar.gz 442626 SHA256 93b1dc5c26aab42d886f102e501189982c28d390f8b573f8f4a42bad640ec630 SHA512 b73854a64aedcb9ddcd8f2c3e809f975ef3d2f63bdefd2e126c808a4154d7ff3d402457f9da5f866e6b9d74c6010ffc58d44b04277976fe1a9aeabc20ea786a9 WHIRLPOOL 1b2ac0f7fcdb186deff55d958786a854bf196547f37e46eb9fb0aeeda037096db022cd6e36b9378e661a965e06ce79546389e72edff0623ad8a497526d5bfc61 +EBUILD construo-0.2.2.ebuild 819 SHA256 1d104b2ddcab4971e66f3f64e4e6a0c2ed79a4961feb73a2d5b843e98cd79f6c SHA512 84c9242622d1ebf38614b36e454388b363acd7f050893b0a2803b0027a68e2ba01452f97e9eeab78e088d127677de67db4b44b3cffbb31a34884c93e9a53e9a3 WHIRLPOOL 26a46450e75db1bce3008cc589a89f612801846e80a2b6af8051a981d7214a890ca3d94c4dd52d50fab219aea2e0564f0e527ec0f45bb318d22271fe657ea70a +MISC ChangeLog 2641 SHA256 9cbce31ee5c89c9eaf8dfeb81a133a5fb9dc9b480cf490da96ddbcf6249a0e1d SHA512 ffeed6dcd18d6b8350e0aa34186b88937f1f4698145241516077d1a7c8d6c1615bbd1759ce39fd3e4d27159cc0d02fdc831971b1d530249d1de57d8b142e4811 WHIRLPOOL ca8e30d65228b754ed1c4b40ac5804682f4865bd7a9f9b6643be00fdd175d25ccab41b6b39162e231a8dd36ef6e664bb641f3f7d1140f4ff2acf6f33a9c528fe +MISC ChangeLog-2015 1982 SHA256 0fc29bd5ed538749830e12e39b0fa52aed197e350929fa70b6f205ed16d84b86 SHA512 bee84002dc55cbdc8857ce3889c8b80483833f2071d883e43861b5d2d89adeaf52dfaf70dcdffc6df78fdbf02317eedeeea47f7a0f5473d11dd11763ef01c618 WHIRLPOOL 4956b54b3b4ce5e1d0c61992fc170a8ef1ab4814de7f61b1bb4e532d38be79aa9b59d3124188a6e2d6b05712d838a05086ee5f1b89eb8add5d3859ad34adb3e3 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/construo/construo-0.2.2.ebuild b/games-puzzle/construo/construo-0.2.2.ebuild new file mode 100644 index 000000000000..f5c416209446 --- /dev/null +++ b/games-puzzle/construo/construo-0.2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="2d construction toy with objects that react on physical forces" +HOMEPAGE="http://www.nongnu.org/construo/" +SRC_URI="http://freesoftware.fsf.org/download/construo/construo.pkg/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/freeglut + x11-libs/libXxf86vm" +DEPEND="${RDEPEND} + x11-proto/xf86vidmodeproto" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-lGLU.patch + sed -i -e 's/^bindir=.*/bindir=@bindir@/' Makefile.am || die + eautoreconf +} + +src_configure() { + egamesconf --datadir="${GAMES_DATADIR_BASE}" +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/construo/files/construo-0.2.2-gcc43.patch b/games-puzzle/construo/files/construo-0.2.2-gcc43.patch new file mode 100644 index 000000000000..cc946b043bae --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.2-gcc43.patch @@ -0,0 +1,82 @@ +--- command_line.cxx ++++ command_line.cxx +@@ -19,7 +19,9 @@ + + #include <config.h> + #include <iostream> +-#include <stdio.h> ++#include <cstdio> ++#include <cstdlib> ++#include <cstring> + #include "settings.hxx" + #include "command_line.hxx" + +--- config.hxx ++++ config.hxx +@@ -21,6 +21,7 @@ + #define CONFIG_HH + + #include <string> ++#include <cstdlib> + + class Config + { +--- lisp_reader.cxx ++++ lisp_reader.cxx +@@ -17,6 +17,7 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + ++#include <cstring> + #include "construo_error.hxx" + #include "lisp_reader.hxx" + +--- unix_system.cxx ++++ unix_system.cxx +@@ -17,8 +17,9 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-#include <stdio.h> +-#include <assert.h> ++#include <cstdio> ++#include <cassert> ++#include <cstring> + #include <unistd.h> + #include <sys/time.h> + #include <time.h> +--- vector.cxx ++++ vector.cxx +@@ -16,8 +16,8 @@ + totally replaced old CL_Vector with this code + */ + +-#include <assert.h> +-#include <math.h> ++#include <cassert> ++#include <cmath> + #include "vector.hxx" + + CL_Vector::CL_Vector(float x, float y, float z, float w) +--- world.cxx ++++ world.cxx +@@ -17,7 +17,8 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-#include <assert.h> ++#include <cassert> ++#include <cstring> + #include <algorithm> + #include "config.h" + +--- x11_display.cxx ++++ x11_display.cxx +@@ -19,6 +19,7 @@ + + #include <config.h> + #include <iostream> ++#include <cstring> + #include <X11/Xutil.h> + #include <X11/cursorfont.h> + #include <X11/keysym.h> diff --git a/games-puzzle/construo/files/construo-0.2.2-lGLU.patch b/games-puzzle/construo/files/construo-0.2.2-lGLU.patch new file mode 100644 index 000000000000..4c0b018cfdc1 --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.2-lGLU.patch @@ -0,0 +1,18 @@ +--- configure.ac.old 2009-11-24 18:27:48.000000000 +0100 ++++ configure.ac 2009-11-24 18:28:29.000000000 +0100 +@@ -114,7 +114,7 @@ + AC_CHECK_LIB(glut, glutMainLoop, + [ + ConstruoTargets="$ConstruoTargets construo.glut" +- AC_SUBST(glut_LIBS,"-lglut") ++ AC_SUBST(glut_LIBS,"-lglut -lGLU -lGL -lm") + ], + []) + +@@ -158,4 +158,4 @@ + echo " Ingo Ruhnke <grumbel@gmx.de>" + echo "" + +-# EOF # +\ No newline at end of file ++# EOF # diff --git a/games-puzzle/construo/metadata.xml b/games-puzzle/construo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/construo/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> |