summaryrefslogtreecommitdiff
path: root/dev-libs/libbulletml
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/libbulletml
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libbulletml')
-rw-r--r--dev-libs/libbulletml/Manifest7
-rw-r--r--dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch31
-rw-r--r--dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch20
-rw-r--r--dev-libs/libbulletml/libbulletml-0.0.6.ebuild44
-rw-r--r--dev-libs/libbulletml/metadata.xml8
5 files changed, 110 insertions, 0 deletions
diff --git a/dev-libs/libbulletml/Manifest b/dev-libs/libbulletml/Manifest
new file mode 100644
index 000000000000..a12dbf3ec0bd
--- /dev/null
+++ b/dev-libs/libbulletml/Manifest
@@ -0,0 +1,7 @@
+AUX libbulletml-0.0.6-gcc43.patch 589 SHA256 86e34792a212498cd2ffa86abe8ce595479a904f434d60ba4df924c51bc9455b SHA512 63cf59a3d7edf660cefe103790d56e8f7c630a4247b0a704b538f3006b1159d4b9942bd1576993f7addb888029dfbf1668e802e809972c8273f58a21f1d339a0 WHIRLPOOL 524e25283ba3ef29170da581be5993079b36d37b91a2a7f860be9444f58930cd14e430b8170d62e31753b2a978d072942322028582848f48706cc3734a4fa006
+AUX libbulletml-0.0.6-gcc46.patch 400 SHA256 8dd0e9476cfd425328f117dddff597b6368eed83dada83373e91c2c18663f26c SHA512 5ad1ff38abaf23b8ff191cf2c5897029d8808303453a58e2749b6756f1e0829511c4376deda4d02047afe6e664245875176fe7d9ca505cdc31c7f9ac8f230e5a WHIRLPOOL 9544a94c124673d2f8c893b76ec07e82904b16a9f3b1be298242b11c0d76f282c9875810faae7cee077f04f7957503f0a1bb3dd5b69925d69777c21c956b09a0
+DIST libbulletml-0.0.6.tar.bz2 94529 SHA256 c7770f37c5a870ce2f2640c83378c0ee4da9d77bcdd286ce33d0de6c4d5f4524 SHA512 4428d8088eefd2a1336eb963e8c65188b67a82d875cdcb51bad9ca7aa3c864b3453464daf1e6691d52120332fe3a078b9827136d214d9ca87fdd0cb81bb60150 WHIRLPOOL 6c43a7c41ab3f6a36fba0474724923286eb41bf916cdccccb7081e367a44096b260fccb8729f81fd691140124ef78ef81e96e4782c39e9d566fd3830f9fd14bf
+EBUILD libbulletml-0.0.6.ebuild 824 SHA256 6e0c6a67a350a2f476a437bdc095e8fd0fcb9516ba99d03aef8a159a9cbab3f6 SHA512 9b10204e9dab81bca483934fe09a84ecd94ea72e2901b74f02a255a016a2180022df9003986b7cf36d4577bda6163fe2081141e0e31247baeb6be79c73849fca WHIRLPOOL a18825094c25d6b3bb70a0cbc2ac854705099ec90619d28e1edc4cdd2e5f7eb01f76c11236517fdbf8d0f9fef234c30f2f081bc0627991dbf157dbbfd442501c
+MISC ChangeLog 2517 SHA256 2aa66844622521f181c749672790d65db39416a4d2f536e253b022e21458861e SHA512 b11adaeeaf33a2c985ac1c3d7e8d5bb60a60583e5d59dfc7082584bff4483e44d3d8849be67f1d59688a0c62f247f9d003d6c24810fe6dfca5f28b73e3caaf01 WHIRLPOOL 238bddd65e8eb84615f63f00a20d0c7a1589e1b22e0d6b825ec3e7f9193d76635f742712092a7bc45bedea98405eddbfb271d9c0dab1d017e2cfe6514a8c594c
+MISC ChangeLog-2015 1700 SHA256 9f9d44222cd06d8163d28f90ce713d5a3120a18110d3f5e29a30c6785648de64 SHA512 6d9df84ba94d11812d59ad296f62b9a2e56e864407da04b114b3d04d79ce1dea07a8f89b73199cdecf8c8c179f817b816addc0bed46ddfc7273d4102326647d6 WHIRLPOOL 23a4e494a20ee86f471cafd578666bd6042aefc2215db2fa39510fea30db5f2ca813289a6a4f98921f43822b6a7efa13e56905f65e1424d265ae1ede3f65008a
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch
new file mode 100644
index 000000000000..f7e9bfbab9b1
--- /dev/null
+++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch
@@ -0,0 +1,31 @@
+--- src/calc.yy
++++ src/calc.yy
+@@ -8,6 +8,7 @@
+
+ #include <cmath>
+ #include <cctype>
++#include <cstring>
+
+ #include <vector>
+ #include <sstream>
+--- src/tinyxml/tinyxml.h
++++ src/tinyxml/tinyxml.h
+@@ -28,6 +28,8 @@
+ #include <string>
+ #include <stdio.h>
+ #include <assert.h>
++#include <cstring>
++#include <cstdlib>
+
+ class TiXmlDocument;
+ class TiXmlElement;
+--- src/tinyxml/tinyxmlparser.cpp
++++ src/tinyxml/tinyxmlparser.cpp
+@@ -24,6 +24,7 @@
+
+ #include "tinyxml.h"
+ #include <ctype.h>
++#include <cstring>
+
+ const char* TiXmlBase::SkipWhiteSpace( const char* p )
+ {
diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch
new file mode 100644
index 000000000000..47e0dc411ac9
--- /dev/null
+++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch
@@ -0,0 +1,20 @@
+--- calc.yy.old 2011-05-18 12:26:38.701666366 +0200
++++ calc.yy 2011-05-18 12:27:43.020672135 +0200
+@@ -17,7 +17,7 @@
+ #include "formula.h"
+ #include "formula-variables.h"
+
+-int yyerror(char* s);
++int yyerror(const char* s);
+ int yylex();
+
+ const char* yyinStr;
+@@ -149,7 +149,7 @@
+ return c;
+ }
+
+-int yyerror(char* s) {
++int yyerror(const char* s) {
+ printf("yyerror: %s\n", s);
+ return 0;
+ }
diff --git a/dev-libs/libbulletml/libbulletml-0.0.6.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild
new file mode 100644
index 000000000000..8a90adf32396
--- /dev/null
+++ b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A Library of Bullet Markup Language"
+HOMEPAGE="http://shinh.skr.jp/libbulletml/index_en.html"
+SRC_URI="http://shinh.skr.jp/libbulletml/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="dev-libs/boost"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${PN#lib}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-gcc46.patch
+ rm -r boost || die
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ dolib.a libbulletml.a
+
+ insinto /usr/include/bulletml
+ doins *.h
+
+ insinto /usr/include/bulletml/tinyxml
+ doins tinyxml/tinyxml.h
+
+ insinto /usr/include/bulletml/ygg
+ doins ygg/ygg.h
+
+ dodoc ../README*
+}
diff --git a/dev-libs/libbulletml/metadata.xml b/dev-libs/libbulletml/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/dev-libs/libbulletml/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>