summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-03-04 12:19:07 +0100
committerMichael Weber <xmw@gentoo.org>2017-03-04 12:24:08 +0100
commit2681b6c35df5cdee3f3cdc173bf1a45408225ae0 (patch)
tree4fc4110065d98332761828f3f3c66fc8d37fdea6 /dev-libs/locked_sstream
parentgames-fps/worldofpadman: Adjusted speex dependency. (diff)
downloadgentoo-2681b6c35df5cdee3f3cdc173bf1a45408225ae0.tar.gz
gentoo-2681b6c35df5cdee3f3cdc173bf1a45408225ae0.tar.bz2
gentoo-2681b6c35df5cdee3f3cdc173bf1a45408225ae0.zip
dev-libs/locked_sstream: Initial import (required by dev-libs/libcxml).
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-libs/locked_sstream')
-rw-r--r--dev-libs/locked_sstream/Manifest1
-rw-r--r--dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild27
-rw-r--r--dev-libs/locked_sstream/metadata.xml11
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/locked_sstream/Manifest b/dev-libs/locked_sstream/Manifest
new file mode 100644
index 000000000000..8983679b2536
--- /dev/null
+++ b/dev-libs/locked_sstream/Manifest
@@ -0,0 +1 @@
+DIST locked_sstream-0.0.5.tar.bz2 98277 SHA256 fb6ff1d1b7ce24bc80432d6a443a8d0843a5384f9a28d7373564739f0bca1aba SHA512 5d136c2e1ac5b1eabd07a8048715f47881662ce7a3bfdc2460428f34ab51b0474327b2f28ce6ba2f4ac9774478abb20082af8f954ebb1c4653ba24ca82991c32 WHIRLPOOL 3678f8f7715a80864cd9c49d9e3148047c8a112908b9951df02fbf326e8bf54fe2b95ba749b224cc8b2490b5ab4e9e0f9ad9ff1d62b377d31ca9069c26c3caed
diff --git a/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild
new file mode 100644
index 000000000000..15dee56fc200
--- /dev/null
+++ b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
+PYTHON_REQ_USE="threads(+)"
+inherit python-any-r1 waf-utils
+
+DESCRIPTION="tiny C++ library which wraps std::stringstream in a mutex"
+HOMEPAGE="http://carlh.net/locked_sstream"
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="dev-util/waf"
+
+src_prepare() {
+ rm -vf ./waf || die
+ WAF_BINARY=${EROOT}usr/bin/waf
+
+ default
+}
diff --git a/dev-libs/locked_sstream/metadata.xml b/dev-libs/locked_sstream/metadata.xml
new file mode 100644
index 000000000000..437dd2281c43
--- /dev/null
+++ b/dev-libs/locked_sstream/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<longdescription lang="en">
+locked_sstream is a tiny C++ library which wraps std::stringstream in a mutex to attempt to fix crashes on OS X when multiple threads simultaneously use different stringstreams. It remains to be seen whether it fixes the problem completely, but it certainly helps.
+</longdescription>
+</pkgmetadata>