summaryrefslogtreecommitdiff
path: root/dev-libs/libcoyotl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libcoyotl
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libcoyotl')
-rw-r--r--dev-libs/libcoyotl/Manifest7
-rw-r--r--dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch32
-rw-r--r--dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch11
-rw-r--r--dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild50
-rw-r--r--dev-libs/libcoyotl/metadata.xml8
5 files changed, 108 insertions, 0 deletions
diff --git a/dev-libs/libcoyotl/Manifest b/dev-libs/libcoyotl/Manifest
new file mode 100644
index 000000000000..ab88aa9801f1
--- /dev/null
+++ b/dev-libs/libcoyotl/Manifest
@@ -0,0 +1,7 @@
+AUX 3.1.0-gcc-4.3.patch 1106 SHA256 baec176df857c807ddeefcea9f5c94fafb001e517bd4dce4dfe43054eada0648 SHA512 4db742551b39ce51b804588e22ef7c3691f3cece1414c6fc361c69f79682c91c06a9d58dfaa2d75c0654fbf75a80dd30c8f9b86de7192399f3601d145e84d1a8 WHIRLPOOL b9ab738535dc9a9c25ac488759ac79205e3c9e18bc53f7cbc257e315d05bb4523eb5bf88fcb87c372d83329f44dcba5956742cceb7beeab6375ff134f9b31de9
+AUX 3.1.0-gcc-4.7.patch 286 SHA256 a950273a70479654a2da9e4fab9abd9869df4b26d8941895aaab7dfd91dc6af3 SHA512 616ddbebe40254ac0d4b04f7f7633c3ae77a88d261ea8c74f4105f803c2bfffcf5eeb50822d65a9a3aab58cde020464b8ce7ff56a3e8551b9a04f33ecf35398f WHIRLPOOL 98d3e25077596c8987ee254cf0e4b18f3a8d6492053f51c494576c57ac3c88bf907615ba65dbc065fc555e767226c1f18eeec0215189da329cccadb03114f11c
+DIST libcoyotl-3.1.0.tar.gz 346384 SHA256 540cb2e131cc345f94eaa1a7682532e200b57efd6b6a5e2d9e68aa7819f63860 SHA512 18d0a71204dc57d44f73fe03fd88c2a040e83615557cf1f018c22ad7c9a11d793c7f71df8e10a156b9fd4fae910882ed6cec37f9e57efd3546ffc15fa82a51b5 WHIRLPOOL 66a08ae5827ce9bf7ab5d532dc29485fc4b82e15005cad5a91f1e9fbc27b9fdd64889d0c9f68bbc7e7fd6463b6dcee552ed906c149bb6727f01931c213404ca4
+EBUILD libcoyotl-3.1.0-r2.ebuild 964 SHA256 9366c73c43c39aa0c0481eefcda9adbe897feb365902942bee6c2a4c3b62f044 SHA512 7d31f5c23ecfaa484c37fdd22dae9fcb5bc907f862d8e67d499780259bbfd632090833ed67a9c65a8479b0530085ff762272787357e5aadbaf971aa0164742bd WHIRLPOOL 7112b48b8acf3b07d55e383ff3fd6633e2f026c065d9e89082a0f5e22472a7fda8453a0a19426e02149e3e93db7f5fa40a586a979deaeb8788b4d10cd9e4ad5c
+MISC ChangeLog 2497 SHA256 af43e6fa3d7c7776e694f34f1205c1e59f061def7f3c9d6ddee5f9262c1c1749 SHA512 6af205d0355bb3c4af5a03a5cafd25498ff906bdc9dedabfb8a64e2b1b4661f93c94a8a36c4963fa7bb9bac3867a5a66252135a26535ff164f35494ac405bccd WHIRLPOOL b3bd35a4284e04007d0722fb157eaf057c11b9b890b268812040c7d1d514050b42505ebf4e9c67714302353b2b3b163d33ba3d38ed36f538bedfb5eee051323a
+MISC ChangeLog-2015 3016 SHA256 379a37ebd14fd6223d4362237af83438527f574f31a6d60a73564097850536a5 SHA512 ccf5c924f5324fd2b36474994a561935eb6b58552364da7ba87b42843189d01c3c77346ab17f072868cc9e87420773cbc39ea2a7f5fb9971a3dcec4b887c0c25 WHIRLPOOL fc32f880884c1f3dd673c15270cdbd1226a69d42941a98d3c907ee6c0318e6795334a528dde0de116cb58cc9064601d3904963bb88aee318f8a7c6df087e5de1
+MISC metadata.xml 245 SHA256 2d55ae4b33723b881e2cd48221560da36aec5b304b8bf2b440a9e2588875dba9 SHA512 b098db4fb4d9ea116f6246bc6caf0f49e80e236d2fad78d287b638dbd5add7bfaf7feb1ca081ca557b23dde9227ce42fa808f3f6fd8eaba6a7e9cae93342f9c6 WHIRLPOOL edd2e34ed3775c96bf085c9c0a95bd448028cb5ba6a2bfa7d7253b54878c888b62fa579483265c47c2602ca454fd656d32346eaa7351067cc3a36295d1e1e861
diff --git a/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch b/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch
new file mode 100644
index 000000000000..4d3391e21161
--- /dev/null
+++ b/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch
@@ -0,0 +1,32 @@
+diff -NrU5 libcoyotl-3.1.0.orig/libcoyotl/command_line.cpp libcoyotl-3.1.0/libcoyotl/command_line.cpp
+--- libcoyotl-3.1.0.orig/libcoyotl/command_line.cpp 2008-03-21 22:41:41.000000000 +0100
++++ libcoyotl-3.1.0/libcoyotl/command_line.cpp 2008-03-21 22:41:59.000000000 +0100
+@@ -30,10 +30,13 @@
+ // http://www.coyotegulch.com
+ //
+ //-----------------------------------------------------------------------
+
+ #include "command_line.h"
++
++#include <cstring>
++
+ using namespace libcoyotl;
+
+ command_line::command_line(int argc, char * argv[], const set<string> & bool_opts)
+ : m_options(),
+ m_inputs(),
+diff -NrU5 libcoyotl-3.1.0.orig/libcoyotl/sortutil.h libcoyotl-3.1.0/libcoyotl/sortutil.h
+--- libcoyotl-3.1.0.orig/libcoyotl/sortutil.h 2008-03-21 22:41:41.000000000 +0100
++++ libcoyotl-3.1.0/libcoyotl/sortutil.h 2008-03-21 22:41:59.000000000 +0100
+@@ -34,10 +34,11 @@
+ //-----------------------------------------------------------------------
+
+ #if !defined(LIBCOYOTL_SORTUTIL_H)
+ #define LIBCOYOTL_SORTUTIL_H
+
++#include <climits>
+ #include <stdexcept>
+
+ namespace libcoyotl
+ {
+
diff --git a/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch b/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch
new file mode 100644
index 000000000000..443cbe2a8657
--- /dev/null
+++ b/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch
@@ -0,0 +1,11 @@
+--- libcoyotl/maze_renderer.cpp.ORIG 2005-10-10 06:48:30.000000000 +0200
++++ libcoyotl/maze_renderer.cpp 2013-04-12 10:29:31.127689828 +0200
+@@ -36,6 +36,8 @@
+ #include "maze_renderer.h"
+ using namespace libcoyotl;
+
++#include <string.h>
++
+ #include <stdexcept>
+ using namespace std;
+
diff --git a/dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild b/dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild
new file mode 100644
index 000000000000..77cc8e787e76
--- /dev/null
+++ b/dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils autotools
+
+DESCRIPTION="A collection of portable C++ classes"
+HOMEPAGE="http://www.coyotegulch.com/products/libcoyotl/"
+SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+
+IUSE="doc static-libs"
+
+RDEPEND="media-libs/libpng:0="
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-gcc-4.3.patch"
+ epatch "${FILESDIR}/${PV}-gcc-4.7.patch"
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ ac_cv_prog_HAVE_DOXYGEN="false" econf $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake
+
+ if use doc ; then
+ cd docs
+ doxygen libcoyotl.doxygen || die "generating docs failed"
+ fi
+}
+
+src_install() {
+ default
+ prune_libtool_files
+ if use doc ; then
+ dohtml docs/html/*
+ fi
+}
diff --git a/dev-libs/libcoyotl/metadata.xml b/dev-libs/libcoyotl/metadata.xml
new file mode 100644
index 000000000000..41cd682e0ecf
--- /dev/null
+++ b/dev-libs/libcoyotl/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>cpp@gentoo.org</email>
+ <name>Gentoo C++ Project</name>
+</maintainer>
+</pkgmetadata>